[FFmpeg-trac] #1253(FFmpeg:closed): FFMpeg don't handle files with some characters
FFmpeg
trac at avcodec.org
Fri Apr 27 20:53:13 CEST 2012
#1253: FFMpeg don't handle files with some characters
--------------------------------+--------------------------------------
Reporter: Uno | Owner:
Type: defect | Status: closed
Priority: normal | Component: FFmpeg
Version: 0.10.2 | Resolution: worksforme
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+--------------------------------------
Comment (by mjs973):
Replying to [comment:6 Uno]:
> Replying to [comment:5 cehoyos]:
> > Did you already test the following?
> > $ ffmpeg -i file:hello\:goofy.avi
>
> It works! But shouldn't it work also without the "file:" prefix?
No. In ffmpeg, a filename is structured like [protocol:]filename
A protocol says how to interpret the filename which follows. Examples of
protocols are file:, pipe:, http:, udp: and rtp:. As a special case,
single letter protocols, like c:, are interpreted as a Windows drive
letter.
So, in your example, ffmpeg was looking for a protocol named "hello:", and
when it couldn't find one by that name, it printed an error message.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1253#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list