[FFmpeg-devel] [PATCH] avcodec: add delayer bitstream filter

Gyan ffmpeg at gyani.pro
Tue Jun 25 22:36:56 EEST 2019



On 26-06-2019 12:58 AM, Gyan wrote:
>
>
> On 26-06-2019 12:47 AM, Andreas HÃ¥kon wrote:
>> 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.

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.

Gyan


More information about the ffmpeg-devel mailing list