[FFmpeg-user] ffprobe only the first frame

Mark Himsley mark at mdsh.com
Sun Jun 10 20:04:00 CEST 2012


On 10/06/2012 18:10, Stefano Sabatini wrote:
> On date Sunday 2012-06-10 17:30:26 +0100, Mark Himsley encoded:
>> I'd like to probe a file to get interlaced_frame="1"
>> top_field_first="1" - which I believe is only available in
>> -show_frames.
>>
>> My file is 30 minutes log - I only want the data from the first frame.
>>
>> I can't see anything in -h to answer this question. The ffmpeg
>> -vframes, -frames:v and -t are not listed in ffprobe's help, and do
>> not work.
>
> ->  feature request

Thanks: Ticket #1437

> And of course you can get it with a crude trick, you trim the file
> *physically* in order to reduce the amount of data to be decoded.

True. I often probe files as a pipe: from an FTP server via an 
application - I will see how well FFprobe reacts to me pushing a few 
megabytes into its stdin and then closing that stream.

Thanks for the hints.

-- 
Mark


More information about the ffmpeg-user mailing list