[FFmpeg-user] Cutdetection (dynamic threshold) and Fadedetection with ffmpeg

Christoph Gerstbauer christophgerstbauer at gmail.com
Fri Jan 23 11:23:23 CET 2015


> The YDIF value in the signalstats filter could show this.
> ffprobe -f lavfi movie=DETECT_CUTS.mov,signalstats -show_entries "frame_tags=lavfi.signalstats.YDIF” -of flat
>
> Perhaps filter out lines where YDIF is higher than 10.

Hi, that does not work on my machine. (Win7)

Command line output:

C:\Users\gersti>ffprobe -f lavfi 
movie=C:\ffmpeg\bin\DETECT_CUTS.mov,signalstats -show_entries 
"frame_tags=lavfi.signalstats.YDIF” -of flat
ffprobe version N-64919-ga613257 Copyright (c) 2007-2014 the FFmpeg 
developers
   built on Jul 23 2014 00:35:22 with gcc 4.8.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libbs2b --enable-libcaca --enable-libfreetype 
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug 
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp 
--enable-libschroedinger --enable-libsoxr --enable-libspeex 
--enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 
--enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
   libavutil      52. 92.101 / 52. 92.101
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 48.101 / 55. 48.101
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 11.102 /  4. 11.102
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
[Parsed_movie_0 @ 0000000002b41ee0] Failed to avformat_open_input 'C'
[lavfi @ 0000000002b34b20] Error initializing filter 'movie' with args 
'C:ffmpegbinDETECT_CUTS.mov'
movie=C:\ffmpeg\bin\DETECT_CUTS.mov,signalstats: No such file or directory

Best Regards
Christoph


More information about the ffmpeg-user mailing list