gstreamers xvimagesink not working
Hi,
I build a core-image-x11 with beaglebone as machine. I added gstreamer 0.10 support which I will need in Qt. However, I am not able to play a video using xvimagesink like this:
gst-launch filesrc location=/home/root/centaur_1.ogv ! oggdemux ! theoradec ! ffmpegcolorspace ! xvimagesink
I get this error:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 147 (XVideo) Minor opcode of failed request: 19 ()
Atom id in failed request: 0x3e
Serial number of failed request: 68
Current serial number in output stream: 69
However, the first frame of the video shows up on the screen for a fraction of a second.
As far as I understood xvimagesink uses hardware acceleration, whereas ximagesink does not. So what do I have to do to get it running? Do I have to build gstreamer-ti?
I found this error message in the xorg log file:
[203203.410] (II) omapfb(0): XV: OMAPFBXVSetPortAttribute [203203.523] (EE) omapfb(0): Failed to allocate video plane memory [203203.523] (II) omapfb(0): XV: OMAPFBXVStopVideoGeneric (0) [203203.548] (II) omapfb(0): XV: OMAPFBXVStopVideoGeneric (1)
I found nothing on this message on google, except a few snippets of source code. Any ideas?
Am 30.11.2014 um 20:48 schrieb Fabian Schwartau:
Quoted 25 lines
Hi,
I build a core-image-x11 with beaglebone as machine. I added gstreamer 0.10 support which I will need in Qt. However, I am not able to play a video using xvimagesink like this:
gst-launch filesrc location=/home/root/centaur_1.ogv ! oggdemux ! theoradec ! ffmpegcolorspace ! xvimagesink
I get this error:Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 147 (XVideo) Minor opcode of failed request: 19 ()
Atom id in failed request:0x3e
Serial number of failed request: 68
Current serial number in output stream: 69However, the first frame of the video shows up on the screen for a fraction of a second.
As far as I understood xvimagesink uses hardware acceleration, whereas ximagesink does not. So what do I have to do to get it running? Do I have to build gstreamer-ti?