|
-
Jul 21st, 2011, 11:17 AM
#1
Thread Starter
Member
Getting meida duration
Ok, first off, I have been searching around and trying to figure out how to get media, specifically videos, length/duration. I know that you can use the Windows Media Player object to achieve this, however, I need to get the duration of some media that is not supported by windows media player.
I am developing my own media player in VS 2010 that will be utilizing the VLC media player component since VLC is able to play most (if not all) media formats. So far I have tried playing around with "My.Computer.FileSystem.GetFileInfo("path").length" but all this gets is the media's length in Bytes. What I am trying to achieve is the format of hh:mm:ss for pretty much every format, not just Windows Media Formats, but real media, .mkv, etc.
As I said, I have been searching around for a while and have finally broken down and am asking.
Thank you in advance for your help.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|