Yes, VLC can be installed on the recommended Debian image using sudo apt-get install vlc.
As far as I understand, VLC (>= 1.1) uses the VAAPI to decode video, if it is available. VAinfo should tell you whether hardware decoding is available and since all packages are available for armel, hardware acceleration should work from the technical side. Since ...
Netcat (nc) seems to be the one with the smallest delay.
In my experience, VLC has the biggest delay. On the other hand, there is a VLC client for Android, which is convenient.
<IP-OF-THE-CLIENT> is the IP of the computer that should receive the video stream.
<IP-OF-THE-RPI> is the IP of the Raspberry Pi.
On the client
(Run the ...
VLC is available in the extra repository for Arch Linux ARM.
However, unless I'm mistaken, VLC doesn't yet support hardware acceleration with the GPU on the Pi. This means playback wont be as good as using OMXPlayer (see this question for more information).
I will make this answer more general. There are couple of things that one should check if having problems with audio. In no particular order:
Check if it's not PCM sample rate/format problem
Currently RPi ALSA driver has no nmap support. This makes plug ALSA plugin behave badly. This plugin should let you play any PCM format you like converting it if ...
That's probably not what you are wanting from answers, but I do not recommend VLC streaming at all..
For a school project, I tried some streaming options (on RPi too!) :
Using VLC and MJPEG (and some other less known), I had latency between 3 and 5 seconds..
Using GStreamer, NO LATENCY and with a best resolution (and lots of more ...
If you would like to learn about OpenGL ES used on Raspberry Pi here is a interactive walk through with examples.
You can find out more about OpenGL at opengles-book
That can be useful for the GUI and at the moment you do not need X to run them (in some ways nice but in other not nice)
You would also need to implement hardware decoding video using the ...
First off, you need to install the vlc package.
sudo apt-get install vlc
You should see a few things show up on the terminal, and then a Do you want to continue [Y/n]? Click Y.
Next, you need to make VLC the default application to open these types of files. Right-Click on one of your .iso files. Click on Properties. Then go to Open with: and select ...
There is a simple but functional media player called omxplayer specially developed for the Raspberry Pi. It uses the GPU for video decoding, something VLC might not (yet?) do. Omxplayer should be available through the package manager, apt-get in this case. It works on the command line, just say
It does not even need to have X running.
vanilla vlc can be installed on archlinux using
pacman -Sy vlc
To get hardware acceleration you might want to compile vlc yourself.
There is a tutorial on vlc compilation at:
which was the basis for gekod's answer above.
I tried to create a script for the whole process and am currently ...
Check your ~/.xinitrc file. It sounds like something listed there to be launched at execution of the startx command isn't starting properly and is hanging, making it look like X hasn't started. (It probably has, it's just showing a black background. Misleading, I know!)
LogiTechUSB Headset worked for me with VLC Media, even when I could not get the Analog Headphones to work! I can get sound on the Analog headphones using the RPi test program:
But the ALSA "default" failed to activate the Analog Headphones!
This is a known problem with libv4l2 and the Raspberry Pi.
The thing is it tries to allocate 256MB os RAM to make that conversion, which is all the memory of Model A and half of Model B.
If you are using model A your only hope is to create a Swap file/drive big enough for accomodating that conversion. 256MB should be the minimum.
If you are using model B, ...
I would recommend OpenElec. It's an open source media player distribution and works very well out of the box on a 256MB Model B RasPi, able to play media files from a USB key or over a network.
There are installation images (and source code) available from the website and there is a RasPi compatible image available by automatic download with BerryBoot (...
You don't need to use v4l2 to capture sound through PulseAudio.
First of all, find the correct device for pulseAudio. If you're using PulseAudio as a daemon, run this command at the command line:
pacmd list-sources | awk '/name:.+\.monitor/'
You should get output such as:
So you have 2 programs that you want to run at the same time and have them both launched at boot.
Personally, I'd be inclined to do this with init.d scripts. I have had success using the example shown on this page: http://blog.scphillips.com/posts/2013/07/getting-a-python-script-to-run-in-the-background-as-a-service-on-boot/
Although the page refers to a ...
The 'standard' library for working with the Pi camera module in Python is picamera, described here by the Pi Foundation as:
python-picamera is a pure Python interface to the Raspberry Pi
camera module for Python 2.7 (or above) or Python 3.2 (or above). The
library is written and maintained by Dave Jones.
The linked Pi Foundation page above has a ...
You tried 3 possibilities to start qjackctl on boot up.
I cannot suggest to use it because it's deprecated and known that it has limitations due to Compatibility with SysV. We have seen many problems here on this site using it. Following the recommendation of the developers from systemd you should avoid using it.
fifos are not for saving or reading more than once. You may find tee better suited to your goals.
Untested guess at what you want(split a network stream):
mkfifo myfifo1 myfifo2 && curl -s http://192.168.1.27:8554 | tee myfifo1 > myfifo2;
Other guess at what you want(display and save on rpi):
raspistill --fullpreview --output - >> jpgs....
You can also use OMXPlayer which is shipped with the latest distibution of Raspbian.
sudo modprobe snd_bcm2835
sudo amixer cset numid=3 1
omxplayer -o hdmi [filename]
HDMI output (issue the first two lines if you used jack before - this is the default):
sudo modprobe snd_bcm2835
sudo amixer cset numid=3 0
omxplayer -o local [filename]
AFAIK there is no version of VLC which uses the GPU.
Use omxplayer which is already installed on the Pi and performs much better, because it uses the GPU. It is actually the core of the RASPBMC Media Centre.
NOTE omxplayer runs from the command line.
I used the uv4l driver + streaming option, i only required one connection for streaming through a website.
This tutorial worked for me
I used : uv4l --driver raspicam --auto-video_nr --width 640 --height 480 for letting the thing stream though :) . The default encoding worked faster for me then specifying JPEG.
I was in a similar situation and I especially didn't like the order of actions in the "classic" raspivid -> netcat -> netcat -> mplayer streaming example because it requires entering the client IP on the Pi side. I wanted something that allows me to
request a stream from the Pi
to a single client only
without excess load when idle
So let's start ...
Have a look at the example script in the "recording to a network stream" recipe in the picamera docs. The script at the end of that section listens on a network port and only starts recording video when someone connects. It shouldn't be terribly difficult to modify that recipe so that 1) it's more than a one-shot affair (in the recipe it streams for 60 ...