twinaphex
24e1699fed
Create record/drivers and move record/ffmpeg.c to it
2015-01-12 21:57:07 +01:00
twinaphex
2eee9d294e
Rename ffemu.c to record_driver.c
2015-01-12 21:55:41 +01:00
twinaphex
2dadadab56
ffemu.c - Document
2015-01-12 03:50:54 +01:00
twinaphex
751f2b7403
(SDK) Move fifo_buffer.c to libretro SDK
2015-01-11 05:43:10 +01:00
twinaphex
453321c50b
Start updating headers
2015-01-07 17:46:50 +01:00
twinaphex
58f09ce79e
Move scaler code over to libretro SDK
2014-10-23 04:34:35 +02:00
twinaphex
ccf43f6e85
Take out dynamic.h header include from general.h
2014-10-22 04:27:51 +02:00
twinaphex
2997af48fa
Move config-file code to SDK
2014-10-22 03:35:04 +02:00
twinaphex
7472922ee0
Move compat/ over to libretro SDK
2014-10-21 07:58:58 +02:00
twinaphex
480cd7c7ba
Move msvc_compat.h to compat/ dir
2014-10-21 06:06:12 +02:00
twinaphex
c62d52de0f
Start properly implementing libretro SDK for boolean.h include
...
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex
ca79265e4b
Rename thread wrapper as rthreads - make it part of the libretro SDK
2014-10-21 03:25:59 +02:00
twinaphex
598421e7d7
Move resampler drivers to audio/resamplers
2014-09-09 21:54:41 +02:00
twinaphex
fe510bca6f
Indenting/C-style comments
2014-09-08 17:57:18 +02:00
Lioncash
ab1ab62a6d
Fix some printf specifiers to the correct signed-ness
2014-09-05 19:43:32 -04:00
twinaphex
1d043121e2
Code reformatting (80-char limit); C-style comments
2014-08-20 17:18:43 +02:00
Themaister
804626e20d
Create abstract interface for FFemu.
2014-05-04 11:48:20 +02:00
Themaister
b7e1628963
Don't opaqueify things which obviously are not opaque.
2014-05-04 11:24:20 +02:00
twinaphex
77401692cb
(Record) ffemu_new now returns void *
2014-05-03 07:00:46 +02:00
twinaphex
1dfec21dde
(record/ffemu) Turn opaque pointers into void *
2014-05-03 05:47:38 +02:00
Themaister
7898f05353
Add audio_enable option to FFemu.
2014-04-27 10:56:07 +02:00
Themaister
690ec2a1c4
Add video_global_quality option to FFemu.
2014-04-26 00:31:21 +02:00
Themaister
227a16f63c
Check presence of avutil/channel_layout.h.
...
Apparently needed after all.
2014-04-01 00:09:18 +02:00
Themaister
76234ed3de
Don't have to include channel layout header.
2014-03-15 19:58:58 +01:00
Themaister
913f5b4561
Check for old libavutil version.
2014-03-02 13:18:57 +01:00
Themaister
0efbe496a3
Drop use of deprecated FFmpeg APIs.
2014-03-02 13:05:49 +01:00
Themaister
d98af82baf
Honor ident param.
2014-02-25 09:56:39 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Themaister
7aa8b40759
Fixup C89 for loops.
2013-10-22 21:37:56 +02:00
Themaister
b470454923
Include avutil/channel_layout.h correctly.
2013-03-15 14:47:45 +01:00
Themaister
76bf41188a
Add video_threaded option to Android.
2013-02-17 00:26:17 +01:00
Themaister
11d919b9e8
Fix downsampling for SINC.
2013-02-13 21:55:58 +01:00
Themaister
d33d2e9f0c
Make resamplers more modular.
2013-02-08 11:49:51 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
Themaister
01e14d31c1
Realloc correct amount.
2012-12-09 10:14:34 +01:00
Themaister
47fca83bb1
Planarize audio.
2012-12-09 00:20:04 +01:00
Themaister
ff1557d6e8
Use FLTP/S16P directly. FFmpeg was bugged.
2012-12-08 22:55:32 +01:00
Themaister
ee82a8daf5
Const-correctness fix.
2012-11-28 16:24:47 +01:00
Themaister
6bae9a44d8
Fix CXX_BUILD.
2012-11-28 16:21:36 +01:00
Themaister
b951f4ab0c
Automatically resample if needed.
2012-11-28 16:00:49 +01:00
Themaister
64d3d2185c
Handle floating point/fixed formats seamlessly.
2012-11-28 15:39:19 +01:00
Themaister
09a89dcd2b
Correctly use global headers if requested.
2012-11-27 23:56:06 +01:00
Themaister
cc46e0ba53
Fix recording without config.
2012-11-26 22:16:29 +01:00
Themaister
26025371d6
Add frame dropping possibilities to recorder.
2012-11-26 18:01:50 +01:00
Themaister
cf1a0381c7
Add support for audio quality configuration.
2012-11-26 17:37:31 +01:00
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
Themaister
a7c3d8d17a
Some slight recording tweaks.
2011-10-14 11:27:02 +02:00
Themaister
1058d94ec1
x264 RGB recording.
2011-10-09 12:27:02 +02:00
Themaister
ef04f199d5
Slight cleanups.
2011-10-07 01:21:54 +02:00
Themaister
d26dd9d9e7
Slight cleanups.
2011-10-07 00:54:47 +02:00
Themaister
d2bc4096de
Some fixes to FFmpeg. Conserves RAM better.
2011-10-07 00:04:52 +02:00
Themaister
869eddfc1a
Custom FFmpeg recording sizes.
2011-10-06 23:43:48 +02:00
Themaister
1ee9722e5f
Start working on custom thread implementation.
...
Avoids SDL dependency for this to improve portability.
2011-10-06 20:31:39 +02:00
Themaister
8d4620b680
FFmpeg API seems to be too fragmented. Give in and #ifdef shit. :v
2011-09-23 22:57:41 +02:00
Themaister
231680944f
Remove #ifdef for FFmpeg.
2011-09-04 11:37:59 +02:00
Themaister
ff7843cbe9
Update API usage of FFmpeg. Use 2 threads for encoding :)
2011-08-19 02:06:13 +02:00
Themaister
9e24474047
Can record hi-res and filtered output.
2011-08-11 05:25:31 +02:00
Themaister
3b0606bbd6
Ifdef for AVIO.
2011-06-15 12:20:51 +02:00
Themaister
d3e0140f01
Holy crap, now that was painful.
2011-06-15 04:16:53 +02:00
Themaister
ea7dded915
Fix up alignment issues.
2011-06-15 03:04:20 +02:00
Themaister
95f6a5116a
Just to be sure ... ;)
2011-06-14 22:59:47 +02:00
Themaister
da94877155
Less magic numbers ... ;)
2011-06-14 22:44:54 +02:00
Themaister
b1feed9d2b
Allocate from heap.
2011-06-14 22:20:09 +02:00
Themaister
612270ec9b
Aww yeah :3
2011-06-14 21:52:31 +02:00
Themaister
54bc0a8d96
Heyhey :D
2011-06-14 21:35:31 +02:00
Themaister
c34a944fcf
Fix deprecation, yay. :)
2011-06-14 18:52:02 +02:00
Themaister
3feade6b6e
Update FFemu a bit. Convert to lossless HuffYUV/FLAC.
2011-06-14 18:45:30 +02:00
Themaister
0e82a1a3ec
Adding some comments.
2011-01-04 23:55:41 +01:00
Themaister
a9938a408d
A/V sync works pretty well now.
2011-01-04 22:35:49 +01:00
Themaister
a6b2fafeba
Add option for rescaler
2011-01-04 21:21:15 +01:00
Themaister
1bb4d894b9
Fix aspect ratio.
2011-01-04 16:57:55 +01:00
Themaister
9bbd42166c
some muxing going on! :D
2011-01-04 15:44:05 +01:00
Themaister
4e77573683
more progress, but still borked
2011-01-03 20:46:50 +01:00
Themaister
fe68295a3d
Adding initial ffemu
2011-01-03 17:51:17 +01:00