Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "EBC Exercise 29 GStreamer"

From eLinux.org
Jump to: navigation, search
m (Initial page)
m (Video Demos)
Line 30: Line 30:
 
# Try them and make a note about what each does.
 
# Try them and make a note about what each does.
 
# '''v5''' is video through, so you'll need the PS EYE. Use '''gst-inspect''' to learn what '''v4l2src''' can do.  Modify '''v5''' to use a image that half the size.
 
# '''v5''' is video through, so you'll need the PS EYE. Use '''gst-inspect''' to learn what '''v4l2src''' can do.  Modify '''v5''' to use a image that half the size.
# '''v6''' and '''v7'''
+
# '''v6''' and '''v7''' save the video in a file.  Use '''mplayer''' to play the file.  Does it work? 604x480 video at 30 frames per second is a lot for the Beagle.  Make the image half the size.  On '''v7''' slow the audio sampling rate to 8k Hz.

Revision as of 17:30, 2 February 2012


There are many open source efforts that run on desktop Linux that have been ported to the BeagleBoard. You can see many here. One effort is GStreamer a library for constructing graphs of media-handling components, or more simply, a open source multimedia framework.

Here are some audio and video demos based on a RidgeRun talk at ESC.

Getting Started

  • Get the updated files from the git repository
beagle$ git clone git@github.com:MarkAYoder/BeagleBoard-exercises.git exercises

or if you've already git'ted them, make sure you have the most up to date versions.

beagle$ cd exercises
beagle$ git pull

Audio Demos

There are several scripts that show what GStreamer can do. They all begin with a'.

beagle$ cd gstreamer
beagle$ ./a2

Go try all the audio files. Make a note (1 or 2 sentences max) about what each one is showing.

a5 is an audio through demo. I've set it up to take input from the PS EYE mikes, but I don't hear anything coming out. Can you make it work? Don't take more that 5 minutes.

Video Demos

The files beginning with v are video demos.

  1. Try them and make a note about what each does.
  2. v5 is video through, so you'll need the PS EYE. Use gst-inspect to learn what v4l2src can do. Modify v5 to use a image that half the size.
  3. v6 and v7 save the video in a file. Use mplayer to play the file. Does it work? 604x480 video at 30 frames per second is a lot for the Beagle. Make the image half the size. On v7 slow the audio sampling rate to 8k Hz.