[Libav-user] Approx. 15 seconds delay when re-streaming h.264 to RTMP
Archil Matchavariani
archil1983 at gmail.com
Wed Nov 2 15:51:21 CET 2011
HI Andrey,
I am trying to re-streaming my input stream from a cam to the rtmp server ,
and I want to use FFmpeg for this issue, that's why I am using the
following command :
*ffmpeg -i rtsp://root:pass@xxx.xxx.xxx.xxx:554/live?tcp -vcodec copy -f
flv rtmp://xxx.xxx.xxx.xxx/live/teststream*
*
*
*(I need flesh format )*
*
*
but unfortunately it hangs at first and than it has delay about 15 seconds.(
*rtsp://root:pass@xxx.xxx.xxx.xxx:554/live?tcp is an input stream from my
cam and **rtmp://xxx.xxx.xxx.xxx/live/teststream are output streams from
the rtmp server** *)
On Wed, Nov 2, 2011 at 4:11 PM, Andrey Utkin <andrey.krieger.utkin at gmail.com
> wrote:
> 2011/11/2 Archil Matchavariani <archil1983 at gmail.com>:
> > 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!
>
> Hi!
> It is unclear, at last for me, in which way exactly you process the stream.
> You can show your relevant sources parts (although the more is
> better), input data example and tell how you make input data available
> to your app.
>
> --
> Andrey Utkin
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111102/7377ca19/attachment.html>
More information about the Libav-user
mailing list