Raspberry Pi Adventures

Join me on my fun ride

Audio and Video Playback on Raspberry Pi

1 Comment

Hi All,

Followed the following steps and i had media playback on Raspbian “wheezy”

$sudo apt-get update
$sudo apt-get install mplayer mplayer-gui alsa-base alsa-utils pulseaudio mpg123
$sudo reboot

Successfully managed to get some audio playback on command line
$mpg123 /pathtofile/audio.mp3

Modify the pi user to belong to the video group:
$sudo usermod -aG video pi
Logout and login for changes to take effect:
$exit

For Video Playback on Commandline
$mplayer /pathtofile/video.avi

We also now have Mplayer in Sound and Video Section in the GUI

Reference
Getting Sound and Video to Work on Raspberry Pi
Top 10 Linux MP3 Players » Lindesk

Advertisements

Author: Sanket Sonavane

Sanket Sonavane Software Developer, IoT Enthusiast, Photographer, Bike Rider, Chef, AndroidUser, MacOSXNewbie & 3x3x3 Cuber ;) Loves computers, programming, web developement, micro-controllers, gadgets, automation and many more such tech innovations that defines the way we live in the modern age and likes to explore what more can be done to help the human race :)

One thought on “Audio and Video Playback on Raspberry Pi

  1. mplayer-gui does not exist. I just entered ‘sudo apt-get install mplayer-gui’ and the package cannot be found.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s