Stephane List wrote:
[...]
>>> VLC can play this Stream with live555 and ffmpeg as decoder, but i would 
>>> be glad if theres an easy"out of the box" solution.
>> Is your client on the same network of the camera? Is there any firewall
>> in the middle? Or do you have a windows firewall enabled, which blocks
>> the UDP traffic?
>>
>> What's probably happening is that ffmpeg asks for RTP over UDP, but
>> something is blocking the UDP traffic... VLC solves this problem by
>> switching to RTP over RTSP if no packet is received after a short timeout.
>>
>> Can you try to change the "protocol_mask = (1 << RTSP_PROTOCOL_RTP_LAST) - 
>> 1;"
>> line in libavformat/rtsp.c (around line 1061) in
>> "protocol_mask = (1<< RTSP_PROTOCOL_RTP_TCP);" and see if this helps?
>>
> 
> Hi,
> 
> It's not a matter of TCP or UDP

So, changing the "protocol_mask = ..." line as I suggested did not help?


> Axis cameras support both protocols.

I know this. But if something inside the network is dropping UDP packets,
the axis camera has no way to know this...


> In file libavformat/utils.c , you can read :"  /* Do not open file if
> the format does not need it. XXX: specific
>        hack needed to handle RTSP/TCP */

This looks something completely unrelated.


                                Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to