Commit Graph

91 Commits

Author SHA1 Message Date
Eric Warmenhoven
b557bc9523
Fixing compiler warnings (#17001) 2024-09-14 13:11:20 -07:00
Aleksander Mazur
35082c9538
Add simple WAV recording driver (audio only) (#16900)
Records unprocessed sound to a RIFF/WAVE (.wav) file,
up to 4 GB, no deps, no threads.
2024-08-21 12:57:45 -07:00
Robert-André Mauchin
bff678c48a
Add compatibility with FFMPEG 7.0 (#16499)
channel_layout has been replaced with ch_layout

Fix: #16437
2024-05-09 11:31:17 -07:00
libretroadmin
daa9e352cc Remove asserts 2023-01-09 00:51:05 +01:00
libretroadmin
8a3686df58 Revert "Header cleanups - don't include retroarch.h everywhere"
This reverts commit 0e3b478f8c.
2023-01-08 09:05:46 +01:00
libretroadmin
0e3b478f8c Header cleanups - don't include retroarch.h everywhere 2023-01-08 08:56:57 +01:00
Autechre
4c3a4d66df
Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
Keith Bowes
bbfcecfab0
Fix building against FFmpeg 5.0 (#13611)
Co-authored-by: Maxime Gauduin <alucryd@archlinux.org>
2022-02-18 18:40:54 +01:00
twinaphex
0b768d0460 Split up recording code 2021-11-10 02:34:04 +01:00
Ömercan Kömür
6256b8ca2b first 2020-12-19 15:14:14 +03:00
twinaphex
0a1942f528 Turn fifo_read_avail and fifo_write_avail into macros 2020-07-07 08:13:32 +02:00
twinaphex
968922e151 Fix static code analysis warnings 2020-06-29 21:24:32 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
2a36fa0855 Remove double ';' 2020-05-19 21:29:35 +02:00
twinaphex
950f6bb752 (record_ffmpeg) No more settings_t dependency 2020-02-13 21:48:52 +01:00
twinaphex
9c37356267 (record_ffmpeg.c) Start reducing settings_t usage 2020-02-13 21:41:29 +01:00
twinaphex
835acec8f3 (record_ffmpeg.c) Cleanups 2020-02-13 21:39:24 +01:00
twinaphex
3efa83a646 Get rid of record null file 2020-01-06 15:59:03 +01:00
twinaphex
923c19356b (ffmpeg) - Fix CXX_BUILD errors - see
https://github.com/ZoneMinder/zoneminder/blob/master/src/zm_ffmpeg.h
(comment on av_err2str)
2019-12-19 20:43:59 +01:00
Nils Hasenbanck
4e4802e5c6 Implement ffmpeg send/receive encoding API
This is implementing the send/receive encoding API of ffmpeg in the
ffmpeg record backend.

Newer encoder do need the client to use this API to use them (for
example h264_amf and hvec_amf). "Old" encoders should work fine
(Tested x264 and webm profiles).

The biggest change is the handling of the encoded packets, since
the API can return multiple packets in it's queue. As a positive
side-effect the code for flushing is much more easier.
2019-11-24 17:41:22 +01:00
twinaphex
0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex
f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
radius
f164b4be3d add apng 2019-05-28 16:29:29 +02:00
radius
0f07206357 fix gif preset 2019-05-27 01:41:14 +02:00
radius
1228c95412 add commented out streaming preset 2019-05-26 22:39:46 +02:00
radius
86960cf9dd preset refinement 2019-05-26 22:39:46 +02:00
twinaphex
bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex
3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
Andrés
9739b181bf
Update record_ffmpeg.c
small fix in recording presets
2019-04-02 08:47:35 -05:00
radius
eebe3ec0ec fix streaming 2019-03-05 14:34:03 -05:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
radius
665be01b6b [record] add recording threads setting 2018-11-25 15:51:52 -05:00
radius
f9c12866bf [record] add more recording options 2018-11-25 15:20:11 -05:00
radius
8c9e6a7c4e fix these two 2018-10-13 16:31:58 -05:00
radius
70dcdc7cf0 [record] fixes 2018-09-26 20:04:08 -05:00
radius
2c59716e77 [record] refinements 2018-09-26 18:46:00 -05:00
radius
ef3677633c [record] fix logging 2018-09-26 18:00:39 -05:00
radius
6f0a79acf9 [record] hide these on non suitable platforms 2018-09-26 16:49:48 -05:00
radius
58b7621559 [record] add settings for video scale factor 2018-09-23 19:53:13 -05:00
radius
554ad5a494 [record] hookup quality 2018-09-23 19:42:43 -05:00
radius
c427847944 [record] define quality profiles 2018-09-23 18:43:26 -05:00
twinaphex
dbfcd02b82 Start adding a way to set a hardbaked config 2018-09-18 11:27:18 +02:00
twinaphex
b4dc1fbb5b Rename ffemu_audio_data/ffemu_video_data 2018-09-18 10:22:34 +02:00
radius
5a1bfe2cfd [record] release file handles 2018-09-18 00:43:19 -05:00
radius
f3db15b282 [record] further cleanups of the workflow 2018-09-18 00:34:25 -05:00
twinaphex
32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd8239.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00