View Full Version : How to get the time-shift values of blu-ray disc streams programmely?
yellowolf
8th October 2020, 10:50
Hi, I would like to get the time-shift value of every stream for a given blu-ray disc. After parsing the mpls and clpi files, I still cannot find them. Where are these values stored?
Thanks in advance.:thanks:
Emulgator
9th October 2020, 09:18
What tool do you use ?
ggtop
10th October 2020, 09:22
Where are these values stored?
Hi,
as Emulgator wrote. Your question is very vague, but maybe I know what you mean. Personally I use mediainfo CLI version to create a LOG from MPLS files via:
<mediainfo_CLI> "<mpls_file>" --FULL --LANGUAGE=RAW --LogFile="<logfile>"
and parse the output. Look out for nodes Audio and subnodes Delay and Delay relative to video
If you want a GUI for testing I prefer MediaInfoXP (https://www.videohelp.com/software/MediaInfoXP) by LoRd_MuldeR. Be sure to enable "verbose/dedug mode" mode in order to get some subnodes as they are not shown by default.
ggtop
Ghitulescu
11th October 2020, 07:01
The reason why he got no answer from the knowledgeable guys is that they are not sure he would manage this task. In other words, someone wants to do a task he knows no information about the things he has to do.
MLPS and CLPI do not carry this information. Neither the M2TS. There are no "delays" but rather timestamp differences. So your program has to parse the M2TS for each packet, identify its content, cross-check it with CLPI/MPLS if they exist, get the DTS/PTS of it, compute the "ticks", compute the delays.
yellowolf
28th October 2020, 04:07
The reason why he got no answer from the knowledgeable guys is that they are not sure he would manage this task. In other words, someone wants to do a task he knows no information about the things he has to do.
MLPS and CLPI do not carry this information. Neither the M2TS. There are no "delays" but rather timestamp differences. So your program has to parse the M2TS for each packet, identify its content, cross-check it with CLPI/MPLS if they exist, get the DTS/PTS of it, compute the "ticks", compute the delays.
Thanks a lot for your valuable instrction. By now I have understood that the delay values are not stored in files simply and cannot be easily obtained. Therefore, it's advisable to turn to a tool such as tsmuxer.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.