[Panda] gstreamer issue?

75 views
Skip to first unread message

Milan Babel

unread,
Apr 22, 2013, 5:58:05 AM4/22/13
to openbric...@googlegroups.com
Hi,

could it be that gstreamer is somehow broken on panda?
When trying to start a video on xbmc with dvdplayer everything is fine. With gstplayer xbmc gets unresponsive and nothing happens.
Running gst-launch by hand gives:
# gst-launch -v filesrc location=file:///media/5d6bf575-72d8-4fe8-a376-dd40922a865d/movies/trai
ler_1080p.mov ! ducatih264enc ! fakesink
Setting pipeline to PAUSED ...
libdce-x11.c:64: dce_auth_x11 info: attempting to open X11 connection
libdce-x11.c:119: dce_auth_x11 error: DRI2Authenticate failed
libdce-wayland.c:130: dce_auth_wayland info: attempting to open wayland connection
error: XDG_RUNTIME_DIR not set in the environment.
libdce-wayland.c:133: dce_auth_wayland error: Could not open display
libdce.c:447: init info: no X11/wayland, fallback to opening DRM device directly

I have found this thread
http://e2e.ti.com/support/omap/f/849/p/218162/768585.aspx
but root has the correct rights. I did not removed any package from the panda defconfig, is still something missing?
I have no clue....

Regards,
Milan

Florent Thiery

unread,
Apr 22, 2013, 7:20:13 AM4/22/13
to openbric...@googlegroups.com
Libdce requires X11 (because hw acceleration uses the GPU); your pipeline shows that xorg isn't running, or you didn't allow your shell to launch graphical applications.

You can try to add this to your shell:
export DISPLAY=:0
xhost +local:

Try again, maybe the "Could not open display" will not appear.

Florent

Rudi

unread,
Apr 23, 2013, 1:51:16 AM4/23/13
to openbric...@googlegroups.com
Hi,

> # gst-launch -v filesrc location=file:///media/5d6bf575-72d8-4fe8-a376-dd40922a865d/movies/trai
> ler_1080p.mov ! ducatih264enc ! fakesink

What is this pipe supposed to do ? To me it looks like it's trying to re-encode (?) an
already compressed video.

Did you copy this from the link you spectified ? In the example shown there, they are
indeed encoding raw YUV video frames into H264.



--

Ruediger "Rudi" Ihle


Milan Babel

unread,
Apr 23, 2013, 2:07:58 AM4/23/13
to openbric...@googlegroups.com
It was originally decodebin2, I just wanted to specify ducatih264dec
direct, however this does not change anything. I only wanted to test if
gstreamer with a ducati pipeline works.
It is not working in xbmc. Anybody an idea how to test this? xhost is
not available. Also i do not have a shell in xorg. startx is also not
present...

Regards,
Milan

Thomas Genty

unread,
Apr 23, 2013, 2:31:59 AM4/23/13
to openbric...@googlegroups.com
Le 22/04/2013 11:58, Milan Babel a �crit :
> Hi,
Hello,
> could it be that gstreamer is somehow broken on panda?
Can you try this :
remove directory /root/gstreamer-0.10
reboot

it doesn't work , retry another time

For unknown reason it works after the 2 or 3 boot.
Tom

Florent Thiery

unread,
Apr 24, 2013, 5:16:42 AM4/24/13
to openbric...@googlegroups.com
gst-launch -v filesrc location=file:///media/5d6bf575-72d8-4fe8-a376-dd40922a865d/movies/trailer_1080p.mov ! ducatih264dec ! fakesink

Btw this cannot work: you still need to demux.

Try:
gst-launch -v filesrc location=file:///media/5d6bf575-72d8-4fe8-a376-dd40922a865d/movies/trailer_1080p.mov ! qtdemux ! ducatih264dec ! fakesink

Even if you are not using the xv/x sink, i believe that ducati may still need Xorg access (export DISPLAY etc...)



2013/4/23 Milan Babel <overf...@gmail.com>


--
You received this message because you are subscribed to the Google Groups "OpenBricks Development List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openbricks-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Florent Thiery

-------------------------------------------
UBICAST - Beyond RichMedia
C.T.O. - Directeur Technique
Skype: florent.thiery
-----------------------------------------
Reply all
Reply to author
Forward
0 new messages