logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
Question

streaming to network; gst-plugin-good

Saturday, December 07 2013, 05:14 PM
ej
ej
Offline
0
Hello,

I want to run the following gstreamer pipeline:
gst-launch filesrc location=mySong.wav ! audioconvert ! rtpL16pay ! udpsink host=192.168.2.8 port=5000


This yields to the following error:
WARNING: erroneous pipeline: no element "rtpL16pay"


It seems gst-plugin-good has been installed but gst-inspect does not show the rtpL16pay plugin.

I run IGEPv2 with the OMAP running open Yocto-1.2.2-3 installed according to the procedure on an mmc card.
How can I install this (and other) plugins?

Thanks,

E-J

Accepted Answer

Tuesday, December 10 2013, 09:43 AM - #permalink
0
Hi ej,

Sorry, I forgot to tell you the previous problem. IGEP firmware needs some dependencies to prevent "no element rtpL16pay" error message. You can add them using zypper:

zypper in gst-plugins-good-rtp
zypper in gst-plugins-good-udp

Now, the error will be:

ERROR: from element /GstPipelineipeline0/GstAudioConvert:audioconvert0: not negotiated


That issue seems to be a format error between audioconvert and rtpL16pay.

Cheers!
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    Monday, December 09 2013, 01:13 PM - #permalink
    0
    Hi ej,

    I am not a gstreamer guru, but i think that the error resides in gstreamer command, maybe a format error between audioconvert and rtpL16pay. Did you test it into another machine like x86 pc?
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Monday, December 09 2013, 01:53 PM - #permalink
    0
    pau,

    When I perform a gst-inspect rtpL16pay in the ISEE virtual development machine, I get all the information of the plugin.
    When I perform this action on my Yocto based IGEPv2 board, I get,
    No such element or plugin 'rtpL16pay'


    So the plugin is not available.
    How can I install this (and other) plugins?

    E-J
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Monday, December 09 2013, 07:25 PM - #permalink
    0
    Hi,

    I tried to build the gstreamer plugins myself but I get some errors from the linker.
    Can somebody help me?
    I did the following:

    • I downloaded sources gst-plugins-good-0.10.31
    • tar -xvf gst-plugins-good-0.10.31.tar.xz
    • cd gst-plugins-good-0.10.31
    • source /opt/poky/1.2.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
    • ./configure -target=arm-none-linux-gnueabi -host=arm-none-linux-gnueabi --prefix=/home/jdoe/myGst
    • make

    I get the message:

    make all-recursive
    make[1]: Entering directory `/home/jdoe/myGst/gst-plugins-good-0.10.31'
    Making all in gst
    make[2]: Entering directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst'
    make -C videofilter
    make[3]: Entering directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst/videofilter'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst/videofilter'
    make -C alpha
    make[3]: Entering directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst/alpha'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst/alpha'
    make -C apetag
    make[3]: Entering directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst/apetag'
    CC libgstapetag_la-gstapedemux.lo
    CCLD libgstapetag.la
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgsttag-0.10.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgstpbutils-0.10.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgstbase-0.10.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgstreamer-0.10.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgobject-2.0.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgmodule-2.0.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libxml2.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libgthread-2.0.la' was moved.
    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/libglib-2.0.la' was moved.
    /bin/sed: can't read /usr/lib/libgstbase-0.10.la: No such file or directory
    libtool: link: `=/usr/lib/libgstbase-0.10.la' is not a valid libtool archive
    make[3]: *** [libgstapetag.la] Error 1
    make[3]: Leaving directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst/apetag'
    make[2]: *** [apetag] Error 2
    make[2]: Leaving directory `/home/jdoe/myGst/gst-plugins-good-0.10.31/gst'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/jdoe/myGst/gst-plugins-good-0.10.31'
    make: *** [all] Error 2


    Can someone tell me what is wrong?

    I also tried to set the following variable, no success....
    export PKG_CONFIG_PATH=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/


    Thanks,

    E-J
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Tuesday, December 10 2013, 06:14 PM - #permalink
    0
    Pau,

    That solved my problem!
    When I open two terminals on the igep board, I can stream audio over RTP.
    The IP address of my board is 192.168.2.2

    gst-launch filesrc location=mySong.wav ! wavparse ! audioconvert ! rtpL16pay ! udpsink host=192.168.2.2 port=5000

    gst-launch udpsrc port=5000 ! "application/x-rtp,media=audio,clock-rate=44100,channels=2,payload=96" ! rtpL16depay ! alsasink

    Thanks!

    E-J
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat