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

Jamal Waseem (RBEI/EAP3) Jamal.Waseem at de.bosch.com
Tue Jun 18 13:28:56 CEST 2013


Feeding a file is fine to ffmpeg but what if I want to feed a payload to ffmpeg??
How can I give this payload which is stored in char array to ffmpeg for decoding?
This char array contains H.264 data.

Your help will be highly appreciated.


-----Original Message-----
From: libav-user-bounces at ffmpeg.org [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Hendrik Leppkes
Sent: Tuesday, June 18, 2013 4:56 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: Re: [Libav-user] Faulty handling of file: protocol on Windows

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?
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list