[Qt-interest] Play videos in Qt

Jonathan Wong jhannwong at gmail.com
Sat May 2 11:46:04 CEST 2009


About VLC...

libVLC has some bugs. libCoreVLC (if I'm right about that name) works perfectly.

Unless you pull in libCoreVLC into your source codes, you are unlikely to get VLC working right.
Work has progressed rapidly in libCoreVLC (the actual codes that run so many video formats so
well). Little work has gone into libVLC, the API interface.

VLC no longer operates entirely through libVLC, though this was touted as an extensibility
feature. You can't just code with libVLC and expect things to work as well as the VLC media player
itself. This issue popped up since they started using Qt, IIRC.

Also, VLC is GPL. You might wanna try investing some effort in diving into GStreamer community
instead.

About Qt and videos (and Phonon)...

Phonon is fantastic. It uses a filter and input/sink pads architecture similar to GStreamer
(filter and input/output "pins" in DirectShow).

Using Phonon, you can expect cross-platform video capabilities.

At the moment, Phonon is very young, and may not support all of DirectShow's or GStreamer's
capabilities. For now, you can debug whatever rare bugs you find in Phonon, extend it to support
more of DirectShow/GStreamer, and compile it for you own use. Note the LGPL, though.

I debug Phonon too. Though I'm not sure if that violates the LGPL.

I also modified Phonon to expose the backend renderers, so I can access the fancier capabilities
in DirectShow/GStreamer. I'm not sure why the Phonon authors wanted to seal away the backend
renderers. They didn't use to do this before, I'm guessing from the codes.

In the worst case, I may have to write my own "Phonon". :)

Mike Inman wrote:
> That's a possibility, but my video player app is part of my 2% project 
> (like Google gives 20% of your time, or 8 hours a week, toward projects 
> of your choosing, I have put my foot down at home and demanded that I 
> get at least 1 hour a month to code interesting stuff ;-)  as such, I'm 
> not sure I could keep up with VLC's rate of change - which is why Phonon 
> was so attractive in the first place.
> 
> How complex (and dynamic) is the library set that goes with VLC?
> 
> 
> Patrick Aljord wrote:
>> You could use VLC directly in your app, it's Qt based too.
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>   
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 




More information about the Qt-interest-old mailing list