Cross-platforum embedded video player ?
-
Hi guys,
I'm looking at a widget that can play video inside a QT application, i'm using QT 5.1.1
So far I found this one :
http://qt-project.org/doc/qt-4.8/phonon-videoplayer.html
I can't find it inside designer though, can you only add it programmatically?Is there any other video player out there? It would be for playing .mp4, .avi and maybe other format.
Thanks! -
Hi,
Have a look at the "multimedia module":http://qt-project.org/doc/qt-5.1/qtmultimedia/multimediaoverview.html it should contain what you need
-
Thanks SGaist for your eternal support
Wow this look really nice, gonna try this now! I love QT :)
http://qt-project.org/doc/qt-5.1/qtmultimediawidgets/videowidget.html -
I tried the demo I just posted.
It works fine for most video file, however, some are not supported due to codecs and stuff like that.I don't want to reinvent the wheel so I was thinking of using VLC media player, a robust and good video player
http://www.videolan.org/vlc/
I'll try that receipe and report back if it works ;)
https://wiki.videolan.org/LibVLC_SampleCode_Qt -
You're welcome but I don't expect to live that long :-D
The codecs supported depends on the platform and the backend used
-
I tried VLC-QT, a really good solution! the easiest in my opinion :
http://projects.tano.si/vlc-qtOne last thing, I would like to use VLC interface, vlc is open source, but I can't seem to find their GUI (it is written in QT). I would like to use their sound widget, the progress bar, and play button who looks nice.
Here is my current video player :
https://www.dropbox.com/s/o65awc07nv3ibi0/videoplayerCustom.pngVLC interface :
https://www.dropbox.com/s/t9efhituweywd5v/vlcInterface.png -
Looking for "this":http://www.videolan.org/vlc/download-sources.html ?
-
Hey SGaist
I got this but I don't have the skill to find the code lol..
why are all the file .c and not .cpp ? in "vlc-2.1.0\src"
I tought QT used C++.. hmmm -
Sure Qt does, it's maybe in their git repository