Hi,
I finally found a way to play MP3 songs on Nanopi Neo!
I had not so good experiences with ffmpeg on other computers in the past.
But I just followed the instructions on this page and all was fine:
https://trac.ffmpeg.org/wiki/CompilationGuide/UbuntuI had to "configure" with leaving out two libraries I could not find or install:
Code: Select all
apt-get -y install autoconf automake build-essential libfreetype6-dev libsdl1.2-dev libtheora-dev libtool libvdpau-dev l
ibvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
Then for MP3 support what is described under section "libmp3lame" without any problems.
And finally "ffmpeg" compilation leaving out the libraries I had not installed, but including "libmp3lame":
Code: Select all
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --enable-gpl --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-nonfree
And then I played the first MP3 song, without any high or low pass filters with really good headphone sound quality(!). I just checked same song with omxplayer on Raspberry Pi Zero, and I can identify the song, but quality is really bad. That seems to be the reason why in Adafruit posting pointed to further above they did use high/low pass filters. Maybe Nanopi Neo has the needed filter already built in?
Code: Select all
root@FriendlyARM:~/ffmpeg_sources/ffmpeg
The good sound was made possible by this new "finger adapter" for the headphones


Have fun with NanoPi Neo MP3 playing,
Hermann.