[Qt-interest] phonon, gstreamer and gapless video playback

Pau Garcia i Quiles pgquiles at elpauer.org
Wed Feb 2 12:01:15 CET 2011


Hello,

Maybe the right solution for you is to use QtGStreamer instead of Phonon

http://gstreamer.freedesktop.org/wiki/QtGStreamer


On Tue, Feb 1, 2011 at 5:03 PM, Lorenzo Marussi <info at lorenzomarussi.it> wrote:
> Thank you for your suggest
>
> Now I use two mediaobjects in a QStackedWidget and I switch beetween
> them when signal finished() is emitted.
>
> But.. I have to play the media when aboutToFinish() signal is emetted to
> have a gapless playback,
> if  I do that when finished() is emitted, the gap is still there.
>
> And this is a problem, 'cause now I lost some frame on the next video..
>
> Some ideas to resolve this now?
>
> Thank you
>
> Il giorno mer, 26/01/2011 alle 13.18 -0800, Jason H ha scritto:
>> Have you tried loading the next media in a secondary instance so that all of the
>> setup on open stuff happens before you start playback? Not in Qt, but using
>> Media Player on Windows I had to have two instances and switch between them for
>> gapless playback, particularly for more modern file formats.
>> Like, say use a widget stack and change the current index.
>>
>>
>>
>> ----- Original Message ----
>> From: Lorenzo Marussi <info at lorenzomarussi.it>
>> To: qt-interest at trolltech.com
>> Sent: Wed, January 26, 2011 3:54:30 PM
>> Subject: [Qt-interest] phonon, gstreamer and gapless video playback
>>
>> Hi All,
>>
>> I have a very annoying trouble with MediaObjects and QT/Phonon.
>>
>> I have a gentoo OS, and I'm using qt-phonon with gstreamer backend,
>> I have alredy installed lastest version of these softwares,
>> including qt-phonon 4.7.1 and GStreamer Core 0.10.32, Base Plugins
>> 0.10.32, Good Plugins 0.10.27, Ugly Plugins 0.10.17, Bad Plugins 0.10.21
>>
>> The problem is that using QT/Phonon MediaObjects in my QT Projects, in
>> the video playback I have a very small black gap beetween videos, and
>> this is very a annoying problem for me.
>>
>> It's something about the VideoWidget impelementation in
>> QT-Phonon/Gstreamer?
>>
>> I read something about playbin2 component on gstreamer that seems to
>> resolve this problem. Is this component the default option for
>> phonon-gstreamer?
>>
>> Best Regards
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
>>
>>
>>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the Qt-interest-old mailing list