Page 1 of 1

Reading MetaData from H264 file? (Duration, Width, Height..)

Posted: 26 Jan 2009 14:07
by Developer2009
Hi all, I need to get/read some MetaData values from H.264 video files that I got. I'm writting the application using C#, Dot.Net under Windows-XP.

For example I need to read the 'Duration' of the video (in seconds), and also the 'Width' and the 'Height' of the frames. Can someone please point me to some example code that shows how to do that? can I find this data on a Fixed Offset from the beginning of the file? or is it more complicate? (as I expect....)

Thanks!
Dan.