Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#1
While attempting to insert a video into my application, I always get this error:

Code:
setup_buffers: couldn't allocate buffer: not-linked

           dsp_thread: failed waiting for events
Tried with both QT Mobility 1.1/1.2

Currently on QT 4.7.0 (I think) and the application is written using Qt Quick.
 
Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#2
Bumping due to the ridiculous hour I posted. Hoping that more people see it at this hour.
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#3
The source code of the relevant part could be useful for someone trying to help?
 
Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#4
Well, I've tried numerous different methods. Basically, anything involving the video element doesn't work. Changes to width and height do nothing. Have tried mp4 files, 3gp files and AVI files.

Code:
 import QtQuick 1.0
 import QtMultimediaKit 1.2

 Video {
     id: video
     width: 800
     height: 480
     source: "/home/user/MyDocs/bird.avi"

     MouseArea {
         anchors.fill: parent
         onClicked: {
             video.play()
         }
     }
}

Last edited by Reffyyyy; 2011-03-04 at 15:47.
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#5
Now so familiar with QML syntax, but is it allowed to have whitespace there after "width" and "height"?
 
Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#6
Just a typo, no whitespaces in my application.
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#7
I'm having similar problems with the QML video component (no error message, but a blank screen and no audio), and I've yet to see a working example on the N900. :/
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 
Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#8
This is essentially the only hurdle left for me before my application has any real functionality.

According to some Google results, it's an issue with Gstreamer.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:31.