[SailfishDevel] Video playback in application

Mohammed Hassan mohammed.hassan at jollamobile.com
Sun Feb 16 22:23:32 UTC 2014


On Sun, Feb 16, 2014 at 11:08:10PM +0100, AL13N wrote:
> Op zondag 16 februari 2014 19:34:29 schreef Mohammed Hassan:
> > On Sun, Feb 16, 2014 at 04:31:24PM +0100, Ove Kåven wrote:
> > > Den 16. feb. 2014 11:32, skrev AL13N:
> > > >Hi, but then... how is the gallery video playback working??? it uses
> > > >VideoOutput as well...
> > > 
> > > If you mean the Jolla Gallery, then it apparently uses
> > > GStreamerVideoOutput, not VideoOutput.
> > 
> > On the phone there is sailfish-components-media-qt5 RPM
> > 
> > do rpm -ql sailfish-components-media-qt5 and check
> > /usr/lib/qt5/qml/Sailfish/Media/VideoPlayer.qml
> > 
> > Beware it's also a private API which might break in future updates.
> > 
> > It should be drop in replacement for VideoOutput but I really don't know
> > much about that.
> 
> well...
> 
> on the phone, i found:
> 
> /usr/lib/qt5/qml/com/jolla/mediaplayer/VideoPlayer.qml
> 
> Therein VideoOutput is used (not GStreamerVideoOutput)... doesn't this mean 
> the gallery app is using the VideoOutput?
> 
> oh wait... i just realized this is not the gallery, it's the media player,... 
> which currently only does Music... because VideoOutput doesn't work?

VideoOutput will simply not work.
Please check /usr/lib/qt5/qml/Sailfish/Media/VideoPlayer.qml and use it as an example
to get video working with your app. VideoOutput from QtMultimedia will simply not work.

I really told you all I know about the video playback WRT QML/QtMultimedia. I don't
think I can add anything more.

Cheers,



More information about the Devel mailing list