[FFmpeg-devel] [PATCH] Reintroduce nb_frames in ffprobe

Stefano Sabatini stefano.sabatini-lala
Tue Apr 20 00:56:19 CEST 2010


On date Wednesday 2010-04-14 22:19:26 +0200, Robert Kr?ger encoded:
> 
> On 14.04.2010, at 11:01, Robert Kr?ger wrote:
> 
> > 
> > Reintroduce nb_frames in ffprobe as it used to work in the sourceforge version.
> > 
> > Regards,
> > 
> > Robert
> > 
> > <ffprobe-add-nb-frames.patch>
> > 
> 
> the same with the correct format.

I noticed that with most streams I tested this is set to 0, from
avformat.h:

int64_t nb_frames; ///< number of frames in this stream if known or 0

Maybe this also should print "N/A" in case of unknown number of
frames, thinking about that...

Regards.
-- 
FFmpeg = Friendly and Fostering Mega Practical Elected Game



More information about the ffmpeg-devel mailing list