I can't work out how to calculate the width and height dimensions of a .flv video or .swf file using C# .NET.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With