[SailfishDevel] Video playback in application
Janne Pulkkinen
jannepulk at gmail.com
Sun Feb 16 10:22:36 UTC 2014
QtMultimedia doesn't seem to work at the moment, so at the moment I'm using
MediaPlayer with GStreamerVideoOutput:
https://github.com/Matoking/Filetug/blob/master/qml/pages/fileView/Video.qml
2014-02-16 11:04 GMT+02:00 AL13N <alien at rmail.be>:
> Hi,
>
> I have the same issue as below... i compared with the qml of the Gallery
> Video
> play...
>
> i even tried static source with autoplay and autoload like this:
> Page{
> anchors.fill: parent
> SilicaFlickable {
> anchors.fill: parent
> Rectangle {
> color: "black"
> anchors.fill: parent
> MediaPlayer {
> id: mediaPlayer
> source: '/home/nemo/Videos/Camera/file.mp4'
> autoPlay: true
> autoLoad: true
> }
> VideoOutput {
> source: mediaPlayer
> anchors.centerIn: parent
> }
> }
> }
> }
>
> still the same issue...
>
> i saw:
>
> import "mediaplayer.js" as MediaPlayer
>
> is that relevant? are the MediaPlayer QML being overridden, by something
> else?
>
> What am i missing?
>
>
> Op woensdag 1 januari 2014 23:12:28 schreef Julius Loman:
> > Hi
> >
> > I'm trying to play video content in my QML application using VideoOutput
> and
> > MediaPlayer types. So far I haven't been able to get it working even on
> > the Jolla provided videos in /home/nemo/Videos/ , probably due to
> following
> > error:
> >
> > [W] QGstreamerPlayerSession::processBusMessage:1223 - Error: "Internal
> data
> > stream error."
> >
> > Anybody can provide a working example or give me some clues? Playing just
> > audio from same files using QML Audio type seems to work fine.
> >
> > Thank you
> > Julius
> _______________________________________________
> SailfishOS.org Devel mailing list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140216/be253f89/attachment.html>
More information about the Devel
mailing list