2019-03-05 12:31 GMT+01:00, Gabriele Greco <gabrielegr...@gmail.com>:
> Actually what I do basically is: > > ffmpeg -ss start_ts -i input.ts -to (end_ts - start_ts) out.mp4 > > this can work only if the input file has no holes... > > so after reading ffmpeg documentation and various stackoverflow questions I > decided that copyts was my friend to achieve my result and I tried: > > ffmpeg -ss start_ts -copyts -i input.ts -to end_ts out.mp4 > ffmpeg -ss start_ts -i input.ts -copyts -to end_ts out.mp4 Use "-async 1" instead of copyts imo. Or do you mean timestamp resets? There is a (big) difference... Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".