Try to use gstreamer and LTIB fails to build freescale specific libraries for SabreSD board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Try to use gstreamer and LTIB fails to build freescale specific libraries for SabreSD board

2,428 Views
makislivadas
Contributor IV

I tried to use gstreamer to view a video on the lcd display of a SabreSD board. I use

gst-launch playbin2 uri=....

But I get a message that a plugin is missing.

I discovered that I don't have the element mfw_v4lsink.

Tried to use LTIB to install gst-fsl-plugins but LTIB is not able to build. (./ltib --configure)

Here is what I am getting from the build

---------------------------------------------------------

Processing: gstreamer-core
============================

Processing: gst-plugins-base
==============================

Processing: gst-plugins-good
==============================

Processing: gst-plugins-bad
=============================

Processing: gst-plugins-ugly
==============================

Processing: gst-ffmpeg
========================

Processing: gst-plugins-farsight
==================================

Processing: xorg-x11-proto-devel
==================================

Processing: xorg-server
=========================

Processing: libXrandr
=======================

Processing: firmware-imx
==========================

Processing: imx-lib
=====================

Processing: imx-test
======================

Processing: kobs-ng
=====================

Processing: libfslcodec
=========================
Build path taken because: no prebuilt rpm,
Testing network connectivity
OK GPP:

Try libfslcodec-3.0.5.tar.gz.md5 from the GPP
http://bitshrine.org/gpp/libfslcodec-3.0.5.tar.gz.md5:
19:35:04 ERROR 404: Not Found.
Try libfslcodec-3.0.5.tar.gz from the GPP
http://bitshrine.org/gpp/libfslcodec-3.0.5.tar.gz:
19:35:04 ERROR 404: Not Found.
Can't get: libfslcodec-3.0.5.tar.gz at ./ltib line 802.


f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Tue Aug  6 19:28:00 2013
Ended:   Tue Aug  6 19:35:04 2013
Elapsed: 424 seconds

These packages failed to build:
libfslcodec

Build Failed

-----------------------------------------------------

I using LTIB from the latest release of Linux for iMX6 from the freescale site.

Is this a known issue?

Do I need to build gst-fsl-plugins in a different way outside of LTIB main configuration tool (./ltib --configure)?

Labels (1)
7 Replies

992 Views
LeonardoSandova
Specialist I

Hi Martin,

that is strange. Please reinstall ltib and select the GNOME profile at the first menuconfig. Make sure you have the MM codecs under the correct folder (/var/tmp/pkgs).

Leo

0 Kudos

992 Views
makislivadas
Contributor IV

Hi Leo,

I have attempted to build Linux image with GNOME profile but seem to have problem building alsa-utils, The build process was quite advanced when this happened.  I am getting the following error during configuration:

-----------------------------------------------------------

checking form.h usability... yes
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanel... no
configure: error: panel library not found
error: Bad exit status from /home/makis/imx6/ltib/tmp/rpm-tmp.26271 (%build)


RPM build errors:
    Bad exit status from /home/makis/imx6/ltib/tmp/rpm-tmp.26271 (%build)
Build time for alsa-utils: 6 seconds

Failed building alsa-utils


f_buildrpms() returned an error, exiting
traceback:
main:572

---------------------------------------------------

Tried a few google hints but none work so far for me.

Any hints you may have here will be welcomed.

Makis

0 Kudos

992 Views
makislivadas
Contributor IV

I seen this post but did not seem to fix it for me. I am using Unity in Ubuntu so I guess this may be the issue. I suspect I need to start Ubuntu with gnome interface. I have disabled alsa-utils with the  "./ltib --configure" interface as a temp fix and the build with gnome profile just finished successfully.

0 Kudos

992 Views
makislivadas
Contributor IV

Just boot Ununtu into gnome interface, but alsa-utils still not build for me. I should be OK without them as they should not be needed for using gstreamer on my SabreSD board.

0 Kudos

992 Views
makislivadas
Contributor IV

Managed to fix alsa-utils build buy doing this in the rootfs generated by ltib

$ cd rootfs/usr/lib

$ sudo ln -s libncurses.so libtinfo.so

Looks like build requires  libncurses.so with a different name libtinfo.so.

I seen this in a thread somewhere and it seems to work for me after I do this, ltib is building OK alsa-utils package.

0 Kudos

992 Views
makislivadas
Contributor IV

Thanks, I'll check your suggestion. Yes, I am currently using minimal profile so hopefully the GNOME profile works.better.

In the meantime I found this earlier post

https://community.freescale.com/thread/308155

which seems to be very similar to my issue. I managed to download the codecs and ltib builds additional libraries with my current profile.

I will need to see if they work on the SabreSD board tomorrow though.

0 Kudos