[FFmpeg-user] Restream live rtmp with delay
rslovers at yandex.com
rslovers at yandex.com
Tue Sep 20 09:27:20 EEST 2016
On Mon, Sep 19, 2016 at 07:10:38PM +0300, Maxim Kozlov wrote:
> Hi.
>
> I need to transcode live rtmp stream with delay.
> I have no problem with encoding, but i confused how to delay.
> I found the adelay filter, but it works with audio.
> Is there any filter to delay video stream?
a simple solution when the bitrate is a constant, write a trivial program that
caches stdin to bitrate * delay-seconds bits before writing anything out.
ffmpeg -i rtmp ... - | cache-stdin | ffmpeg -i - ...
More information about the ffmpeg-user
mailing list