[Libav-user] reading video with multiple video streams

Andrey Utkin andrey.krieger.utkin at gmail.com
Sun Oct 21 17:31:27 CEST 2012


2012/10/21 Svetlana Olonetsky <svetlana.olonetsky at gmail.com>:
> Sorry, I do not understand.
>
> How can I see that
>
> Stream #0:0: Video: mjpeg, yuvj420p, 640x480, 90k tbr, 90k tbn, 90k tbc is
> BAD
>
> and
>
> Stream #0:2(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 640x480,
> 5500 kb/s, 29.97 tbr, 1k tbn, 1k tbc is GOOD ?

Sorry, i did not notice #0:0 line.
Both video streams you have seem good - codec type and information are
recognized well.
Which substream to choose is denendant decision. You should know
something about file you get, and choose by some logic. Or you can
choose one with highest resolution, or just first in the list.

-- 
Andrey Utkin


More information about the Libav-user mailing list