Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. C / C++ / MFC
  3. reading mpeg header

reading mpeg header

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vikash Dubey 0
    wrote on last edited by
    #1

    I want to read the mpeg header info from video mpeg files and use the information for writing a program.can any body help me

    R M 2 Replies Last reply
    0
    • V Vikash Dubey 0

      I want to read the mpeg header info from video mpeg files and use the information for writing a program.can any body help me

      R Offline
      R Offline
      Ryan Baillargeon
      wrote on last edited by
      #2

      Maybe Im wrong, but for something like that you will need to find out the exact: location / size / contents of the MPEG file header.. Then its just a matter of creating a class / struct that will hold the information once you read it in from the file. Hardest Part of your Problem is finding out Where the information is stored (location of the header) and what the data structure is. Might involve a little decodeing, but do some searches on the web and youll be fine. recurse.org - Recusion For the Rest Of Us.

      1 Reply Last reply
      0
      • V Vikash Dubey 0

        I want to read the mpeg header info from video mpeg files and use the information for writing a program.can any body help me

        M Offline
        M Offline
        markkuk
        wrote on last edited by
        #3

        There is no such thing as a "mpeg file header". A MPEG data stream (or file) is a sequence of blocks, each containing the information necessary to decode that block, and the information varies from block to block.

        V 1 Reply Last reply
        0
        • M markkuk

          There is no such thing as a "mpeg file header". A MPEG data stream (or file) is a sequence of blocks, each containing the information necessary to decode that block, and the information varies from block to block.

          V Offline
          V Offline
          Vikash Dubey 0
          wrote on last edited by
          #4

          If there is no such thing as mpeg file header then why does media player not open certain mpeg files in which i copy the data from the middle of the file. Xing player is able to open these files none the less. Can u give more info

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups