I can't work out how to calculate the width and height dimensions of a .flv video or .swf file using C# .NET.
Asked
Active
Viewed 1,264 times
5
-
Have you already using a library to work with flv, or you're asking for a good suggestion? – Andrea Parodi Sep 20 '10 at 16:03
-
haven't used any library yet, I only want to be able to calculate the dimensions, nothing else. – Greg Sep 20 '10 at 16:04
1 Answers
1
Maybe this article can help you. It show how to read flv files and it's meta information in c#.
Basically, you have to open a binary file stream and read the first part of the file.
You have than to interpret bytes you read according to Adobe flv format specification. Anyway, the article has some code sample showing you how to read width and height of files.

Andrea Parodi
- 5,534
- 27
- 46