transcoding
Transcoding is the process of converting digital media from one encoding to another. It can involve changing the video or audio codecs, the container format, the resolution, frame rate, or bitrate of a file or stream. Transcoding typically entails decoding the source media to an intermediate representation and then re-encoding it into the target format. The operation is common in media workflows that require compatibility or adaptation across devices and networks.
Transcoding is often contrasted with transmuxing, where the encoding is not changed but the container is reformatted,
Applications include streaming services that deliver multiple renditions to accommodate varying bandwidth and device capabilities, on-the-fly
Quality considerations are important: re-encoding can introduce compression artifacts and quality loss, especially when reducing bitrate
Common codecs include H.264/AVC, H.265/HEVC, VP9, and AV1 for video, and AAC, MP3, and Opus for audio.