[FFmpeg-user] ffmpeg stream information

Víctor Paesa victorpaesa at googlemail.com
Sun Oct 2 10:15:29 CEST 2011


Hi,

On Sat, Oct 1, 2011 at 02:38, Sanjay Khattar wrote:
> ffmpeg -i <filename> gives media information as follows:
>    Stream #0.0[0x1e1]: Video: mpeg2video (Main), yuv420p, 352x480 [PAR 20:11 DAR 4:3], 3180 kb/s,
> 30 fps, 30 tbr, 90k tbn, 60 tbc
>    Stream #0.1[0x1e2]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
>
> Can I rely on video bit rate and audio bit rate to always be in kb/s?

Yes: in the improbable case the developers change it, you can modify the source
to suit your needs.
Anyway, I would recommend ffprobe if you want to get media information.

Regards,
Víctor


More information about the ffmpeg-user mailing list