Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2166 closed defect (worksforme)

unable to use amovie=c:\full\path\to\file

Reported by: Roger Pack Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: win
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: absolute paths in windows don't seem to work.

original report: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=460

How to reproduce:

% ffmpeg.exe -report -f lavfi -i "amovie
=c\:/algos/ocw-6.046-02nov2005-220k.mp4,silencedetect=noise=0.001:duration=60" -f null -
ffmpeg started on 2013-01-20 at 21:14:38
Report written to "ffmpeg-20130120-211438.log"
ffmpeg version N-48409-g43adc62 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:50:18 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[amovie @ 0000000002429ca0] Missing key or no key/value separator found after ke
y '/algos/ocw-6.046-02nov2005-220k.mp4'
[lavfi @ 00000000002fc740] Error initializing filter 'amovie' with args 'c:/algo
s/ocw-6.046-02nov2005-220k.mp4'
amovie=c\:/algos/ocw-6.046-02nov2005-220k.mp4,silencedetect=noise=0.001:duration
=60: Invalid argument

Also backslashes as path separators don't seem to work, is this expected do you know?
Thanks.
-roger-

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: win added
Resolution: worksforme
Status: newclosed

Please test the following:

$ ffmpeg.exe -report -f lavfi -i "amovie=c\\:/algos/ocw-6.046-02nov2005-220k.mp4,silencedetect=noise=0.001:duration=60" -f null -

or

$ ffmpeg.exe -report -f lavfi -i "amovie=c\\:\\\\algos\\\\ocw-6.046-02nov2005-220k.mp4,silencedetect=noise=0.001:duration=60" -f null -

comment:2 by Roger Pack, 11 years ago

Ok that works thanks! (though I'll admit I was a bit surprised at having to double escape things :)

Note: See TracTickets for help on using tickets.