[vlc] Problems running vlc 0.8.6a on Linux ARM

James W. Mills jmills at awayfar.org
Tue Apr 3 01:17:54 CEST 2007


Hi.

I am trying to build vlc for an embedded ARM device, and I am running 
into some problems.  I initially started with VLC 0.8.4, and it worked 
very well.  I built it to support an incoming ts stream of either mp3 or 
aac.

However, I have need of some ruby bindings to the language that require 
0.8.6 (or newer).  So, I downloaded 0.8.6a source code from the vlc 
website, and tried the same configure process that I used for 0.8.4.  
This failed due to the fact that "--disable-plugins" does not seem to 
work very well anymore.  So, I began tuning the configure parameters, 
taking out things I did not absolutely need.  Here is what I ended up with:

./configure --build=i686-linux --host=arm-linux --target=arm-linux 
--prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc 
--sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib 
--includedir=/usr/include --oldincludedir=/usr/include 
--infodir=/usr/share/info --mandir=/usr/share/man 
--with-dvbpsi-tree=./../libdvbpsi4-0.1.5 --disable-dvdnav 
--disable-fribidi --disable-x11 --disable-xvideo --disable-glx 
--disable-opengl --disable-sdl --disable-freetype --disable-libxml2 
--disable-qte --disable-qt-video --disable-fb --enable-oss 
--disable-alsa --disable-skins --disable-skins2 --disable-gtk 
--disable-gtk2 --disable-pda --disable-gnome --disable-gnome2 
\--disable-wxwidgets --disable-qt --disable-qt4 --disable-kde 
--disable-xosd --disable-visual --disable-goom --disable-slp 
--disable-daap --disable-bonjour --disable-joystick --disable-nls 
--disable-dbus --disable-hal --disable-ffmpeg --disable-screen 
--disable-dvdread --disable-hal --disable-dvdnav --disable-png --enable-faad

I run ./bootstrap, this configure line, make, and make 
DESTDIR=/tmp/arm_vlc install.  The build goes fine, but I end up with 
several scripts in place of .so files:

jmills at jackdaw:/tmp/arm_vlc$ find . -name \*.so -exec file {} \;|grep Bourn
./usr/lib/vlc/mux/libmux_ogg_plugin.so: Bourne-Again shell script text 
executable
./usr/lib/vlc/codec/libvorbis_plugin.so: Bourne-Again shell script text 
executable
./usr/lib/vlc/codec/libfaad_plugin.so: Bourne-Again shell script text 
executable
./usr/lib/vlc/codec/liblibmpeg2_plugin.so: Bourne-Again shell script 
text executable
./usr/lib/vlc/demux/libogg_plugin.so: Bourne-Again shell script text 
executable
./usr/lib/vlc/demux/libid3tag_plugin.so: Bourne-Again shell script text 
executable
./usr/lib/vlc/demux/libmp4_plugin.so: Bourne-Again shell script text 
executable
./usr/lib/vlc/services_discovery/libsap_plugin.so: Bourne-Again shell 
script text executable
./usr/lib/vlc/audio_filter/libmpgatofixed32_plugin.so: Bourne-Again 
shell script text executable
./usr/lib/vlc/audio_filter/liba52tofloat32_plugin.so: Bourne-Again shell 
script text executable


I can tar up the ./usr/lib and ./usr/bin directories of 
the"/tmp/arm_vlc" and unpack them on my ARM device.  All dependencies 
are met.  But vlc complains of not being able to load the so files 
listed above.  It will not even playback an mp3 file! :( Removing these 
files does not help either...

I have tried a subversion trunk build as well, with the exact same 
parameters and steps as above.  It compiles up, and there are no ".so 
shell scripts".  I can see the relink command being run as I do the make 
install step.  If I tar this up and move it to my device, it finds all 
of the needed modules and begins to play my mp3.  However, I only get 
"main audio output warning: PTS is out of range" errors and no audio.  
Same for AAC files.


I could really use some help here.  Can some one please tell me what I 
am doing wrong with VLC >= 0.8.6a for my ARM device?

Thanks,
~james

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list