[FFmpeg-trac] #2493(FFprobe:new): support filter options within ffprobe

FFmpeg trac at avcodec.org
Mon Apr 22 16:03:30 CEST 2013


#2493: support filter options within ffprobe
-------------------------------------+-------------------------------------
               Reporter:  dericed    |                  Owner:
                   Type:             |                 Status:  new
  enhancement                        |              Component:  FFprobe
               Priority:  normal     |               Keywords:  ffrprobe,
                Version:  git-       |  filters, metadata
  master                             |               Blocking:
             Blocked By:             |  Analyzed by developer:  0
Reproduced by developer:  0          |
-------------------------------------+-------------------------------------
 Summary of the bug:

 This ticket is inspired by comments by Nicolas George at this post:
 http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2013-March/141071.html.

 I'd like to make use of metadata from filters within ffprobe without
 having to use amovie|movie to provide the input.

 For instance:
 {{{
 ffprobe 2>/dev/null -i 038Robin.wav -af ebur128=metadata=1 -show_frames
 -show_format
 }}}
 provides
 {{{
 ffprobe -i 038Robin.wav -af ebur128=metadata=1 -show_frames -show_format
 ffprobe version 1.1.git Copyright (c) 2007-2013 the FFmpeg developers
   built on Apr 13 2013 10:04:18 with Apple clang version 3.1
 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
 --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-
 cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-
 libmp3lame --enable-libxvid --enable-libfreetype --enable-ffplay --enable-
 libcaca
   libavutil      52. 26.100 / 52. 26.100
   libavcodec     55.  2.100 / 55.  2.100
   libavformat    55.  2.100 / 55.  2.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 53.101 /  3. 53.101
   libavresample   1.  1.  0 /  1.  1.  0
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Failed to set value 'ebur128=metadata=1' for option 'af': Option not found
 }}}

 The workaround seems to be to use lavfi as the input:
 {{{
 ffprobe 2>/dev/null -f lavfi amovie=038Robin.wav,ebur128=metadata=1
 -show_frames -show_format
 }}}

 However although the latter commands provides the frame metadata that I
 want, the data provided by -show_format refers to lavfi and not the
 original file input.

 Is it feasible to support -vf and -af in ffprobe to allow something like:
 {{{
 ffprobe -i 038Robin.wav -af ebur128=metadata=1 -show_frames -show_format
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2493>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list