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

Paulo Flores paulo at webcasters.com.br
Tue Oct 16 21:28:18 CEST 2012


There is a command line example:
ffmpeg.exe -ss 00:10:00.000 -re -i "D:\Projetos\
Transmissoes\3970\20_121016_162501089.ts" -acodec aac -strict -2 -ac 1 -ar
12000 -ab 10k -vcodec copy -f flv
"rtmp://200.200.200.200/Paulo_Live/3970_20"

Is possible to fix it?

Thanks,
Paulo


-----Mensagem original-----
De: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org]
Em nome de Roger Pack
Enviada em: terça-feira, 16 de outubro de 2012 16:19
Para: FFmpeg user questions
Assunto: Re: [FFmpeg-user] Using -re with -ss to stream a ts file as live in
rtmp

> 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.

What's your full uncut command line and console output of an example?

> 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?

Sounds like a bug...or improvement that could occur.
I am able to reproduce the behavior...
-r
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list