[FFmpeg-user] Referenced frames

Brendan Brewster brendan.brewster at gmail.com
Sat Mar 31 02:12:36 CEST 2012


On Wed, Mar 28, 2012 at 12:41 PM, Oussama Stiti <oussama.stiti at gmail.com>wrote:

> Hello,
>
> I want to detect in a h264 video, which frames are related ( referenced) to
> which frames.
> For example : Frame 62 : I Frame.
>                     Frame 63 : P Frame [referenced to frame 62]
>                     Frame 64 : B Frame [referenced to frame 63 & 65]
> Is it possible to display such result ?
> What kind of command line, should i run ?
> Thank you
>
> Regards
>
> --
> *Oussama Stiti*
>
> Élève ingénieur en télécommunications à Sup'com (École supérieure des
> communications de Tunis)
>
> Tél: +21652363164
> E-mail: oussama.stiti at gmail.com
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

Hi there,

I think your only option is take a look at the select filter.

http://ffmpeg.org/libavfilter.html#showinfo

If you just want the showinfo output, an example invocation could be:

ffmpeg -i *infile* -filter:v showinfo -f h264 - -an > /dev/null

Hope this helps even a little.

-Brendan


More information about the ffmpeg-user mailing list