obs-studio/plugins/obs-ffmpeg
pkviet 520a91323b obs-ffmpeg: Fix ffmpeg output recording in x264
Fixes ticket 1070.
See also
https://obsproject.com/forum/threads/ffmpeg-recording.77378/#post-330473
(related bugs).
The ffmpeg constant AVFMT_RAWPICTURE was deprecated in october 2015
and marked for removal at avformat major bump to version 58
(ffmpeg commit 34ed5c2 , oct 12, 2015).
The bump occured with commit 69b5ce6 (oct21, 2017).
The constant was subsequently removed (commit 693a11b, oct 26 2017).
It was removed from obs-studio with commit d670d7b (from me).
But the code block which was executed with this constant was not
removed, causing issues with ffmpeg output.
The commit fixes the issue for old ffmpeg builds as well as new ones.
The constant is reintegrated for avformat major version < 58 and removed
for version >= 58 (along with its accompanying code).
Thanks to J Lowe for help in solving the bug.
(tested on win 10, macos 10.13, ubuntu 17.10 with ffmpeg head & ffmpeg
3.4.1)
2017-12-21 23:28:35 +01:00
..
data/locale Update translations from Crowdin 2017-10-17 05:39:22 -07:00
ffmpeg-mux libobs: Add surround sound audio support 2017-11-26 03:41:53 -08:00
closest-pixel-format.h obs-ffmpeg: Add support for YUV 4:4:4 2015-04-18 00:03:14 -07:00
CMakeLists.txt obs-ffmpeg: Rename obs-ffmpeg-aac.c file 2017-07-31 14:29:50 -07:00
obs-ffmpeg-audio-encoders.c Fix a number of GCC warnings 2017-12-06 16:42:45 -08:00
obs-ffmpeg-compat.h libobs: Fix FFmpeg constants 2017-11-16 21:38:37 -08:00
obs-ffmpeg-formats.h libobs: Add Y800 color format support 2016-03-24 03:33:35 -07:00
obs-ffmpeg-mux.c obs-ffmpeg: Improved output error handling 2017-08-07 00:32:49 +02:00
obs-ffmpeg-nvenc.c obs-ffmpeg: Use correct function with older FFmpeg vers. 2017-12-06 10:10:03 -08:00
obs-ffmpeg-output.c obs-ffmpeg: Fix ffmpeg output recording in x264 2017-12-21 23:28:35 +01:00
obs-ffmpeg-source.c Fix a number of GCC warnings 2017-12-06 16:42:45 -08:00
obs-ffmpeg.c obs-ffmpeg: Improve NVENC detection 2017-12-02 08:08:52 -08:00