[Libav-user] Approx. 15 seconds delay when re-streaming h.264 to RTMP

Archil Matchavariani archil1983 at gmail.com
Wed Nov 2 12:10:48 CET 2011


Hi.

I'm trying to re-stream h.264 packets to rtmp server, by copying packets
from incoming stream to outgoing one.
The resulting stream hangs on the first frame for some time, then resumes
playback, with approximately 15 seconds of delay.

If I re-code the stream to FLV via following command, the stream works fine
and has minimal delay, but the resulting quality naturally lower.

Any idea how to remove the delay on re-stream? I'm using latest 0.8
(oldapi) of FFMPEG, and librtmp.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111102/d6ec33ea/attachment.html>


More information about the Libav-user mailing list