[FFmpeg-devel] [PATCH 2/2] avformat/lc3: Add file format for LC3/LC3plus transport

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Apr 4 20:09:20 EEST 2024


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



More information about the ffmpeg-devel mailing list