aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ffmpeg-codecs.texi
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2021-07-28 12:53:42 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2021-08-01 09:51:07 +0530
commitc50f5460d2f059e5be393eac90e4eac55a6034c6 (patch)
treea613cd9aeba6d347cc677ce4982a3eb1c69e834d /doc/ffmpeg-codecs.texi
parent7b4bdcd68e1e0abfab21a8be81789531d649c1ff (diff)
downloadffmpeg-c50f5460d2f059e5be393eac90e4eac55a6034c6.tar.gz
ffmpeg_opt: restore documented stream selection behaviour
11d3b03fcb added consideration of default stream disposition for audio and video when choosing the 'best' stream among all the inputs. This can lead to video streams with lower resolution or audio streams with fewer channels being selected. Stream disposition, however, only sets a priority for a stream among all other streams in the *same input*. It cannot set a priority for a stream across all inputs. This patch sets a middle-way and selects the best stream from each file with default disposition considered. Then it discards disposition weight and selects best stream as per the original criteria of highest resolution for video and most channels for audio.
Diffstat (limited to 'doc/ffmpeg-codecs.texi')
0 files changed, 0 insertions, 0 deletions