[FFmpeg-user] Modern ffmpeg/libvpx generates incorrect PTS for vp9 when decode
Sagara Wijetunga
sagarawmw at yahoo.com
Tue Sep 30 20:16:53 CEST 2014
Hi ffmpeg
I noted modern ffmpeg/libvpx generates incorrect PTS for vp9 when decode.
1. Lavf55.19.104 + libvpx-1.3.0 (Generate correct PTS values @ decode)
2. Lavf55.33.100 + libvpx-1.3.0 (Generate correct PTS values @ decode)
3. Lavc55.69.100 + libvpx-git (Generate Incorrect PTS values @ decode)
4. Lavc56.1.100 + libvpx-git (Generate Incorrect PTS values @ decode)
PTS = 0.000 (Correct)
PTS = 0.001 (wrong)
PTS = 0.013 (wrong)
PTS = 0.019 (wrong)
PTS = 0.024 (wrong)
PTS = 0.030 (wrong)
PTS = 0.036 (wrong)
:
:
PTS = 0.042 (Correct)
This is a vp9 video file with 23.98 tbr.
I use avcodec_decode_video2().
The (AVFrame->pkt_pts * video-stream-TimeBase (ie. tbn)) is used for PTS.
Best regards
Sagara
More information about the ffmpeg-user
mailing list