[FFmpeg-user] ffprobe only the first frame

Nicolas George nicolas.george at normalesup.org
Sun Jun 10 21:00:55 CEST 2012


Le tridi 23 prairial, an CCXX, Mark Himsley a écrit :
> 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.

Just stop reading and close your pipe from ffprobe when you have the info
you need; ffprobe will die of a SIGPIPE as it should.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120610/f6c9682f/attachment.asc>


More information about the ffmpeg-user mailing list