[FFmpeg-devel] [PATCH] ffprobe integration

Artur Bodera abodera
Fri Jan 8 13:31:52 CET 2010

On Fri, Jan 8, 2010 at 12:54 AM, Stefano Sabatini
<stefano.sabatini-lala at poste.it> wrote:
> I'm aware of dump_format(), its non-easily parsable format is one of
> the reasons of existence of ffprobe.

Just a quick user-based suggestion. Because of different applications
of ffdump, please leave an option to choose the time format or report
multiple time formats at once, for example:

--timeformat timestamp (default?)
   Length: 00:23:15.22914

--timeformat sec
   Length: 1395.22914

--timeformat frames
   Length: 34881

--timeformat secframes
   Length: 00:23:15.15

Or all at once:
  Length: 00:23:15.22914 (00:23:15.15, 34881 frames)

A short switch(){} and sprintf() in the code, an invaluable functionality.



     /.)\   +48 695 600 936
     \(./   abodera at gmail.com

More information about the ffmpeg-devel mailing list