What are the MPEG-2 System start codes

Discussion in 'Amateur Video Production' started by RAG, Nov 5, 2003.

  1. RAG

    RAG Guest

    Does anyone know where i can find something about the
    "system-start-codes" in MPEG-2 streams? I know everything
    about the "normal" start codes wich only seem to deal with
    video sequence and "picture" encoding.

    Within the MPEG-2 files, there are many of those so-called
    "system start codes" wich seem to deal with audio encoding and
    timestamps.

    I am very much interested in this topic as i want to re-sync
    audio and video for my MPEG-2 files captured with the ATI radeon
    card.
    (Using MMC 8.? and the "DVD Medium" setting i sometimes have
    lost frames wich seem to be caused by the Video player !!!)


    Thanx very much in advance.

    RAG
     
    RAG, Nov 5, 2003
    #1
    1. Advertisements

  2. RAG

    FLY135 Guest

    I don't want to burst your bubble but you would be better off trying to find
    a tool that does what you want. However, this is your lucky day. The
    documents that describe the MPEG syntax are not free, but here are a couple
    that I found on the web. Look at the bottom of the page for the ISO
    documents. Everything you want isn't there, but it will definitely get you
    started. Or maybe make you realize that it's more complicated than you
    might have thought.

    http://www.cdaniel.de/elektronik-dvb.phtml
     
    FLY135, Nov 5, 2003
    #2
    1. Advertisements

  3. RAG

    RAG Guest

    Thanx at first for your help!!

    I wrote a scanner that reads and splits the input stream(s) and
    detects frame loss. But i still got problems (wich seem to be flaws of
    my program).

    In theory it should work without too much header decoding.

    But as you said not everything is clear in the -1 and -2 documents:

    * There are packs with and without the "SystemHeader". When can i
    leave out
    system header?
    * I read somewhere else that DVD streams must have certain
    criteria. I believe that the packs are always 2kB in size but i
    did not find info abuot that.
    * How do i know how many "audio frames" were in the audio stream? Or
    better:
    Is there a more precise time reference than the SCR or PTS ?
     
    RAG, Nov 20, 2003
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.