[FFmpeg-devel] RTSP H.264/AAC problem
Ronald S. Bultje
Thu Nov 18 21:00:48 CET 2010
On Thu, Nov 18, 2010 at 7:50 PM, Martin Storsj? <martin at martin.st> wrote:
> On Thu, 18 Nov 2010, Ronald S. Bultje wrote:
>> On Thu, Nov 18, 2010 at 4:26 PM, Martin Storsj? <martin at martin.st> wrote:
>> > On Thu, 18 Nov 2010, Benjamin Larsson wrote:
>> >> On 11/18/2010 03:17 PM, aviad rozenhek wrote:
>> >> > I am not able to decode the following stream:
>> >> > rtsp://mobile.rayv.com:80/live/rayv2demo
>> >> > does RTSP support wowza, H.264 and AAC ?
>> >> >
>> >> > here is the commandline i am using using the following commandline:
>> >> >
>> >> Confirmed working in VLC and Totem but not in ffplay.
>> > Hmm, this is weird, since it seems to work for some but not for others.
>> > For me, it works both over UDP and over TCP. Those of you that doesn't get
>> > it to work, does it work better if using TCP? That is:
>> > ffplay rtsp://mobile.rayv.com:80/live/rayv2demo?tcp
>> > If that works, you could try to figure out why the UDP packets don't
>> > arrive properly. (We do have code that allows UDP playback behind some
>> > NATs at least.) Try wiresharking it, and compare what it does when playing
>> > in VLC and Totem and compare to ffplay (they perhaps also run it over
>> > TCP?).
>> For me that's the reason, tcp works udp doesn't. Don't have time for a
>> wireshark today but remind me in a few days and I will.
> Thanks - then the issue is more understandable. The interesting thing
> would be to know why this one doesn't work for you over UDP, while other
> RTSP sources probably work fine for you over UDP - or do they? Also,
> anyone that experiences the same problem - does VLC or Totem/gstreamer
> receive the packets over UDP or TCP?
TCP. It tries UDP, fails after a timeout of probably 5 seconds,
switches to TCP and that works.
More information about the ffmpeg-devel