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. General Programming
  3. Managed C++/CLI
  4. exctract avi information

exctract avi information

Scheduled Pinned Locked Moved Managed C++/CLI
questioncomregexhelp
4 Posts 2 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.
  • C Offline
    C Offline
    cbiacca
    wrote on last edited by
    #1

    Hi, I wrote down a post some weeks ago but I can't find it so I'm sorry of having opened another one. The problem is that I'm trying to exctrat some information (like codec name, lenght, width, ecc. ecc.) from an avi files. Actually I can do everything but the codec information. After having read from www.fourcc.org and some from msdn.com (http://msdn.microsoft.com/library/default.asp?url=/library/EN-US/multimed/mmstr\_1xf6.asp) , I've understood that I have to use vfw32.h library. I can exctrat only the information that an avi's codec is: Stream Info: Type Codec vids divx How can I match the information divx to the exact versione?? Moreover, How can i distinguish from divx an xvid?? Do I have to create a structure with all the existent codec inside?? Well, it's all :( ... I wanna thank you everyone is going to answer me. Francesco

    L 1 Reply Last reply
    0
    • C cbiacca

      Hi, I wrote down a post some weeks ago but I can't find it so I'm sorry of having opened another one. The problem is that I'm trying to exctrat some information (like codec name, lenght, width, ecc. ecc.) from an avi files. Actually I can do everything but the codec information. After having read from www.fourcc.org and some from msdn.com (http://msdn.microsoft.com/library/default.asp?url=/library/EN-US/multimed/mmstr\_1xf6.asp) , I've understood that I have to use vfw32.h library. I can exctrat only the information that an avi's codec is: Stream Info: Type Codec vids divx How can I match the information divx to the exact versione?? Moreover, How can i distinguish from divx an xvid?? Do I have to create a structure with all the existent codec inside?? Well, it's all :( ... I wanna thank you everyone is going to answer me. Francesco

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      You need to map the FourCC code (the vids divx bit) to a playback codec capable of playing it. Look on doom9.org[^] for a possible list.

      leppie::AllocCPArticle(Generic DFA State Machine for .NET);

      C 1 Reply Last reply
      0
      • L leppie

        You need to map the FourCC code (the vids divx bit) to a playback codec capable of playing it. Look on doom9.org[^] for a possible list.

        leppie::AllocCPArticle(Generic DFA State Machine for .NET);

        C Offline
        C Offline
        cbiacca
        wrote on last edited by
        #3

        uhm, maybe it wasn't specified...I don't want to play a divx or an avi file, I just want to save some information about it (like lenght, width, codec) ... What do u mean in the sentence: You need to map the FourCC code (the vids divx bit) ??? thx

        L 1 Reply Last reply
        0
        • C cbiacca

          uhm, maybe it wasn't specified...I don't want to play a divx or an avi file, I just want to save some information about it (like lenght, width, codec) ... What do u mean in the sentence: You need to map the FourCC code (the vids divx bit) ??? thx

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          I suggest then you look at either VirtualDubs or Emule's source code as both of them displays that info to the user. Cant be that hard :)

          leppie::AllocCPArticle(Generic DFA State Machine for .NET);

          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