vidstabdetect

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

vidstabdetect

Blaukasten
Hello I am probably doing a beginner mistake. I am trying to use the filter vidstabdetect and getting the following error message:

C:\Program Files\WinFF>ffmpeg -i "E:\somename.MOV" -vf vidstabdetect=result="E:\dummy.trf" "E:\output.avi"
ffmpeg version N-60120-g52d2bcc Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 23 2014 22:06:41 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.100 / 55. 49.100
  libavformat    55. 25.101 / 55. 25.101
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  1.100 /  4.  1.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100

...

[vidstabdetect @ 0000000004ff0940] [Eval @ 000000000022a930] Undefined constant
or missing '(' in 'dummy.trf'
[vidstabdetect @ 0000000004ff0940] Unable to parse option value "dummy.trf"
[vidstabdetect @ 0000000004ff0940] [Eval @ 000000000022a9a0] Undefined constant
or missing '(' in 'dummy.trf'
[vidstabdetect @ 0000000004ff0940] Unable to parse option value "dummy.trf"
[vidstabdetect @ 0000000004ff0940] Error setting option shakiness to value dummy.trf.
[Parsed_vidstabdetect_0 @ 0000000002809560] Error applying options to the filter.
[AVFilterGraph @ 0000000002863840] Error initializing filter 'vidstabdetect' with args 'result=E:dummy.trf'
Error opening filters!

I was expecting that the filter would create and write the file dummy.rtf, but it looks like it wants to read this file. Any idea?
Thanks
Gerhard
Reply | Threaded
Open this post in threaded view
|

Re: vidstabdetect

Moritz Barsnick
Hi,

On Wed, Apr 02, 2014 at 01:18:34 -0700, Blaukasten wrote:
> C:\Program Files\WinFF>ffmpeg -i "E:\somename.MOV" -vf
> vidstabdetect=result="E:\dummy.trf" "E:\output.avi"

":" is the default separator for options. If you want to use it
literally, you need to escape it. I just forced myself to use Windows,
and by trial and error figured out that it works like this:
  vidstabdetect=result="E\\:\\\\dummy.trf"

My guess was that this would work, but it doesn't:
  vidstabdetect=result="E\:\dummy.trf"

It's something in the way Windows and libav handle escapeing, I think
it was discussed here recently.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: vidstabdetect

Moritz Barsnick
Addendum:

On Wed, Apr 02, 2014 at 21:12:09 +0200, Moritz Barsnick wrote:
> It's something in the way Windows and libav handle escapeing, I think
> it was discussed here recently.

This is the post I was referring to:
http://ffmpeg.org/pipermail/ffmpeg-user/2014-January/019505.html

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: vidstabdetect

Blaukasten
Thank you, Moritz, this did the job! I thought quoting ("...") would make escaping unnecessary, didn't think the ":" had such a high priority.
Gerhard