We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

sdk: QML Video - "Internal data stream error."

asked 2014-02-17 12:01:35 +0300

Strahlex gravatar image

updated 2014-02-17 12:27:42 +0300

I try to embed a small tutorial video into my application but I get following error:

[W] QGstreamerPlayerSession::play:801 - GStreamer; Unable to play - "file:///usr/share/harbour-qremotecontrol/qml/tutorial/browser_qremote.mp4" 
[W] QGstreamerPlayerSession::play:801 - GStreamer; Unable to play - "file:///usr/share/harbour-qremotecontrol/qml/tutorial/browser_qremote.mp4" 

[W] QGstreamerPlayerSession::processBusMessage:1223 - Error: "Internal data stream error."

The code I use:

    Video {
    source: "browser_qremote.mp4"
    autoPlay: true
    onStopped: play()
    width: parent.width
    //height: 100
    height: 200
}

The video files I tested it with:
http://stud11.technikum-wien.at/~el11b020/browser_qremote.mp4
http://stud11.technikum-wien.at/~el11b020/browser_qremote.avi

The first video is MPEG4 encoded the second one H.264. Both videos work inside QML on my desktop computer.

EDIT: I tried it again with a VP8 encoded Webm video here it explicitly outputs a codec error -> the above errors have probably nothing to do with unsupported codecs.

[W] QGstreamerPlayerSession::processBusMessage:1202 - Warning: "No decoder available for type 'video/x-vp8, width=(int)304, height=(int)156, framerate=(fraction)30/1'."
edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
2

answered 2014-02-17 22:36:22 +0300

Mariusmssj gravatar image

If you want a quicker answers involving development I would suggest asking it on the IRC Channel.

http://webchat.freenode.net/

Name: just pick a name Channels: #SailfishOS And just type on captcha and connect. If you ask there you are very likely to get your answer in few minutes. And if you want to post code use pastebin or http://pastebin.kde.org/

edit flag offensive delete publish link more

Comments

If you do get an answer, please post it here as well, to help others with the same problem.

Fuzzillogic ( 2014-02-17 22:46:29 +0300 )edit
0

answered 2014-02-18 09:09:41 +0300

Strahlex gravatar image

I have no answer to the question but as a workaround and for better platform compatibility instead of the small video a gif image and AnimatedImage can be used. Still it would be good to know what problem the Video item has.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-02-17 12:01:35 +0300

Seen: 1,543 times

Last updated: Feb 18 '14