Skip to contentSkip to conversation

gstreamers xvimagesink not working

DISCUSSION Fabian Schwartau 1 participant 2 messages Nov 30, 2014 – Dec 2, 2014

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw

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: 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?