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.


Luca Abeni schrieb:
> Hi,
>
> Tekweb wrote:
>   
>> Hi there,
>> i want to read an RTSP Stream from an Axis Camera and decode it.
>> Decoding a File via the libs works fine(even wrapped for my C# project), 
>> but i just dont know where to start with the RTSP stuff.
>>     
>
> Just open the "rtsp://..." URL, using the "rtsp" AVInputFormat.
> Try "ffmpeg -i rtsp://..." to check if the stream sent by your camera
> is supported by libavformat.
>
>
>   
>> Does anyone has some example Code?
>>     
>
> The same code you use for playing from a file should work fine.
>
>
>   
>> Im not even sure if ffmpeg already has support for RTSP via TCP.
>>     
>
> You probably mean "RTP over TCP", right? Yes, libavformat supports
> it (in particular, it supports RTP over RTSP), but I am not sure
> how you can select this transport protocol (for sure, if the RTSP
> server says that RTP over UDP is unsupported then libavformat tries
> RTP over RTSP... But I do not know how to force it if RTP over UDP
> is supported).
>
>
>                               Luca
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
>   
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to