site  contact  subhomenews

VLC 2.2.4 compiled for Pi2

October 13, 2016 — BarryK
I posted about VLC on the Pi2 and Pi3 a few days ago:
http://bkhome.org/news/201610/maybe-vlc-for-pi.html

My thinking now is that I will put the CLI VLC (no GUI) into the next build of Quirky, and use sc0ttman's VLC-GTK (or similar) as the frontend.

I left the default ffmpeg from the Ubuntu repo installed. This is how I configured VLC:

# ./bootstrap

# CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -I/opt/vc/include/GLES2 -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -mfloat-abi=hard -I/opt/vc/include/GLES2 -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib" ./configure --prefix=/usr --enable-omxil --enable-omxil-vout --enable-rpi-omxil --disable-mmal-codec --disable-mmal-vout --enable-gles2 --enable-gles1 --sysconfdir=/etc --localstatedir=/var --disable-udev --disable-dbus --enable-optimize-memory --enable-run-as-root --disable-lua --enable-faad --enable-flac --disable-pulse --enable-alsa --disable-atmo --disable-bonjour --disable-vsxu --disable-projectm --disable-goom --enable-libgcrypt --enable-dvdread --enable-dvdnav --enable-vlc --enable-schroedinger --enable-theora --enable-ncurses --enable-dc1394 --enable-xvideo --with-x --disable-jack --enable-x264 --enable-x265 --enable-dvbpsi --disable-qt --enable-vpx --enable-vorbis --enable-libmpeg2 --enable-a52 --enable-mad --enable-ogg --disable-skins2 --disable-static --enable-shared
<

sc0ttman's VLC-GTK doesn't work anymore. Part of the problem is that VLC options have changed. sc0ttman has lots of version tests for different versions of VLC, however, that was some years ago, back around 2010 I think.

I also found other issues. Did eventually get a still image appearing on screen, with the OSC (On Screen Controls) window, but the video doesn't play. Well, could work on it some more, but I am thinking perhaps make a clean start, a brand new frontend.

Tags: linux