[FFmpeg-user] Using -re with -ss to stream a ts file as live in rtmp

Paulo Flores paulo at webcasters.com.br
Tue Oct 16 20:06:32 CEST 2012


Hi People.

 

My Scenery:

I'm using ffmpeg to streaming a local .ts file (in h264) to Wowza Server
using RTMP protocol as realtime, using -re parameter.

In some cases because the internet connection for example the ffmpeg lost
connection with Wowza and stops to stream, in this case I need to continue
the stream at same file time it is stopped.

 

Now the problem:

To start ffmpeg in same position I'm using the parameter -ss to set start
time but I'm using too -re parameter to simulate the live broadcast and in
this case the seek to start time delay the same time of "start time" to do.

How I can do the seek in file instantly and to the live in real time?

 

Thanks,

Paulo

 



More information about the ffmpeg-user mailing list