78 Commits

Author SHA1 Message Date
Themaister
b023687d04 Overhaul recorder.
Drop support for old libav versions.
It is no longer maintainable within reason.
Support floating point and resampling, which is needed
for most lossy codecs.
2012-11-25 12:02:52 +01:00
Themaister
4becd4e315 Make sure avcodec_alloc_frame() returns valid. 2012-11-24 01:03:10 +01:00
Themaister
049b20f773 Free the AVFrame using the correct call. 2012-11-24 00:44:20 +01:00
Themaister
187d988201 Make sure audio frame is freed. 2012-11-24 00:38:51 +01:00
Themaister
f21fefff1f Call avformat_network_init. 2012-11-23 23:44:15 +01:00
Themaister
8f9b68ad90 Add config file support to FFmpeg recording. 2012-11-23 22:46:36 +01:00
Themaister
1d9784608a Minor clarity fix. 2012-11-21 23:42:14 +01:00
Themaister
93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
Themaister
4ff087cc36 Fix CXX_BUILD. 2012-09-09 23:37:12 +02:00
Themaister
ebd5bc85d5 Optimize -> bgr24 conversion paths. 2012-09-02 23:49:30 +02:00
Themaister
86b444cb97 Use bilinear for downscales, point for upscales. 2012-09-02 15:30:15 +02:00
Themaister
064e8ff81b Replace swscale.
Swscale fails to preserve RGB colors correctly
when any kind of scaling is applied, even point filtering.
2012-09-02 15:12:00 +02:00
Hans-Kristian Arntzen
0f3c3ff06c Fix small derp. 2012-08-27 15:56:42 +03:00
Hans-Kristian Arntzen
3278beb132 Add #ifdef for AVFMT_TS_NONSTRICT.
Fixes build on recent Debian.
2012-08-27 15:54:53 +03:00
Themaister
304615510a Start adding GPU recording to FFmpeg. 2012-08-25 22:38:49 +02:00
Themaister
70fd5350dc Always build in h264 support. 2012-08-16 09:25:13 +02:00
Twinaphex
2fd12edfb6 Libsnes exorcism 2012-07-07 17:08:55 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
a569625ce9 Do not crash if ffmpeg format cannot be found. 2012-03-23 23:48:17 +01:00
Themaister
a3351e17f1 Fix hang with FFV1. 2012-03-08 00:45:03 +01:00
Themaister
c1544e88aa Cleanups, and fixes h264 with recent FFmpegs. 2012-03-08 00:33:22 +01:00
Themaister
ae5900aaa1 Add video_h264_record option. 2012-03-02 22:19:49 +01:00
Themaister
f2264ebb3e Do not use av_samples_get_buffer_size as it breaks older FFmpeg. 2012-01-31 18:06:20 +01:00
Themaister
bd15206599 Fixup C++ build. 2012-01-29 19:12:29 +01:00
Themaister
e5d3894bc4 Check for AV_NOPTS_VALUE. 2012-01-29 19:10:58 +01:00
Themaister
0bc0ae40a5 Fix audio_encode2. 2012-01-29 19:08:22 +01:00
Themaister
3c15bb06db Attempt to completely flush audio stream as well. 2012-01-29 18:59:56 +01:00
Themaister
9ce3331f04 Use av_samples_get_buffer_size. 2012-01-29 18:13:20 +01:00
Themaister
9508cc4eb3 Start fixing deprecation. Not used as it's broken atm. 2012-01-29 18:01:10 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister
0a887395eb Remove useless global. 2011-12-25 16:11:48 +01:00
Themaister
9118976c49 Don't include general.h 2011-12-25 12:56:21 +01:00
Themaister
672102d377 Change asserts to ssnes_assert(). 2011-12-25 12:47:47 +01:00
Themaister
c8dee57278 Set constant macros with define. 2011-12-25 01:45:09 +01:00
Themaister
ceee10b56c Fix types. 2011-12-24 15:57:43 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister
604eb9b973 Can dupe extension. 2011-11-22 17:27:02 +01:00
Themaister
379b14a0f3 Flush more sanely. 2011-11-20 03:19:17 +01:00
Themaister
aa124b4c40 Should fix occasional horrible noise on end of recordings. 2011-11-20 02:44:21 +01:00
Themaister
3e7c412738 Custom timing support for FFmpeg recording. 2011-11-16 18:56:42 +01:00
Themaister
4f841c208d Use --qp 0 rather than --crf 0 for lossless. 2011-11-07 23:16:32 +01:00
Themaister
825c1de7d1 Nits. 2011-11-05 15:24:29 +01:00
Themaister
53abc92322 Add some metadata. Should be a workaround. 2011-11-05 12:25:09 +01:00
Themaister
47e63f1c6b Style nit. 2011-11-05 11:37:04 +01:00
Themaister
e7082fd6ea Warning nit. 2011-11-02 20:33:37 +01:00
Themaister
1fc99c7123 Fix deprecation warning. 2011-10-22 22:54:36 +02:00