I have a VOB which I have de-muxed into single packets. Each packet has all the original info about Stream-ID, SCR, Mux rate and so on. So in a way I have really not de-muxed it, I have merely split the file per packet.
Is there any formula that I can apply to a single packet to determine its "realtime"?
For example:
I have split the VOB file into pk1.video pk1.audio, pk2.video pk3.audio and so on
Each packet is a well-formed MPEG packet including its original SCR and other data
I would like to pick a random AC3 packet (say pk22.audio) and be able to tell that this packet is played at 01:23:22. or pick a random video packet and tell that it plays at 00:45:55
Alternatively, any method to look at a large VOB file and be able to determine a packet actual playback time would be nice.
On the same topic, is there a quick way to determine the actual playlength of a VOB file by looking at its headers?
I would be grateful for any information or suggestion to help me crack this problem.
Regards
Elbo
+ Reply to Thread
Results 1 to 2 of 2
-
-
You have to count the PICTURE HEADERS (00 00 01 00)(hex values), then multiply each by 0.0333667 seconds, PLUS you have to account for PULLDOWN and DROP_FRAME flags. There is no absolute timing info in MPEG2 files.
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W
Similar Threads
-
Save Rendering Time--Change VOB to MPG--Set Audio VOB & MPG2 video files
By jake61 in forum Newbie / General discussionsReplies: 4Last Post: 5th May 2010, 15:12 -
First Time Burning DVD (vob)
By Wanderlustus in forum Authoring (DVD)Replies: 17Last Post: 9th Jan 2009, 14:16 -
Time difference between VOB and MPEG
By sambat in forum Newbie / General discussionsReplies: 6Last Post: 18th Aug 2008, 15:06 -
VOB to MPG results in decreased time?
By kpic in forum Video ConversionReplies: 1Last Post: 27th Jun 2008, 08:45 -
Time Warner Cable Implements Packet Shaping
By BJ_M in forum Off topicReplies: 6Last Post: 19th Jun 2007, 22:41