[FFmpeg-devel] [WIP] New Filter (dejudder)

Nicholas Robbins nickrobbins at yahoo.com
Fri Jan 24 03:21:57 CET 2014


> On Thursday, January 23, 2014 2:48 PM, Nicholas Robbins <nickrobbins at yahoo.com> wrote:

> >>  On Thursday, January 23, 2014 12:50 PM, Stefano Sabatini 
> <stefasab at gmail.com> wrote:
> 
>>  This is the right place where to post patches and ask questions if you
>>  have FFmpeg-related development questions. If you have problems with
>>  your code use the [WIP] tag when posting the patch and clarify what
>>  your issues are
> 
> Here it is. It compiles, and when I run ./configure it includes 
> "dejudder" on the enabled filters, but then ffmpeg -filters 
> doesn't show it.

Ok, I've fixed that problem I think it was still using the libraries from my system's ffmpeg. Anyway, it compiles fine but I get this: (Excuse the too-verbose options, blame my distro's package manager)


$ ffmpeg -v debug -y -i out.mkv -vf dejudder -f matroska /dev/null
ffmpeg version N-60119-g7853024 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 23 2014 21:02:25 with gcc 4.7.3 (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-outdev=sdl --enable-bzlib --enable-runtime-cpudetect --enable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --disable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --disable-libvo-aacenc --disable-libvo-amrwbenc
 --enable-libmp3lame --disable-libaacplus --enable-libfaac --disable-libtheora --disable-libtwolame --disable-libwavpack --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --disable-libv4l2 --disable-libpulse --disable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-ladspa --disable-libass --disable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --disable-libvorbis --disable-libvpx --disable-libzvbi --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
 --disable-mipsfpu --disable-altivec --disable-vis --disable-amd3dnow --disable-amd3dnowext --disable-avx --disable-avx2 --disable-fma4 --disable-sse3 --disable-sse4 --disable-sse42 --enable-pic --cpu=host
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.100 / 55. 49.100
  libavformat    55. 25.101 / 55. 25.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  1.100 /  4.  1.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input file with argument 'out.mkv'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'dejudder'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'matroska'.
Reading option '/dev/null' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file out.mkv.
Successfully parsed a group of options.
Opening an input file: out.mkv.
[matroska,webm @ 0x2744da86c0] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0x2744da86c0] Before avformat_find_stream_info() pos: 659 bytes read:32768 seeks:0
[matroska,webm @ 0x2744da86c0] All info found
[matroska,webm @ 0x2744da86c0] After avformat_find_stream_info() pos: 2392 bytes read:32768 seeks:0 frames:8
Input #0, matroska,webm, from 'out.mkv':
  Metadata:
    ENCODER         : Lavf55.25.100
  Duration: 00:00:40.04, start: 0.033000, bitrate: 1740 kb/s
    Chapter #0.0: start 0.000000, end 40.063000
    Metadata:
      title           : Chapter 01
    Stream #0:0, 8, 1/1000: Video: h264 (Constrained Baseline), yuv420p, 720x480 [SAR 186:157 DAR 279:157], 1001/60000, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
Successfully opened the file.
Parsing a group of options: output file /dev/null.
Applying option vf (set video filters) with argument dejudder.
Applying option f (force format) with argument matroska.
Successfully parsed a group of options.
Opening an output file: /dev/null.
Successfully opened the file.
detected 2 logical cores
[AVFilterGraph @ 0x2744dac9f0] Error initializing filter 'dejudder'
Error opening filters!
[AVIOContext @ 0x2744db0be0] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x2744db0cc0] Statistics: 32768 bytes read, 0 seeks

I'm not sure how to debug this.

-Nicholas Robbins


More information about the ffmpeg-devel mailing list