[Libav-user] reading video with multiple video streams

Michael Bradshaw mbradshaw at sorensonmedia.com
Mon Oct 22 20:20:16 CEST 2012

On Mon, Oct 22, 2012 at 2:01 AM, Svetlana Olonetsky
<svetlana.olonetsky at gmail.com> wrote:
> Thank you !
> In our example we decided to go with codec_info_nb_frames != 1 in case 2
> video streams exist.

I just found the function av_find_best_stream() which can find the
"best" audio/video stream, which may be useful and/or more reliable.

More information about the Libav-user mailing list