0

I need to capture stills from avi files. I also need to know avi file duration. The Platform is Windows, the language is C++ (with Qt library). I don't know much about DirectShow or Qt Phonon and I have no time to learn any of them. So I'm looking for ready made solutions. Maybe there is some open source project where I can find some sources for inspiration? Or maybe there is some free dll which can do the job?

Sergey Skoblikov
  • 5,811
  • 6
  • 40
  • 49

2 Answers2

0

There is http://ffmpeg.org/. There are windows C++ sources.

Cipi
  • 11,055
  • 9
  • 47
  • 60
0

The avi file duration can usually be easily calculated from information in the header. Getting a still will require decoding the video stream using ffmpeg or similar, as Cipi suggests.

Sugrue
  • 3,629
  • 5
  • 35
  • 53