[gst-embedded] how to let gstreamer and dsplink to work

Stefan Kost ensonic at hora-obscura.de
Tue Apr 21 06:24:27 PDT 2009


hi,

Favor Tang schrieb:
> Hi. all
>
>     These days I am working on dsplink/gstreamer, I just have  dsplink
> worked, also, I have already compiled the gstreamer_ti plugin and
> Ti-code-engine worked as well.
>
>     I load dsplink module as below, I think it had been loaded successfully:
>
> root at beagleboard:~#
> /usr/share/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh
> You have 60324kB total memory for Linux
> ioremap_nocache(0x85000000, 16777216)=0xc7000000
> allocated heap buffer 0xc7000000 of size 0xea000
> cmem initialized 7 pools between 0x85000000 and 0x86000000
> DSPLINK Module (1.60) created on Date: Apr  8 2009 Time: 10:39:08
>
>     I can do some dsplink test ( it works), I have the lpm modules
> work  as well, for example:
>
> root at beagleboard:/usr/share/dspsample# ./lpmON.x470uC
> ==== LPM ON Test ====
> app: LPM_open
> app: LPM_set(LPM_CTRL_REFCOUNTOVR)
> app: LPM_on
> app: LPM_close
> ==== All Done ====
>
> root at beagleboard:/usr/share/dspsample# ./lpmOFF.x470uC
> ==== LPM OFF Test ====
> app: LPM_open
> app: LPM_set(LPM_CTRL_REFCOUNTOVR)
> app: LPM_off
> app: LPM_close
> ==== All Done ====
>
> root at beagleboard:/usr/share/ti-dsplink# ./messagegpp message.out 10000
> this works well with some normal messages output.
>
> when I am uising gst-inspect command like below, I got these gst
> elements. As we can see, I got gstreamer-ti plugin.
>
> root at beagleboard:~/gstreamer_demo/omap3530# gst-inspect  | grep TI
> (gst-inspect-0.10:1663): GStreamer-WARNING **: Failed to load plugin '/usr/lib/g
> streamer-0.10/libgstsubparse.so': /usr/lib/gstreamer-0.10/libgstsubparse.so: und
> efined symbol: parse_sami
>   
first remove this element and report a bug against ti, they mispackages it.

rm /usr/lib/gstreamer-0.10/libgstsubparse.so


> TICodecPlugin:  TIDmaiVideoSink: TI DMAI Video Sink
> TICodecPlugin:  TIAuddec1: TI xDM 1.x Audio Decoder
> TICodecPlugin:  TIAuddec: TI xDM 0.9 Audio Decoder
> TICodecPlugin:  TIImgdec: TI xDM 0.9 Image Decoder
> TICodecPlugin:  TIImgdec1: TI xDM 1.0 Image Decoder
> TICodecPlugin:  TIImgenc: TI xDM 0.9 Image Encoder
> TICodecPlugin:  TIImgenc1: TI xDM 1.0 Image Encoder
> TICodecPlugin:  TIViddec2: TI xDM 1.2 Video Decoder
> TICodecPlugin:  TIViddec: TI xDM 0.9 Video Decoder
> TICodecPlugin:  TIVidenc: TI xDM 0.9 Video Encoder
> TICodecPlugin:  TIVidenc1: TI xDM 1.x Video Encoder
> ffmpeg:  ffdec_vcr1: FFMPEG ATI VCR1 decoder
>
> however, those all above work well, I still cannot get
> gstreamer/dsplink worked together, how and why? any ideas?
>
> First test ~~~~~~~
>
> root at beagleboard:~/mediaFile# gst-launch filesrc
> location=/home/root/mediaFile/3.m4v ! qtdemux name=demux
> demux.video_00 ! TIViddec2 ! TIDmaiVideoSink
> (gst-launch-0.10:1699): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstsubparse.so':
> /usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol:
> parse_sami
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ..
> New clock: GstSystemClock
> Got EOS from element "pipeline0".
> Execution ended after 31982425 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
>   
I don't see any error. it seems to work as far as gstreamer is concerned.
> Second test~~~~~~~
>
> root at beagleboard:~/mediaFile# gst-launch -v filesrc
> location=/home/root/mediaFile/3.m4v ! qtdemux name=demux
> demux.video_00 ! TIViddec2 ! xvimagesink
>
> (gst-launch-0.10:1714): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstsubparse.so':
> /usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol:
> parse_sami
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element
> /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not
> initialise Xv output
> Additional debug info:
> xvimagesink.c(1668): gst_xvimagesink_xcontext_get (): /GstPipeline:pipeline0/Gst
> XvImageSink:xvimagesink0:
> Could not open display
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> I didn’t get any video output on the screen. how should I do to test
> if gstreamer/dsplink works? What about above tests errors?
>   
Do you run a xserver? does it support xvideo? (get yourself xvinfo from
x11-tools).

Stefan
> thanks for your attention, any help is welcome.
>   





More information about the Gstreamer-embedded mailing list