[FFmpeg-user] Encode to timestamp on ts with "holes"
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Mar 6 16:02:12 EET 2019
2019-03-06 14:31 GMT+01:00, Gabriele Greco <gabrielegreco at gmail.com>:
> What I want to achieve is that if:
> start_ts = 00:01:00
> end_ts = 00:05:00
> and input.ts has one or more "holes" for a total of 2 minutes
> my output video should last 2 minutes and not 4.
Depending on your definition of holes, this is not generally
possible but you can use the input option "-r" to overwrite
input timestamps which may be what you want.
More information about the ffmpeg-user