views:

82

answers:

1

Hi,

I think the title says it all.

I can't work out how to calculate the width and height dimensions of a .flv video or .swf file using C# .NET.

Thanks in advance!

+1  A: 

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
thanks, great article. straight to the point.
Greg