[FFmpeg-user] minterpolate problem

Mark Filipak (ffmpeg) markfilipak at bog.us
Wed Jan 27 02:59:54 EET 2021


Note error at the end of the report.
I suspect the problem is that 'fps=60000/1001:mi_mode=mci=mc_mode=obmc:scd=fdiff:scd_threshold=10' 
needs some sort of internal delimiters, but I can't figure out what they would be.

ffmpeg -i SOURCE -map 0 -filter_complex "split[1][2], \
[1]telecine=pattern=55, select=not(eq(mod(n\,5)\,2))[3], \
[2]minterpolate=fps=60000/1001:mi_mode=mci=mc_mode=obmc:scd=fdiff:scd_threshold=10, \
select=eq(mod(n\,5)\,2)[4], \
[3][4]interleave" \
-codec:v libx265 -x265-params "crf=16:qcomp=0.60" -codec:a copy -codec:s copy TARGET

ffmpeg started on 2021-01-26 at 19:49:34
Report written to "ffmpeg-20210126-194934.log"
Log level: 32
Command line:
ffmpeg -i "source=24FPS.mkv" -map 0 -filter_complex "split[1][2], [1]telecine=pattern=55, 
select=not(eq(mod(n\\,5)\\,2))[3], 
[2]minterpolate=fps=60000/1001:mi_mode=mci=mc_mode=obmc:scd=fdiff:scd_threshold=10, 
select=eq(mod(n\\,5)\\,2)[4], [3][4]interleave" -codec:v libx265 -x265-params "crf=16:qcomp=0.60" 
-codec:a copy -codec:s copy "target=60FPS 
{telecine55[A.a][A.a][B.b][B.b]}{minterpolate=fps=60[A.b]}interleave = [A.a][A.a][A~b][B.b][B.b].mkv"
ffmpeg version N-100679-g24dc6d386c Copyright (c) 2000-2021 the FFmpeg developers
   built with gcc 9.3-win32 (GCC) 20200320
   configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config 
--cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 
--disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 
--enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig 
--enable-opencl --enable-libvmaf --enable-vulkan --enable-libvorbis --enable-amf --enable-libaom 
--enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm 
--enable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus 
--enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband 
--enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 
--enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx26 
libavutil      56. 63.101 / 56. 63.101
   libavcodec     58.117.101 / 58.117.101
   libavformat    58. 65.101 / 58. 65.101
   libavdevice    58. 11.103 / 58. 11.103
   libavfilter     7. 96.100 /  7. 96.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
   libpostproc    55.  8.100 / 55.  8.100
[matroska,webm @ 000001ab9c296600] Could not find codec parameters for stream 3 (Subtitle: 
hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'source=24FPS.mkv':
   Metadata:
     encoder         : libebml v1.4.0 + libmatroska v1.6.2
     creation_time   : 2021-01-23T03:12:17.000000Z
   Duration: 00:00:20.11, start: 0.000000, bitrate: 26228 kb/s
     Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 
23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Metadata:
       BPS-eng         : 24046529
       DURATION-eng    : 00:00:20.020000000
       NUMBER_OF_FRAMES-eng: 480
       NUMBER_OF_BYTES-eng: 60176441
       _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
       _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-23 03:12:17
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
     Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, stereo, s32p (24 bit) (default)
     Metadata:
       BPS-eng         : 2085565
       DURATION-eng    : 00:00:20.096000000
       NUMBER_OF_FRAMES-eng: 1884
       NUMBER_OF_BYTES-eng: 5238940
       _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
       _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-23 03:12:17
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
     Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
     Metadata:
       BPS-eng         : 192000
       DURATION-eng    : 00:00:20.096000000
       NUMBER_OF_FRAMES-eng: 628
       NUMBER_OF_BYTES-eng: 482304
       _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
       _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-23 03:12:17
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
     Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
     Metadata:
       BPS-eng         : 0
       DURATION-eng    : 00:00:00.000000000
       NUMBER_OF_FRAMES-eng: 0
       NUMBER_OF_BYTES-eng: 0
       _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit
       _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-23 03:12:17
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[Parsed_telecine_1 @ 000001ab9c726dc0] Telecine pattern 55 yields up to 3 frames per frame, pts 
advance factor: 4/10
[minterpolate @ 000001ab9c82e040] [Eval @ 0000004cbfbfe490] Invalid chars '=mc_mode=obmc' at the end 
of expression 'mci=mc_mode=obmc'
[minterpolate @ 000001ab9c82e040] Unable to parse option value "mci=mc_mode=obmc"
[minterpolate @ 000001ab9c82e040] [Eval @ 0000004cbfbfe4b0] Invalid chars '=mc_mode=obmc' at the end 
of expression 'mci=mc_mode=obmc'
[minterpolate @ 000001ab9c82e040] Unable to parse option value "mci=mc_mode=obmc"
[minterpolate @ 000001ab9c82e040] Error setting option mi_mode to value mci=mc_mode=obmc.
[Parsed_minterpolate_3 @ 000001ab9c893d40] Error applying options to the filter.
[AVFilterGraph @ 000001ab9d11d4c0] Error initializing filter 'minterpolate' with args 
'fps=60000/1001:mi_mode=mci=mc_mode=obmc:scd=fdiff:scd_threshold=10'
Error initializing complex filters.
Invalid argument


More information about the ffmpeg-user mailing list