Missing timestamp information for DVR frames
Overview
Missing timestamp informations when decoding a DVR. The DVR is OK. I extracted the timestamp info with other tools but not with this library.
Expected behavior
I would expect dts, pts or time to be other than None since the DVR encode timestamp info.
Actual behavior
dts, pts and time values for the frame object are none
Reproduction
container = av.open(dvr_path)
for frame in container.decode(video=0):
print(frame.time)
Versions
Tried on Linux and MacOS:
- OS: Ubuntu 20.04 (pipenv) / Ventura 13.2.1 (conda)
- PyAV runtime:
PyAV v9.1.0 (Mac)
v10.0.0 (Ubuntu)
- FFmpeg:
ffmpeg version 4.3.2 (Mac)
ffmpeg version 4.2.7 (Ubuntu)