Reading wmv

This is a discussion on Reading wmv within the C Programming forums, part of the General Programming Boards category; Reading wmv wotsit.org only had a link to the msdn asf file. I downloaded the asf.doc file and read it. ...

  1. #1
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

    Reading wmv

    Reading wmv


    wotsit.org only had a link to the msdn asf file. I downloaded the asf.doc file and read it. There are many headers. In several of the length fields it said “varies” meow.

    How do you set up a prog to read a file or ram with an unknown “varies” length in the header?

    Also while looking at a wmv file it seemed to be zero padded and there was no documentation in this.

    A source code example on reading many headers with “variable” lengths is what I would like to look at.
    All I can think of is many “if” statements to handle this. Is there a better way?

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,059
    Have you checked out the SDK?

  3. #3
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    I will not allow this....
    Validation Required

    This download is available to customers running genuine Microsoft Windows. Please click the Continue button to begin Windows validation. As described in our privacy statement, Microsoft will not use the information collected during validation to identify or contact you.

    Windows Vista users must pass Microsoft Genuine validation requirements to enable certain product features and to obtain non-security updates and product support from Microsoft. For more information, go to the Windows Genuine Advantage FAQ.

    Instructions
    This download is available to customers running genuine Microsoft Windows. Click the Continue button in the Validation Required section above to begin the short validation process. Once validated, you will be returned to this page with specific instructions for obtaining the download.
    I am not looking to script or call functions to do .... whatever.... I want to be able to read the headers that are in the file so I can find the data that I am looking for.

    Windows Media Encoder 9 Series SDK
    Brief Description
    Download the updated version of Windows Media Encoder SDK. The set of interfaces in this SDK makes it easy for a developer to script the behavior of the encoder itself.
    good idea that there may or may not be in the SDK the info I am looking for. I though wotsit would have had more information.<whine> Too many wrapper classes it is like the antichristmass. Where unwrapping is a pain instead of a joy. meow. meow. </whine>

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,901
    Quote Originally Posted by kryptkat View Post
    I will not allow this....
    What exactly does that mean? Does it mean you refuse to submit to a validation check or that you somehow fail a validation check?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Aia
    Aia is offline
    Beautiful to C Aia's Avatar
    Join Date
    Jun 2007
    Posts
    124
    Quote Originally Posted by kryptkat View Post
    I will not allow this....
    I uploaded for you to a rapidshare server in case you want to take a look at it.
    SDK
    Choose at bottom of page FREE

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-05-2009, 03:14 AM
  2. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  3. Error 80040217 Connecting WMV to SampleGrabber
    By abachler in forum Windows Programming
    Replies: 0
    Last Post: 07-07-2008, 11:39 AM
  4. Replies: 2
    Last Post: 01-28-2008, 03:07 AM
  5. reading file word by word
    By 98holb in forum C Programming
    Replies: 2
    Last Post: 01-25-2006, 05:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21