0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
obs-studio/plugins/obs-ffmpeg
jp9000 d3f92ca5d6 obs-ffmpeg: Make FFmpeg a usable output
This makes FFmpeg usable as an output, and removes or changes most of
the code that was originally intended for testing purposes.

Changes the settings for the FFmpeg output to the following:
* url:             Sets the output URL or file path
* video_bitrate:   Sets the video bitrate
* audio_bitrate:   Sets the audio bitrate
* video_encoder:   Sets the video encoder (by name, blank for default)
* audio_encoder:   Sets the audio encoder (by name, blank for default)
* video_settings:  Sets custom video encoder FFmpeg settings
* audio_settings:  Sets custom audio encoder FFmpeg settings
* scale_width:     Image scale width (0 if none)
* scale_height:    Image scale height (0 if none)

The reason why scale_width and scale_height are provided is because it
may internally convert formats, and it may be a bit more optimal to use
that scaler instead of the pre-output scaler just in case it already has
to convert formats internally anyway (though you can do it either way
you wish).

Video format handling has also changed; it will now attempt to use the
closest format to the current format if available for a given video
codec.
2015-02-04 16:51:54 -08:00
..
data/locale Add latest translations from CrowdIn 2014-10-31 21:02:47 -04:00
closest-pixel-format.h obs-ffmpeg: Make FFmpeg a usable output 2015-02-04 16:51:54 -08:00
CMakeLists.txt obs-ffmpeg: Make FFmpeg a usable output 2015-02-04 16:51:54 -08:00
obs-ffmpeg-aac.c obs-ffmpeg: If ffaac is used, change cutoff freq 2014-11-17 06:47:48 -08:00
obs-ffmpeg-compat.h Add compatiblity for some older ffmpeg versions 2014-04-05 16:12:32 +02:00
obs-ffmpeg-formats.h Add FFmpeg's AAC enoder 2014-04-05 01:13:11 -07:00
obs-ffmpeg-output.c obs-ffmpeg: Make FFmpeg a usable output 2015-02-04 16:51:54 -08:00
obs-ffmpeg.c Remove macro to free locale 2014-07-27 17:29:10 -07:00