Closed Selur closed 5 years ago
Hi, it seems ffmpeg gets confused by the ":" in the file path. I never tried it on Windows. Try a relative path first. Then try to escape the : maybe with E\:/Temp...
Using slashes instead of backslashes and escaping doesn't work either. Relative paths work, but cages me to a drive. I could mount another drive to a folder relative to the current working directory, but that definitely isn't the proper way to handle this. -> would be nice if you could adjust your code to handle Windows path syntax.
this is not part of the vidstab code, but ffmpeg's option handling. The : is used to separate the options not sure any escaping is supported there. Can you go and ask at the ffmpeg mailing list and report back. Also take a look at windows command line escaping with "" (double quotation marks), see https://ss64.com/nt/syntax-esc.html
Sadly adding additional double quotes doesn't help. -> In case I'll figure this out I'll report back so others don't have to look for this too long.
Got it:
"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
-> single ticks + escaping the colon with a backslash and using slashes works
Yup! @Selur, please consider closing this issue.
when calling:
I get:
and the '18_11_50_9710_01.trf' file won't be created.
So how should one set the file path for 'result' (same for 'input')?