Menu

How to get video resolution? (flv, mp4)

Sargon
2009-10-31
2012-10-29
  • Sargon

    Sargon - 2009-10-31

    I have a full absolute path to my videos file (it's mp4, flv) I think I should
    use DirectShow to retrieve the information of that video, it's resolution that
    I wanted (I want to categorize into normal,HQ and HD)

    But I haven't figured out how to do this yet, this is my first time for me to
    use DirectShow. I just added DirectShow reference (.dll) a moment ago did I
    missed something? Or something's wrong?

    Thanks!

     
  • Eric

    Eric - 2009-11-02

    DirectShow is probably not the best tool to do that and before trying to code
    anything you must understand what DirectShow is and how it works. The MSDN
    documentation is a must read (see the lib's readme file).

     

Log in to post a comment.