[Ffmpeg-devel] ffplay confused about filenames that begin with a dash

Michael Niedermayer michaelni
Mon Nov 27 12:50:43 CET 2006


Hi

On Mon, Nov 27, 2006 at 02:00:14AM +0200, Timo Lindfors wrote:
> Hi,
> 
> here's a bug report for ffplay (was going to submit it to a bug
> tracker but since there seems to be none I'm assuming it's ok to mail
> it here):
> 
> Steps to reproduce:
> 1) svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
> 2) cd ffmpeg && ./configure && make
> 3) youtube-dl http://youtube.com/watch?v=-zVCYdrw-1o
> 4) ffplay -zVCYdrw-1o.flv
> 5) ffplay -- -zVCYdrw-1o.flv
> 
> Expected results:
> 4 or 5) ffplay opens input file and starts to play it
> 
> Actual results:
> 4) ffplay does not open input file and prints
> ffplay: unrecognized option '-zVCYdrw-1o.flv'
> 5) ffplay does not open input file and prints
> ffplay: unrecognized option '--'
> 
> More info:
> 1) Step 3) can be equally well replaced with "touch -- -zVCYdrw-1o.flv"
> since the bug depends only on filename and not contents.
> 2) I was able to play the files with the following fix:

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list