1

I'm trying to make a c# app that reads webm files. I already managed to play the files on a panel using directshow.net and adding the vp8 and vp9 filters, however I couldn't manage to find out how to get resolution from the webm file to resize my form accordingly.

Mauro F.
  • 287
  • 2
  • 11

1 Answers1

2

ffprobe is a C library that parses video and audio files. I have used it to parse webm files. Check out the -show_format option.

Dylan Swen
  • 61
  • 3
  • I don't know C#, but this stack overflow post seems to help with syntax. Basically, you want to call `ffprobe -i ` and store the output in a variable. Then parse the output for the resolution. http://stackoverflow.com/questions/240171/launching-a-application-exe-from-c – Dylan Swen Jan 27 '16 at 20:49