home  |  docs  |  features  |  forum  |  contact  search  |  site map 
  PyMedia
Features
News
  PyMedia
PyCar
  Documentation
Mailing List
FAQ

Forum
Links
  Tutorial home page
 

PyMedia library is a Python library for accessing and manipulating media files. It makes audio and video playback/creation a snap for even a newcomer to programming. This tutorial aims to walk you through installing and using the PyMedia library.
For the sake of simplicity most of the examples have been kept concise and straightforward. In a 'real world' application, you would need to take care of error handling, input validation and so on.

 
 
  Installation from binaries on Windows.
 

Simplest way possible to install PyMedia.

 
  Installation from sources. All supported platforms.
 

How to install PyMedia from sources on any supported platform, and setting up and installing other libraries you will need.

 
  Linux installation HOWTO
 

See step-by-step instructions on how to install PyMedia on Linux

 
 
  Playing a WAV file
 

A simple WAV file player. Your first chance to blast some audio through your speakers with PyMedia.

 
  Uncompressing an audio stream
 

Convert a compressed audio file into the universal WAV format, suitable for storing on CD or tweaking in your favorite sound editing program.

 
  Simple audio player
 

Play your favorite music files in any of the formats supported by PyMedia (see documentation for list)

 
  Recode audio
 

Don't like the file format your music is in? Re-encode it in the format of your choice!

 
 
  Recode video
 

Extract video from a file or stream and save it as an mpeg1 or mpeg2 video file.

 
  Video demuxing
 

Demux you video source into separate streams

 
 
  Simple video player
 

A very useful example, showing how to play all kinds of media files with PyMedia. You will need pygame or pydfb for the video playback.

 
  Encode video on fly
 

A simple example that will show you how to convert movies or video streams in any supported format into mpeg1 or mpeg2 files.

 
 
  Audio CD grabber
 

Read( grab ) track( song ) from the audio cd into the file.

 
  Decompress mp3 file
 

Decompress any compressed file into the standard WAV file.

 
  Video file as pictures
 

Save your video clip into the set of BMP pictures and enjoy your favourite snapshot.

 
  Get your video back after you have it as pictures
 

Restores your mpeg1/2 video file from the set of BMP/JPG images.

 
  Voice recorder
 

Record any sound from microphone or line-in and save it as an mp3 file( your personal digital recorder ).

 
  Play standard WAV file
 

Play your regular WAV file with pymedia.

 
  Simple audio player
 

Play your favourite music in any supported format with pymedia.

 
  Simple audio recoder
 

Change the format of your compressed audio files into something different.

 
  Simple video player
 

Play all you favourite video files and navigate through the file using the keyboard.

 
  Simple video recoder
 

Recode your video files into the MPEG1 or MPEG2.

 
 
  All examples in a zip file (windows users)
 

Download and unpack the directory after installing pymedia. After that try to run the py file from command prompt like this: python {file_name}.py. It will report brief usage if you don't supply any parameter.

 
  All examples in a tar ball file (unix users)
 

Download and unpack the directory after installing pymedia. After that try to run the py file from command prompt like this: python {file_name}.py. It will report brief usage if you don't supply any parameter.

 
  All examples as an executables for Windows
 

Download and unpack the directory even without installing pymedia or Python. After you can run the scripts from command prompt like this: {file_name}.exe It will report brief usage if you don't supply any parameter. The great thing about that is that you don't need any framework or libs to be installed. It contains everything needed for audio/video playback !

 
SourceForge.net Logo home | docs | features
contact | News | Mailing List
Forum
 
 
 

2004 PyMedia© - opens up multimedia for everyone

Webmaster