Use the setpts filter, set startpts to 0; ffmpeg -I in.file -vf setpts=’PTS-STARTPTS’ outfile
look at the libavfilter/setpts.c file. you can get it. LeiHe [email protected]<mailto:[email protected]> 在 2018年9月26日,下午7:45,qw <[email protected]<mailto:[email protected]>> 写道: There are some ts files, whose start time is not zero, and even too large, such as 1 hour. How to set start time to zero for those ts files? _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
