> On Feb 7, 2019, at 3:46 PM, Julien De Luca <[email protected]> > wrote: > > I tried using setpts filter, but it has no effect the output first frame > pkt_pts_time is 1.480000 : > ffmpeg -i vs0/out2.ts -y -filter_complex "setpts=expr=10-STARTPTS+PTS" > -acodec aac -vcodec libx264 -f mpegts test.ts > > The goal is to make this work whatever the input is, and manually adding > 0.08 would imply to have the control on the encoder, which I would try to > avoid.
Sorry… 10 should have been multiplied by the timebase denominator, 10/TB-STARTPTS+PTS. Though obviously it’s not doing anything regardless, which I now realize is probably because your muxing to mpeg transport streams... Are you trying to have playback start 10 seconds into the stream? Because I may have misunderstood then. _______________________________________________ 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".
