VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Apr 2006
    Location
    United States
    Search Comp PM
    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
    Quote Quote  
  2. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!