[FFmpeg-devel] [PATCH] Use file protocol to deal with bogus protocol strings

Reimar Döffinger Reimar.Doeffinger
Fri Sep 28 10:48:26 CEST 2007


Hello,
On Thu, Sep 27, 2007 at 11:13:32PM +0200, Luca Barbato wrote:
> Stefano Sabatini wrote:
> > Another (maybe cleaner) solution would be to request the user to
> > specify the protocol string for ambiguos files such as foo:movie.mpeg,
> > which should then be specified as file:foo:movie.mpeg. Anyway in this
> > case ffmpeg should say something if it can't recognize the protocol
> > (for example: unrecognized protocol: foo), rather than simply negate
> > the existence of the file.
> 
> what about enforcing the "://" separator?

I must somehow have missed the whole issue... Why wouldn't someone who
want to use such filenames specify them as
file://file...
for relative and
file:///path...
for absolute path like it is done almost everywhere else?
Or is that not supported by ffmpeg yet?

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list