What does pygame.Movie mean by `an MPEG file'?

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Wed Sep 28 18:50:34 CEST 2005


Grant Edwards schreef:
> There are two issues when it comes to video files:
> 
>  1) The "container" format.  That defines the mechanism used to
>     combine the video and audio data streams into a single byte
>     stream (e.g. a file).  This is what is usually denoted by
>     file file suffix. Mpeg, wmv, avi are all container file
>     formats.
> 
>  2) The "Codec" (coder/decoder) used to encode the information
>     _within_ the audo or video stream.  mpeg4, mpeg2, divx are
>     all video codecs mp3, ac3, flac, ogg are audio codecs.

Nitpick: ogg is not an audio codec, but the container format of
xiph.org. The lossy audio codec used in the project is called vorbis.
Besides vorbis and flac there's also speex, designed for speech data.


-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven



More information about the Python-list mailing list