[Libav-user] Faulty handling of file: protocol on Windows

Hendrik Leppkes h.leppkes at gmail.com
Tue Jun 18 13:25:36 CEST 2013


On Tue, Jun 18, 2013 at 1:22 PM, Hendrik Schreiber <hs at tagtraum.com> wrote:
> On Jun 18, 2013, at 11:47 AM, Hendrik Schreiber wrote:
>
>> On Jun 18, 2013, at 11:16 AM, Carl Eugen Hoyos wrote:
>>
>>> Hendrik Schreiber <hs at ...> writes:
>>>
>>>> On Windows, the scheme part (file:) is always followed
>>>> by a bunch of slashes, usually three (file:///),
>>>
>>> three sounds like a very unlikely number to me.
>>
>> Yes, it sounds odd, but please read http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx
>
> Anyhow - the only Windows file URL FFmpeg accepts is something like:
>
> file:C:/somePath/someFile.mp3
>
> And that is definitely not a valid URL by any standard I am aware of.
>

While it may be bugged, why even use a file: URL and not just a plain
path to the file, and avoid this whole mess?


More information about the Libav-user mailing list