Click to See Complete Forum and Search --> : File properties - help!
namakemono
March 18th, 2005, 07:34 AM
Hi I'm just a lowly n00b and I need some help accessing the properties of file. Specifically I'm going to be working with video files to make a cataloguing program and I want to be able to pull out stuff like vid/audio codec, bit rates, duration and dimensions - basically all the stuff you get in the advanced summary screen on ur windows file properties dialog
I've tried looking around for this sort of stuff but I'm probably looking in the wrong places and using the wrong terms to search for it! Please help!
NoHero
March 18th, 2005, 07:41 AM
Hi I'm just a lowly n00b and I need some help accessing the properties of file. Specifically I'm going to be working with video files to make a cataloguing program and I want to be able to pull out stuff like vid/audio codec, bit rates, duration and dimensions - basically all the stuff you get in the advanced summary screen on ur windows file properties dialog
I've tried looking around for this sort of stuff but I'm probably looking in the wrong places and using the wrong terms to search for it! Please help!
This information of a file depends on the file format. As far as I know every video/audio file format uses a header in which it is provided how the video/audio looks/sounds like. Like bitrate, resolution, idv3/4 tags etc. But this depends highly on the format. For example a WMA file store this information in another way than a MP3 file. You should go and check the WIndows Media Player SDK. It helps you to extract this data.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.