[FFmpeg-user] crop detect not working
Elliott Balsley
elliottbalsley at gmail.com
Fri Sep 19 23:47:59 CEST 2014
I’m trying to use the cropdetect filter on some JPEG images, but it’s not showing anything useful in the console output. I checked to see if it’s available with “ffplay -filters” and that shows the following line:
T.. cropdetect V->V Auto-detect crop size.
Example command:
$ ffplay -i A002C001_140919_R6OW.000072.jpg -vf "cropdetect=24:16:0"
ffplay version 2.3.git-9b8eedd Copyright (c) 2003-2014 the FFmpeg developers
built on Sep 19 2014 00:12:16 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac --enable-libfaac
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 3.100 / 56. 3.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, image2, from 'A002C001_140919_R6OW.000072.jpg':0B f=0/0
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg), 512x288 [SAR 144:144 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x7fdd3480c600] deprecated pixel format used, make sure you did set range correctly
1.98 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
More information about the ffmpeg-user
mailing list