Hi On Tue, Jun 16, 2020 at 9:51 AM Gyan Doshi <ffm...@gyani.pro> wrote:
> > > On 16-06-2020 02:15 pm, Kieran O Leary wrote: > > On Tue, Jun 16, 2020 at 9:40 AM Kieran O Leary <kieran.o.le...@gmail.com > > > > wrote: > > > >> OK, so I figured out that the dts needs to be divided by > >> pkt_duration_time, which in this instance was 3600. Not sure how to get > >> that aside from using ffprobe as I don't see it listed in the ffmpeg > output. > >> > > Sorry, the dts value needs to be divided by pkt_duration, which gives the > > frame number. Also ffmpeg is amazing. > > Actually, the dts is denominated in terms of the stream time_base. For > MPEG-TS, that's 90000 for all streams. > This applies to the dts shown in the corrupt packet msg. After decoding, > lavc will change audio stream time base to stream sampling rate. > Argh, you're absolutely right,that produces the seconds value. Thanks Gyan! K _______________________________________________ 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".