logo

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

How to install gstreamer gst-plugins-bad

posted in Programming
Tuesday, December 10 2013, 06:31 PM
ej
ej
Offline
0
Hi,

I try to use the gstreamer plugin liveadder.
According to the gstreamer documentation this element should be part of gst-plugins-bad.

I tried to install (zypper install...):

  • gst-plugins-bad
  • gst-plugins-bad-app

but gst-inspect liveadder does not find the element.

Any idea which package I should install?

Thanks,

E-J

Accepted Answer

ej
ej
Offline
Thursday, December 26 2013, 07:42 PM - #permalink
0
I think I have the answer to this already found.
See this question.

Thanks,
E-J
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Wednesday, December 11 2013, 10:26 AM - #permalink
    0
    Hi ej,

    Liveadder plugin is not compiled by default in demo-image-sato image (aka IGEP default firmware). I recommend to download and compile demo-image-sato (follow Poky 7.0.y denzil wiki tutorial) and add to gstreamer recipe the liveadder plugin.

    Finally, you can use igep-media-create to prepare a SD card

    Cheers!
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Thursday, December 12 2013, 06:45 AM - #permalink
    0
    Hi Pau,

    I tried to follow the recipe described in Poky_7.0.y_denzil but I get the following error message:
    ### Shell environment set up for builds. ###

    You can now run 'bitbake '

    Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

    You can also run generated qemu images with a command like 'runqemu qemux86'

    jdoe@ubuntu ~/denzil/poky/build $ cd conf/
    jdoe@ubuntu ~/denzil/poky/build/conf $ vi bblayers.conf
    jdoe@ubuntu ~/denzil/poky/build/conf $ vi local.conf
    jdoe@ubuntu ~/denzil/poky/build/conf $ cd ..
    jdoe@ubuntu ~/denzil/poky/build $ bitbake demo-image-sato
    Traceback (most recent call last):
    File "/home/jdoe/denzil/poky/bitbake/bin//bitbake", line 30, in
    import optparse
    ImportError: No module named optparse
    Pseudo is not present but is required, building this first before the main build
    Traceback (most recent call last):
    File "/home/jdoe/denzil/poky/bitbake/bin//bitbake", line 30, in
    import optparse
    ImportError: No module named optparse
    jdoe@ubuntu ~/denzil/poky/build $


    bitbake core-image-sato leads to the same error.
    Any idea what I missed?

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

    Friday, December 13 2013, 09:31 AM - #permalink
    0
    Hi ej,

    What IGEP SDK VM version are you using?

    I tested the steps into Linux Mint Lisa (11.10) version without issues?

    Supported distros
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Saturday, December 14 2013, 04:21 PM - #permalink
    0
    Pau,

    I used the latest version available in the ISEE downloads website.
    IGEP Virtual Machine SDK - Lisa Mint 12 (Lisa)
    Version: 2.0 - 20120725

    I did the following within this virtual machine:

    mkdir /home/jdoe/denzil
    There I followed the recipe: Poky_7.0.y_denzil.
    New directories were created and I modified files according to the instruction.
    Finally I typed
    bitbake demo-image-sato
    in the directory poky/build.
    This is resulting in an error message.

    I'm curious if I did comply to this remark in the recipe
    Having done that, and assuming you downloaded the BSP contents at the top-level of your yocto build tree, you can build a igep image by adding the location of the 'meta-isee' layer to 'bblayers.conf'

    I also see I have python 2.7.2 in the virtual machine while the yocto documentation prescribes python 2.7.3 or higher.
    E-J
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 16 2013, 10:42 AM - #permalink
    0
    Hi ej,

    try to install or reinstall: "python2.7-minimal" package

    Cheers!
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Monday, December 16 2013, 06:58 PM - #permalink
    0
    Pau,

    That solved my problem indeed, thanks.
    Wonder why this is not installed in the default Linux Mint virtual machine...

    Now I will try to build the gstreamer plugin liveadder.
    Can you point me where to download the bitbake recipe (and source code)?


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

    Tuesday, December 17 2013, 08:58 AM - #permalink
    0
    Hi ej,

    I installed IGEP SDK VM from scratch, "python2.7-minimal" package is installed by default, for some reason you didn't have this dependency.

    Recipe is located at: (root path)/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
    The reply is currently minimized Show
  • Accepted Answer

    ej
    ej
    Offline
    Saturday, December 21 2013, 07:21 PM - #permalink
    0
    Hi Pau,

    I succeeded in compiling the gstreamer liveadder plugin and I was able to install it on the target, it works!
    However, I have made a few shortcuts which make me think I made some mistakes.

    This is what I did:
    I added liveadder in the file:
    /home/jdoe/poky/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb

    EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \
                     --with-plugins=musicbrainz,wavpack,ivorbis,mpegvideoparse,liveadder --disable-vdpau --disable-apexsink \
                     --disable-orc"


    Then I followed the recipe Poky_7.0.y_denzil and installed the new image on my SD card (recipe create_a_SD-card_with_the_latest_software_image).
    After the build (that took an awful long time), I did not find the liveadder plugin on my target (gst-inspect | grep -i liveadder did not give results).
    However I found library files in the virtual machine here: /home/jdoe/poky/build/tmp/sysroots/igep00x0/usr/lib/gstreamer-0.10
    When I copy these liveadder libraries to the target (/usr/lib/gstreamer-0.10/), liveadder works!

    My question, why do the liveadder libraries not show up in the file /home/jdoe/poky/build/tmp/deploy/images/demo-image-sato-igep00x0.tar.bz2?
    What did I do wrong?

    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