#11136: FFprobe DTS and documentation errors
-------------------------------------+-------------------------------------
Reporter: markfilipak | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffprobe
Version: git-master | Resolution:
Keywords: ffprobe DTS | Blocked By:
docs |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
Reading wikipedia on
https://en.wikipedia.org/wiki/Packetized_elementary_stream
>If only PTS is present, this is done by catenating 0010b, most
significant 3 bits from PTS, 1, following next 15 bits, 1, rest 15 bits
and 1. If both PTS and DTS are present the same is done, but first 4 bits
before start of PTS bits are 0011b (and not 0010b) and first 4 bits before
start of DTS bits are 0001b. Other appended bytes have similar but
different encoding.
{{{
marker bits 0001 1 1
1
DTS 000 0000 0000 0000 000 1010 1101
1101 110 <== 22254
}}}
So extracting the DTS we indeed get 22254
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11136#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".