PDA

View Full Version : do we have ffmpeg like in qt/qt-modules



h123
8th November 2008, 03:32
Does Qt has ffmpeg like class or module?
Can anybody explain what is the difference between Phonon and ffmpeg?

Thank you.

muellerp
10th November 2008, 08:13
Something like following?

GStreamer uses ffmpeg as one of its modules.
Phonon is a wrapper around GStreamer on Linux.

SunnySan
10th November 2008, 12:01
You can use Qprocess to call Mplayer/Mencoder with use the ffmepg

h123
10th November 2008, 15:56
Currently I am using ffmpeg, but i wnt to remove the dependancy on ffmpeg, if Qt provides something similar.

DanR
9th January 2010, 03:09
Maybe helpful: I wrote an FFmpeg wrapper for QT4. You can find it here: http://code.google.com/p/qtffmpegwrapper

It provides two classes: QVideoEncoder and QVideoDecoder. Frames are passed as QImage to/from the encoder/decoder. Any video format supported by FFmpeg is supported.

There could be a few more exposed functions, but for me it does the job.

Modified BSD license.