How to add VLC support in apalis T30

Hi,

In my project, i need to play recored “.wav” and “.ogg” file through apalis T30. To play the audio files i need to have VLC player in my Apalis T30 target board.

So can you please provide the steps to add the VLC support to the Apalis T30?

Can i get VLC after adding
IMAGE_INSTALL_append = “VLC” to local.config

Hi

Yeah, You can add VLC to the Image by appending vlc to IMAGE_INSTALL in your local.conf.

However VLC is a VidoePlayer. If you want to save space on your module, you can use aplay to play audio files on ApalisT30.

Hi Jaski,

Thank you for the reply.

I have tried using aplay, but aplay is not able to play the “.ogg” format files. Because of that i need another player.

Could you upload an example .ogg file for testing? Thanks.

Hi Jaski,
I have added VLC in the local.config. But while compiling the code getting below error and after compilation is getting terminated.

Please find the attached log(VLC_build_error).link text

ERROR: schroedinger-1.0.11-r0 do_fetch: Fetcher failure for URL: ‘http://www.diracvideo.org/download/schroedinger/schroedinger-1.0.11.tar.gz’. Checksum mismatch!

I have also tried to use vorbis-tool to play the “.ogg” file. To play the ogg file i have used below command but getting error:

root@apalis-t30:~# ogg123 -z 0_24_0656.ogg

=== Could not load default driver and no driver specified in config file. Exiting.

root@apalis-t30:~#

So can you please help to resolve this issue?

Hi Jaski,

Please find the attached sample.ogg file.link text

Thanks for the file.

As I already said, VLC should not be used for embedded.

You can play the .ogg file by doing the following:

  1. opkg update
  2. 'opkg install gst-plugins-base-vorbis`
  3. gst-launch filesrc location=Example.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! alsasink device=hw:0,0

Hi Jaski,

My local.config having following extra packages:

IMAGE_INSTALL_append = " mysql5 vorbis-tools"

After executing the command provided by you, i am getting below error’s:

root@apalis-t30:~#
root@apalis-t30:~# ls -l sample.ogg
-rwxr-x— 1 root root 289783 Jun 22 05:25 sample.ogg
root@apalis-t30:~#
root@apalis-t30:~# opkg update

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7ahf-neon/base/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7at2hf-neon/base/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7ahf-neon/gstreamer/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7at2hf-neon/gstreamer/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/all/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7ahf-neon/perl/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7at2hf-neon/perl/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7ahf-neon/python/Packages.gz.

Downloading http://feeds.toradex.com/angstrom/feeds/v2017.12/ipk/glibc/armv7at2hf-neon/python/Packages.gz.

Collected errors:

root@apalis-t30:~#
root@apalis-t30:~# opkg install gst-plugins-base-vorbis
No packages installed or removed.
root@apalis-t30:~#
root@apalis-t30:~# gst-launch filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! alsasink device=hw:0,0
WARNING: erroneous pipeline: no element “vorbisdec”
root@apalis-t30:~#
root@apalis-t30:~#

Is the module connected to Internet? Once vorbisdec component is installed (can be checked with gst-inspect | grep vorbisdec), then the playing of .ogg files should work out of box.

Hi Jaski,

Apalis T30 board is connected to Internet. I can see vorbisdec in my apalis T30. But when i am trying to play the sample.ogg file, i am getting error as mentioned below.

root@apalis-t30:~# gst-inspect | grep vorbisdec

ivorbisdec: ivorbisdec: Vorbis audio decoder

omx: nv_omx_vorbisdec: OpenMAX IL Vorbis audio decoder

root@apalis-t30:~#

root@apalis-t30:~# gst-launch filesrc location=sample.ogg! audioconvert ! audioresample ! alsaevice=hw:0,0

WARNING: erroneous pipeline: link without sink element

root@apalis-t30:~#

No, ivorbisdec and nv_omx_vorbisdec won’t work. You really do have to install the regular vorbisdec which is contained in gst-plugins-base-vorbis. Plus your pipeline is wrong. As @jaski.tx pointed out above:

gst-launch filesrc location=Example.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! alsasink device=hw:0,0

Hi Marcel,

How can i install regular vorbisdec ?

Hi Marcel,

Still i am not able to play after using proper pipeline.

How can i install regular vorbisdec?

Hi Marcel,

How to install regular vorbisdec in apalis t30?

Hi Marcel,

How can i install regular vorbisdec in apalis T30?

@deepak.singh our system keeps notifying us of you having left further comments. However, we can’t find any anywhere. Can you try again? Alternatively, you may ask a new question.