On 20 Jul 2011, at 07:32, Luca Barbato <[email protected]> wrote:

> On 7/19/11 4:59 PM, Mark Kenna wrote:
>> On 16/07/2011 18:57, Luca Barbato wrote:
>>> On 7/15/11 9:39 AM, Mark Kenna wrote:
>>>> I was just wondering if FFPlay/Probe can work with live RTMP streams
>>>> without having to receive the entire file before playing/probing?
>>>
>>> It does.
>>>> For example, I have a 50 second clip that I am streaming to FFPlay using
>>>> Wowza Media Server, the file will only play once the server says that
>>>> the file has finished sending ("Stream.Stop").
>>>
>>> Strange, it normally works out of box, try to rebuild libav with
>>> librtmp support.
>>>
>>> lu
>>> _______________________________________________
>>> libav-api mailing list
>>> [email protected]
>>> https://lists.libav.org/mailman/listinfo/libav-api
>> Hi
>>
>> I just did some more checking and it looks like FFMpeg doesn't like the
>> _file_ rather than the _protocol_. I double checked and FFMpeg reads the
>> entire file in the call to: av_find_stream_info which blocks the program
>> for quite some time if the file is big enough (hundreds of MB). Is there
>> something wrong with the FLV decoder or is this just normal behaviour?
>
> Not exactly, looks like there is something quite wrong, you can force the 
> number of bytes and the number of frame consumed by that function btw.
>
>
>
>
>
>
>
>
> _______________________________________________
> libav-api mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-api

Interesting, could you please share how you limit the number of bytes
to read with that function?

Thanks,
Mark.
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to