Hello,
I succesfully compiled the EZSDK and run the uImage, now I did use the ffmpeg to play an mp3 file, but this is not supported.
How can I add an MP3 decoder at the EZSDK, or MP3 player with codec?
Thanks in advance!
Regards Patrick
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I succesfully compiled the EZSDK and run the uImage, now I did use the ffmpeg to play an mp3 file, but this is not supported.
How can I add an MP3 decoder at the EZSDK, or MP3 player with codec?
Thanks in advance!
Regards Patrick
Hello Patrick,
This page should have what you need: http://processors.wiki.ti.com/index.php/ARM_Multimedia_Users_Guide#Re-enabling_Mp3_and_Mpeg2_decode_in_the_AM_SDK
Josh
Hello,
Thanks for the reply, but I tried this without any succes.
I did changed the './configure --host=arm-arago-linux-gnueabi --prefix=/usr'
in to './configure --host=arm-linux-gnueabihf --prefix=/usr' , because I have the new version of the toolchain.
When busy I get an error that an package glib-2.0 not is found, when this is installed. The following error come out:
No package 'glib-2.0' found
No package 'gobject-2.0' found
No package 'gthread-2.0' found
No package 'gmodule-no-export-2.0' found
Configure: error: This package requires GLib >= 2.24 to compile.
Thanks for advance!
EDIT:
I did compile the Gstreamer, I saw one thing wrong. I did not source the environement.
Little question though: What means DESTDIR=<PATH TO TARGET ROOT>, what must I fill in here.
Thanks in advance
DESTDIR is usually used when your going to do a make install and should be the location of your target root filesystem.
Now I did compile the gstreamer as followed in the Wiki for MP3 support and installed in the root filesystems.
But it seems still not being working. When I using gst-launch of ffmpeg. What is the correct command to play MP3?
Franklin,
I have a customer trying to do this as well. I am able to successfully build per the instructions on the wiki however it does not seem to build a MP3 decoder.
When I run I get this message...
root@am335x-evm:~# gst-launch-0.10 playbin uri=file:///home/root/sample.mp3
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
Missing element: MPEG-1 Layer 3 (MP3) decoder
ERROR: from element /GstPlayBin:playbin0: You do not have a decoder installed to handle this file. You might need to install the necessary plugins.
Additional debug info:
gstplaybasebin.c(2323): prepare_output (): /GstPlayBin:playbin0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Can you please test out the instructions on the Wiki against SDK 06.00 to see if there is an issue? gst-inspect does not show a decoder listed but does show mpegaudioparse so that at least was properly installed.
Thanks,
Tim