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

Grant Edwards grante at visi.com
Wed Sep 28 12:58:53 EDT 2005


On 2005-09-28, Roel Schroeven <rschroev_nospam_ml at fastmail.fm> wrote:
> 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.

Ah, thanks for the correction.  I had always thought that
"ogg/vorbis" was the name of the codec, and it should have
occured to me that ogg was the container format.

-- 
Grant Edwards                   grante             Yow!  Hmmm... A hash-singer
                                  at               and a cross-eyed guy were
                               visi.com            SLEEPING on a deserted
                                                   island, when...



More information about the Python-list mailing list