obs-studio/plugins/obs-ffmpeg
pkviet 645d6ae8dd libobs/media-io: Change speaker layout to match FFmpeg aac.
(This commit also modifies the obs-ffmpeg module)

The default channel layouts from aac spec are implemented in FFmpeg
native aac encoder as follows:

    AV_CH_LAYOUT_MONO,
    AV_CH_LAYOUT_STEREO,
    AV_CH_LAYOUT_SURROUND,
    AV_CH_LAYOUT_4POINT0,
    AV_CH_LAYOUT_5POINT0_BACK,
    AV_CH_LAYOUT_5POINT1_BACK,
    AV_CH_LAYOUT_7POINT1,

The correspondence of speaker layouts to AV_CH_LAYOUT from FFmpeg is
changed to reflect the previous table.

Although FFmpeg native aac encoder can now encode all the layouts listed
in avutil channel_layout.h (on master), there might be issues with older
FFmpeg binaries.

Note that 2.1 speaker layout will be encoded as AV_CH_LAYOUT_SURROUND
(FL FR FC) because it is not listed as the default layout for three
channels.

This just means some optimizations for LFE channel will not be used by
the encoder which will treat it as an SCE (single channel element).

Closes jp9000/obs-studio#1182
2018-02-06 06:14:24 -08:00
..
data/locale Update translations from Crowdin 2018-01-22 04:55:52 +01: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
dynlink_cuda.h obs-ffmpeg: Improve NVENC detection 2018-01-18 01:35:45 -08:00
nvEncodeAPI.h obs-ffmpeg: Improve NVENC detection 2018-01-18 01:35:45 -08:00
obs-ffmpeg-audio-encoders.c libobs/media-io: Change speaker layout to match FFmpeg aac. 2018-02-06 06:14:24 -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: Do not return last replay path if currently muxing 2018-01-18 08:54:43 -08: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 Merge pull request #1120 from pkviet/ffmpeg 2018-01-05 16:47:07 -08:00
obs-ffmpeg-source.c Fix a number of GCC warnings 2017-12-06 16:42:45 -08:00
obs-ffmpeg.c obs-ffmpeg: Remove NVENC detection code for now 2018-01-20 05:31:58 -08:00