Thanks again steve,
omxplayer works with that command:
omxplayer -o hdmi <file name>
before you do that though, you need to change the directory in terminal to where the file is located.
but otherwise, all good and very helpful support.
PS: does it player all media types? it plays .mp4 for certain.
I found a useful resource for getting vnc to work. It might help others. http://www.youtube.com/watch?v=c5QCoh8S0N4
Also, tightvnc client will not run the raspberry pi at 24 bit colour. I will investigate.
Set time: http://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/ (for my later use and others)
Hello Fergus, enter omxplayer with nothing after it, and that will give you a list of options. I have just tried the Man page for it, and that doesn't exist!
Regarding media types, see this post on the forum:
There are only two supported, Mpeg4 and h.264. Others may be possible in the future.
> All fixed (audio + resolution)
> Adding to above, every time you start-up the RPi, you have to type (before startx): sudo modprobe snd-bcm2835
You can automate this by adding this command to your ".login" file, which is a file in your home directory with the name .login (note the initial dot). Every time you log in, the commands in this file get automatically executed. If the file doesn't already exist, you can create a new one. The purpose of the dot is to hide the file when you do a normal directory listing.
> Can someone tell me how to install vlc and vnc onto the raspberry pi. I've gotten this far: apt-get install [what comes next?]
vlc isn't gpu accelerated, so wouldn't be expected to work. The only way I know of to get video is with omxplayer or xbmc.
Can you give more detailed intructions for creating the .login file. for example: is the file called: ".login.txt" or just ".login". When I created the file, it did not load the command: "sudo modprobe snd-bcm2835"
Fergus, I don't know if you are aware. but dot files in Linux mean they are hidden. To see if you already have a .local file, enter ls -a (list, show all)
However, try as I might, I could not get the .login file to work, the command from within that file would never load the sound module (lsmod command to check if it has been loaded) for me, hopefully Coder will pop along at some point and let me know what I was doing wrong!
I did however manage to add it to the profile file: sudo nano /etc/profile - copy 'sudo modprobe snd_bcm2835' (note underscore, not dash) and paste it at the end of this file (be careful not to alter anything else) save out this file and then re-boot, everything should be working, or at least it was for me.
Steve & Fergus,
Sorry for the bad advice on .login. I've used that for a long time
on other linux systems, but just now learned that it only works for
certain shells, such as csh.
A better way to do it is to add the line:
to the end of the file: /etc/modules
(after the line that says: vchiq)
Added the line to /etc/modules and sound now works nicely in GUI. but the sound does not work on Quake3 (I think I am missing the sound files though - any idea where to get them.)
. I followed this guide EXACTLY: http://myraspberrypiexperience.blogspot.com.au/p/quake3.html so that should help you determon whether or not I have the sound files.
Have any of you worked out how to print using Debain Squeeze? I want to print to a (somewhat) shared printer.
Apparently, nobody has Quake3 working with sound.
There is a mention on this thread:
of a workaround for sound on x86 architecture which perhaps
could be used as a starting point for the RPi.
It is a bit unfortunate that the RPi publicity was not
clear about the caveats: Quake3, but not with sound;
Midori on Debian, but not with youtube, etc.
They even showed video of a keyboard and mouse
sharing a USB port (using a PS2 adapter), with a
USB hard drive on the other USB port, which
apparently is not as easy to get working as it looked
without a powered hub.
Sorry I don't know anything helpful regarding printing.
I have tried everything I could find on the internet but nothing has worked. I have a HD TV and the Raspberry Pi is connect through a HDMI cable. I have tried to change the config.txt file with hdmi_drive=2 (didn't work) and tried nothing in config.txt, I have tried sudo modprobe snd-bcm2835 as well but nothing I do seems to be working. I installed vlc but it gives me an error: "VLC failed to initlalize your sound output device (if any). Please update your alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue". The help on the Raspberry Pi Forums is not very helpful...Example: "yep, got it playing videos, video games, and just plain music". Can you please help me so that I can move on to some basic operations. PS: I have NO Linux knowledge so please be very specific with instructions.