Transmuxing Settings

This topic contains details for encoding settings related to transmuxing.

Overview

Transmuxing is the process of changing the format of a video or audio file while preserving some or all of the streams from the original file.

Today, Zencoder can transmux H.264 video and AAC/MP3 audio tracks from MP4/MOV formats to MP4/TS (including creating fragmented MP4 or segmented TS output). There are, however, a number of requirements that must be met by the input files to transmux properly:

Video

  • MP4/MOV container format
  • H.264 codec
  • No b-frames used

Audio

  • MP4/MOV container format
  • AAC or MP3 codec

Segmenting/Fragmenting

  • Maximum GOP should be less than or equal to the segment duration
  • HE-AAC-V2 may not be used

Other

  • Most encoding options have no effect on transmuxed files because the streams are not being re-encoded

copy_video

copy_video:Boolean

API Versions: V2

Parent: output

Default: false

Valid Values: true or false

Compatible Job Types: VOD

Example: true

Description:

Specifying copy_video will take the video track from the input video file and transmux it into the resulting output file.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "copy_video": true
    }
  ]
}

copy_audio

copy_audio:Boolean

API Versions: V2

Parent: output

Default: false

Valid Values: true or false

Compatible Job Types: VOD

Example: true

Description:

Specifying copy_audio will take the audio track from the input video file and transmux it into the resulting output file.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "copy_audio": true
    }
  ]
}