[Libav-user] PTS And DTS get

Nicolas George nicolas.george at normalesup.org
Sun Apr 15 16:26:04 CEST 2012

Le septidi 27 germinal, an CCXX, Yulius Candra a écrit :
> Hello,, When i try build a player video for mpeg 1,2,4..there something
> that make me wonder, when i try sync a frame with timing then i get pts
> and dts but first frame in mpeg 1,2 i get value pts and pts too large then
> if i multiply with timebase i will get big delay. but that case not happen
> in mpeg 4 . is there any explanation? or any calculaction for timing in
> mpeg 1,2?

Can you tell where the file comes from exactly? Also can you show the output
of ffmpeg, the command-line tool, when it tries to read that file? You may
also want to try ffprobe -show_packets.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120415/323bb345/attachment.asc>

More information about the Libav-user mailing list