Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

C-Sharp/C# Media File info

Options
  • 01-02-2007 4:25pm
    #1
    Closed Accounts Posts: 3,105 ✭✭✭


    hey
    can anyone help me get some info from a loaded Video Media file.
    cant seem to get any more than the length and name and stuff from the FileInfo Class.
    i need to get like how long it plays for, what point of playing is it at.. that sort of thing any one know?


Comments

  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit


    The FileInfo class doesn't give that kind of information. It's just for telling you the size/path of a file, whether it's readonly or not etc and allows you to perform some basic operations on the file like copying etc.

    There is no built in class to do what you want. Are you using another library/framework for playing/loading the video file? If so, it probably has ways of finding that information.


  • Closed Accounts Posts: 3,105 ✭✭✭Tyrrial


    I'm using the QuartzTypeLib library to play the video..
    not sure what to use to get the info i need but I'm working on it.


  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit




  • Closed Accounts Posts: 3,105 ✭✭✭Tyrrial


    yup, found the same thing a while ago, all is working well.
    thanks


Advertisement