[FFmpeg-devel] [PATCH] lavf: let av_find_best_stream use bitrate info if available
Michael Niedermayer
michaelni at gmx.at
Sat Nov 17 03:09:10 CET 2012
On Sat, Nov 17, 2012 at 12:39:26AM +0100, Marton Balint wrote:
> I guess the user expects to see the stream with the highest bitrate, not with
> the most frames, this is especially useful for multi bitrate streams.
>
> This patch changes av_find_best_stream to select the stream with the highest
> bitrate which has at least one frame.
this will fail with streams that have no frame (but a incorrect high
bitrate possibly) or just one frame like an jpeg/png
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121117/bd127b3d/attachment.asc>
More information about the ffmpeg-devel
mailing list