How to get video frame width and frame height?
I need it for .avi, .mov, .mp4, .wmv. I've tried some links using JockerSoft.Media.dll, and Shell32.dll, but the first one isn't good for .mov and .mp4, and the second one is only for Windows, and I need it for Windows and Mac.

6 Years
Discussion Span
Last Post by Srcee

Videolan player (free for personal use) has the possibility to be used as an ActiveX control an can report most of the metadata related to the media.

Plese refer to this page for more info

Hope this helps


I solved it using Microsoft.WindowsAPICodePack.dll and Microsoft.WindowsAPICodePack.Shell.sll. It's not a perfect solution though because I need it to work on Mac too.


I hate to break it to you, but C# won't run on Mac unless you're using Mono. In which case you need to check the Mono specification that it supports anything you actually want to do.

Might I suggest that you switch to C++ and use the Qt libraries? This will give you better cross compatibility :)


I can't switch to C++ :(
Well ok, how can I do that using Mono?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.