[FFmpeg-devel] Discarded B frames before first keyframe (MPEG)
Mon Nov 12 12:02:25 CET 2007
Taylan O. Toygarlar a ?crit :
> Hi Everyone,
> I am trying to get the exact frame numbers in my program for MPEG files.
> But some MPEG files have B frames before the first keyframe, which
> cannot be decoded and thus completely discarded.
> I want to know how many such frames exist in the file, how can I achieve
> this programmatically?
There is no other way than to count them.
> Any help is highly appreciated,
> Thanks in advance.
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel