jellyfin / jellyfin-ffmpeg

FFmpeg for Jellyfin
https://jellyfin.org
Other
477 stars 127 forks source link

avcodec/libopusenc: Allow 5.1(side) channel inputs #386

Closed gnattu closed 5 months ago

gnattu commented 5 months ago

Changes

Previously the 5.1(side) channel layouts will get rejected by libopus encoder because vorbis layout expects 5.1(back) channel layout. However, the side channels and back channels have same position in the layout mapping. Relax the layout checking to allow such side to back mappings.

Issues

Fixes #248

Prepare for jellyfin/jellyfin-web#5434