Trying to use vidstab in ffmpeg I'm running into the problem that ffmpeg doesn't parse my command line properly and I don't know how it should look like:
When using:
ffmpeg complains about:Code:"I:\Hybrid\64bit\ffmpeg.exe" -y -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -c:v rawvideo -vf vidstabdetect=result="E:/Temp/18_11_50_9710_01.trf":shakiness=5:accuracy=15:stepsize=6:mincontrast=0.3 -f null NUL
this. Problem is that instead of:Code:[vidstabdetect @ 0000020653ce6800] [Eval @ 000000fec75fdcd0] Undefined constant or missing '(' in '/Temp/18_11_50_9710_01.trf' [vidstabdetect @ 0000020653ce6800] Unable to parse option value "/Temp/18_11_50_9710_01.trf" [vidstabdetect @ 000000fec75fe468] Multithreading: use 12 threads [vidstabdetect @ 000000fec75fe3d8] Fieldsize: 48, Maximal translation: 50 pixel [vidstabdetect @ 000000fec75fe3d8] Number of used measurement fields: 40 out of 40 [vidstabdetect @ 000000fec75fe3d8] Fieldsize: 16, Maximal translation: 16 pixel [vidstabdetect @ 000000fec75fe3d8] Number of used measurement fields: 162 out of 162 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] Video stabilization settings (pass 1/2): [Parsed_vidstabdetect_0 @ 0000020653cb2d00] shakiness = 5 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] accuracy = 15 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] stepsize = 6 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] mincontrast = 0.300000 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] tripod = 0 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] show = 0 [Parsed_vidstabdetect_0 @ 0000020653cb2d00] result = E
being passed to the filter as value for 'result' only 'E' is passed. :/Code:e:/Temp/18_11_50_9710_01.trf
Adding backslashes and additional double quotes doesn't seem to help.
-> Does anyone know how the command line should look such that it is properly escaped and handled by ffmpeg?
Cu Selur
Ps.: I'm using:
Code:ffmpeg version N-91949-g6304268e39 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 8.2.0 (Rev1, Built by MSYS2 project) configuration: --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --disable-debug --enable-ffnvcodec --enable-nvdec --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-version3 --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv
+ Reply to Thread
Results 1 to 4 of 4
-
users currently on my ignore list: deadrats, Stears555, marcorocchini
-
In windoze, for every colon you need an escape. So for that path, you need to insert a "\" before the colon. I don't know how it's handled in other OS's
Code:result='e\:/Temp/18_11_50_9710_01.trf'
-
Sorry, probably didn't help you but can
Colon seems to be problem
http://www.ffmpeg-archive.org/vidstabdetect-td4664612.html
I do not understand well, so you can spit on me.
Bernix -
@poisndeathray: Thanks that works!
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
FFmpeg Batch for Windows
By Eibol in forum Video ConversionReplies: 789Last Post: 16th Mar 2025, 16:21 -
How to Compile C Code FFmpeg Tutorial on Windows?
By nothingnew in forum Newbie / General discussionsReplies: 0Last Post: 7th Aug 2017, 04:14 -
Please help on my 2-pass (Windows) ffmpeg cmd (SOLVED)
By SameSelf in forum Video ConversionReplies: 2Last Post: 26th May 2017, 12:41 -
how to use ffmpeg builds for windows
By oduodui in forum EditingReplies: 2Last Post: 3rd Jul 2015, 07:19 -
VOB2MPG Network Paths
By istarion in forum SVCD2DVD & VOB2MPGReplies: 5Last Post: 16th Dec 2013, 19:16