How conversion works · Concept
What Is Encoding?
Encoding is the “write” half of media pipelines. Cameras, exporters, and converters encode so files stay small enough to store and stream. Decoding reverses the process for playback or further editing.
Quick take: Encoding turns raw or decoded data into a compressed or structured representation using a codec or format writer — for example raw pixels → JPG, or PCM audio → AAC.
Encoding in conversion
After decoding a source, a converter encodes into the target format. Quality sliders mostly tweak this encode step.
Encoding vs container
You encode with a codec (H.264, AAC, JPEG). You package tracks into a container (MP4, MKV). People often blur the two — see Codec vs container.
Lossy vs lossless encodes
Lossy encoding throws away imperceptible detail for size. Lossless encoding compresses without discarding information.
Key points
- Encode = create a compressed/structured bitstream.
- Encode settings drive quality and size.
- Encoding is not the same as putting data in a container.
Examples
JPEG encode
Pixels become a .jpg bitstream at a chosen quality.
H.264 encode
Video frames become a stream later wrapped in MP4/MKV.
Try it in a converter
Concepts stick better with a real file — processing stays in your browser.
Related concepts
FAQ
Is Base64 encoding the same thing?
Base64 is a text-safe representation of bytes — useful for embedding — not a media compression codec.
Browse all conversion concepts or jump to converters.