[FFmpeg-devel] [PATCH] avcodec: add delayer bitstream filter
andreas.hakon at protonmail.com
Wed Jun 26 10:11:16 EEST 2019
> > > Example of use:
> > > ffmpeg -f mpegts -i INPUT.ts -map i:101 -c:v copy -map i:102 -bsf:a
> > > delayer=offset=3600 -c:a copy -f mpegts OUTPUT.ts
> > > You can use it with VIDEO, AUDIO or DATA streams.
> > What's the advantage over output_ts_offset?
> To answer that partially, this can be applied per-stream.
Yes! That's the key point. You can (manually) resynchronize streams
(video with audio, multiple video, audio tracks...) withtout any reencoding.
> Wouldn't this be better if extended to be a BSF version of setpts? In
> addition to delays, rescaling as well as other ops could be carried out
> on TS.
Maybe. But I prefer to include this "simple" SFB plugin first. I'm using it
and it works like a charm.
More information about the ffmpeg-devel