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. C / C++ / MFC
  4. How to add application specific metada ta into wmv file

How to add application specific metada ta into wmv file

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
5 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.
  • H Offline
    H Offline
    Hemant kulkarni
    wrote on last edited by
    #1

    Hi, I have a wmv file. Now I want to add a application specific data into wmv file. Is this possible and allowed? How can I achive this? Regards, Hemant.

    M 1 Reply Last reply
    0
    • H Hemant kulkarni

      Hi, I have a wmv file. Now I want to add a application specific data into wmv file. Is this possible and allowed? How can I achive this? Regards, Hemant.

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      With Windows Media Format SDK you can add metadata and/or custom streams to wmv files. Windows Media - Working with Metadata[^]

      H 1 Reply Last reply
      0
      • M Mark Salsbery

        With Windows Media Format SDK you can add metadata and/or custom streams to wmv files. Windows Media - Working with Metadata[^]

        H Offline
        H Offline
        Hemant kulkarni
        wrote on last edited by
        #3

        Hi, Thanks for your reply. I am using Windows media format SDK. Can you just give some details(It will be great if you can post some code ) about how can I achive this. Regards, Hemant.

        M 1 Reply Last reply
        0
        • H Hemant kulkarni

          Hi, Thanks for your reply. I am using Windows media format SDK. Can you just give some details(It will be great if you can post some code ) about how can I achive this. Regards, Hemant.

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          To modify metadata in an existing wmv file use a metadata editor object, obtained with WMCreateEditor(). Use the returned IWMMetadataEditor interface IWMMetadataEditor::Open() method to open the wmv file. Use the IWMMetadataEditor interface to obtain an IWMHeaderInfo3 interface (using QueryInterface()). IWMHeaderInfo3 has member functions to get, add, modify, and delete attributes (individual metadata items). There's an extensive list of pre-defined attributes in the Media SDK and you can define your own as well :)

          H 1 Reply Last reply
          0
          • M Mark Salsbery

            To modify metadata in an existing wmv file use a metadata editor object, obtained with WMCreateEditor(). Use the returned IWMMetadataEditor interface IWMMetadataEditor::Open() method to open the wmv file. Use the IWMMetadataEditor interface to obtain an IWMHeaderInfo3 interface (using QueryInterface()). IWMHeaderInfo3 has member functions to get, add, modify, and delete attributes (individual metadata items). There's an extensive list of pre-defined attributes in the Media SDK and you can define your own as well :)

            H Offline
            H Offline
            Hemant kulkarni
            wrote on last edited by
            #5

            Hi, Thanks for reply. I think this will solve my problem. Regards, Hemant

            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