Download the most recent VLC source code, configure and compile it:
git clone git://git.videolan.org/vlc.git
cd vlc
export ACLOCAL_ARGS="-I /usr/share/aclocal"
./bootstrap
./configure --prefix=/usr --enable-rpi-omxil --disable-ogg --disable-mux_ogg
make
Compilation will take some hours to complete. Afterwards run:
sudo make install
After starting VLC for the first time, change the following options:
Settings, simple, Audio: make sure, ALSA and bcm2835 are selected
Settings, simple, Video, output: select "OpenMAX IL video output"
Settings, all, Audio: select "deactivate" for audio resampler (important for speed!)
VLC will remember these settings.
Overclocking
your RPi might really help, especially with HD videos. Many 720p videos
and streams work well, but almost no 1080p. But for SD stuff it really
runs fine and will give you more options and control than omxplayer.
Thank you for all the above steps. That’s what I’ve been looking for, since the built-in VLC player coming with UbuntuMATE does not playback any of my videos Only the OMX player does it in full-screen by default.
I will follow the steps described in the “Tutorial: Compile VLC with HW Acceleration” posting originally made available in the Raspberry Pi forum, and take it from there.
OK, I’ve compiled and installed as per instructions above, and have selected for audio the “bcm2835 ALSA Default Device” option and for video the “OpenMAX IL Video Output” option.
Opening a native MP4 video file, I do get sound, however no video output. I tried a few other settings for video, still the same, no video output at all with the latest compiled VLC program, of which I have downloaded the latest source code today. With the OMXplayer, I can play MP4 video files.
I retreived the files again yesterday evening, and compiled the entire source code again. Same results, no video output, sic!
The only recent posting I’ve found up to now is that someone is trying to Cross-compile VLC with MMAL Support resulting from the discussions I’ve found in the Raspberry Pi forum to get a working VLC built with omxil and mmal support.
Will dig through some other forum posts to ascertain whether any other issues are known here…
I think valino just did a copy / paste from another forum. Is it why I ask him if he did success.
His awnser was yes but I really don’t think he does. I try it too without success few weeks ago.
I don’t manage to work vlc but you can do it with ffplay and MPV.
Ffplay is a part of ffmpeg project, you can compile it with mmal acceleration it work.
I will do some tutorial maybe at the end of the next week.
MPV work too (is build on ffmpeg) but only in full screen mode with hw acceleration. I need to post some feature request on there website. Stay tune here
Is good to have some people here trying to get thinks work better.
Thank you carriba !
Send us feedback
Together I think we can improve our raspberry pis !
I have some other ideas I will publish a post soon with some points to improve !
Stay tune !