Thank you for your answer. Could you please tell me where I can see example of working with RTSP via ffmpeg only?<br><br><div class="gmail_quote">2012/8/19 Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Ivan Ushakov <ivan.ushakov@...> writes:<br>
<br>
> I'm using libav for decoding h264 in my iOS application.<br>
> This application also uses Live555 for RTSP stuff.<br>
><br>
> I use following link for testing:<br>
> rtsp://<a href="http://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov" target="_blank">184.72.239.149/vod/mp4:BigBuckBunny_175k.mov</a><br>
<br>
</div>This works fine here with current git head without<br>
using live555 at all - which version are you using?<br>
<div class="im"><br>
> When I get data from Live555 MediaSink I add 3 bytes<br>
> (0x00 0x00 0x01) at the beginning and trying to decode<br>
> it with libav.<br>
<br>
</div>I implemented this once for MPlayer - iirc you have to<br>
feed the data you receive to the H264 parser, see<br>
libmpdemux/demux_rtp.cpp in the MPlayer sources.<br>
<br>
But as said, this is outdated, FFmpeg now contains all<br>
the necessary code to receive above stream.<br>
<br>
Carl Eugen<br>
<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br>