Antoine Soulier via ffmpeg-devel: > In a previous patch, I modified the duration of the packet. But since, we > now support seeking, I don't know how to obtain the pts of the packet (or > sample position since start), without an implementation of a `read_seek()` > function. > Can you help me on how I can derive the pts of the packet? > Thanks. >
Have you already taken a look at FFStream.cur_dts? - Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".