On 06/06/2013 07:25 AM, Alexander Wischnewski wrote:
Hello,

i am having troubles to decode a h264 live stream provided by an HD ip camera. I tried first with the recent git version of ffmpeg on android and then later on my mac, the results always looks the same as below.

Maybe someone can give me a hint what i am doing wrong.

Wild guess: You're using udp transport.

Try to add "-rtsp_transport tcp" before the "-i" on your command line. If that helps, than thet's your problem. The default UDP buffer is 64K, which is not sufficient for a single HD I-frame, which means every single I-frame is truncated.

Unfortunately, there's no way to give a "big udp buffer" argument to rtsp in ffmpeg yet; there is one, but it only works directly on rtp.

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to