Tekweb wrote:
> I already tried to check if the stream is supported
> 
> G:\Dokumente und Einstellungen\Keksi\Desktop\videomixer>ffmpeg -i 
> rtsp://134.155
> .92.47:1024/mpeg4/1/media.amp
> FFmpeg version SVN-r13712, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>   configuration: --enable-memalign-hack --enable-avisynth 
> --enable-libxvid --ena
> ble-libx264 --enable-libgsm --enable-libfaac --enable-libfaad 
> --enable-liba52 --
> enable-libmp3lame --enable-libvorbis --enable-libtheora 
> --enable-pthreads --enab
> le-swscale --enable-gpl
>   libavutil version: 49.7.0
>   libavcodec version: 51.57.2
>   libavformat version: 52.14.0
>   libavdevice version: 52.0.0
>   built on Jun  8 2008 21:33:14, gcc: 4.2.3
> 
> ffmpeg.exe just hangs without an error
> 
> 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?


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

Reply via email to