When you look at popular movie file formats like Quicktime or Windows Media Video, you see two things:
- A file format that describes how the movie is laid out; how many audio tracks, the size of the images in the movie, encoding information, all kinds of stuff;
- The data itself: frames of compressed or uncompressed images and digitized audio.
To convert from a Parallax movie to an AVI movie file, I had to:
- Change the file format: Parallax has one way of describing the contents of the audio and video data (think of the file format as a table of contents; different file formats have different ways of describing what's inside the file, but they all have the same basic information);
- Sometimes, change each individual image from one image format (e.g., JPEG) to another (e.g., YVU9). This last part is the transcoding part: it takes the actual image content and re-codes it into something else. Sometimes during this process, the image quality will be changed because if you're re-coding into a lossy compression format, you'll lose some image quality. (but that's another topic)
File format conversion alone doesn't always get you all the way there. For example, you can take a valid Parallax movie file, convert it into a valid AVI file that any AVI player should be able to parse, and yet the AVI file would not be playable. Why? Because the PC playing the AVI file may not have a JPEG decoder, so doesn't know how to display each image ("frame") in the movie file. It can tell you exactly how long the movie file is, and how many bytes are in each frame of the movie; it just doesn't have the capability of playing back the movie. The movie was not transcoded into a format that the player could play.
That's how I distinguish between transcoding and file format conversion. One converts the movie's wrapper (file format conversion), the other converts the movie's content (transcoding).
1 comment:
Thank you so much! Succinct and helpful:)
Post a Comment