[FFmpeg-user] difficulty getting any filters to work in Jun 1 development snapshot

Norman Ramsey nr at cs.tufts.edu
Thu Jun 2 02:42:55 CEST 2011


I'm trying to use ffmpeg's blackframe filter to find black frames.
I've pulled and compiled the development snapshot, but the -vf option
seems to have no effect.  I've tried '-vf blackframe', '-vf showinfo',
and even '-vf drooble' (which I hoped would lead to an error message).
Nothing unusual happens.  I'm using options -loglevel info and -v 10.
My full command line is

  ffmpeg -i auto-ind-dal at 16.18.ts -loglevel verbose -v 10 \   
     -vf 'blackframe=90:64' -acodec copy -vcodec copy -f mpegts /dev/null

As you can see, I've tweaked various parameters to try to get output.

By comparison, avidemux finds black frames in the same input file, so
I know they are there.

I hope I'm just doing something stupid.  Any and all advice welcome.
In particular, can someone confirm that this is an appropriate command
line to get the location of black frames, or suggest a better command
line? 


Norman Ramsey



P.S. Here is the version I am using:

  ffmpeg version git-N-30446-g06a9da7, Copyright (c) 2000-2011 the
  FFmpeg developers
    built on Jun  1 2011 18:07:44 with gcc 4.4.5
    configuration: --prefix=/usr/local/ffmpeg --enable-gpl
    --enable-nonfree --enable-libmp3lame --enable-libx264
    libavutil    51.  3. 0 / 51.  3. 0
    libavcodec   53.  6. 1 / 53.  6. 1
    libavformat  53.  2. 0 / 53.  2. 0
    libavdevice  53.  1. 0 / 53.  1. 0
    libavfilter   2. 11. 0 /  2. 11. 0
    libswscale    0. 14. 0 /  0. 14. 0
    libpostproc  51.  2. 0 / 51.  2. 0

And here are the last couple of commit messages:

  commit 06a9da736554197601e4062298fcf45a5e8d49ff
  Author: Reimar D
  fffffffinger <Reimar.Doeffinger at gmx.de>
  Date:   Wed Jun 1 20:29:27 2011 +0200

      Simplify code and avoid compiler warning about incompatible types.

  commit bf19c871012644fe27c69531b5f733c472aa858b
  Author: Reimar Dfffffffinger <Reimar.Doeffinger at gmx.de>
  Date:   Wed Jun 1 20:26:54 2011 +0200

      Fix type of out[] variable, it should not be const.
      
      Fixes compiler warning about incompatible types in sws_scale call.




More information about the ffmpeg-user mailing list