title: FFMPEG - Apple 720p30 Surround MP4 H.264 AAC stereo; Dolby Digital
body: <p>i would like the FFmpeg cli settings which will match this (this is a handbrake preset)</p>
  <p><a href="https://i.stack.imgur.com/XXMxO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XXMxO.png" alt="enter image description here" /></a></p>
  <p>Here is the presetting file, I dont understand what these would be for ffmpeg.</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;AlignAVStart&quot;: false,
      &quot;AudioCopyMask&quot;: [
        &quot;copy:aac&quot;,
        &quot;copy:ac3&quot;,
        &quot;copy:dtshd&quot;,
        &quot;copy:dts&quot;,
        &quot;copy:mp3&quot;,
        &quot;copy:truehd&quot;,
        &quot;copy:flac&quot;,
        &quot;copy:eac3&quot;
      ],
      &quot;AudioEncoderFallback&quot;: &quot;ac3&quot;,
      &quot;AudioLanguageList&quot;: [],
      &quot;AudioList&quot;: [
        {
          &quot;AudioBitrate&quot;: 160,
          &quot;AudioCompressionLevel&quot;: 0.0,
          &quot;AudioDitherMethod&quot;: null,
          &quot;AudioEncoder&quot;: &quot;av_aac&quot;,
          &quot;AudioMixdown&quot;: &quot;stereo&quot;,
          &quot;AudioNormalizeMixLevel&quot;: false,
          &quot;AudioSamplerate&quot;: &quot;auto&quot;,
          &quot;AudioTrackQualityEnable&quot;: false,
          &quot;AudioTrackQuality&quot;: -1.0,
          &quot;AudioTrackGainSlider&quot;: 0.0,
          &quot;AudioTrackDRCSlider&quot;: 0.0
        },
        {
          &quot;AudioBitrate&quot;: 640,
          &quot;AudioCompressionLevel&quot;: 0.0,
          &quot;AudioDitherMethod&quot;: null,
          &quot;AudioEncoder&quot;: &quot;copy:ac3&quot;,
          &quot;AudioMixdown&quot;: &quot;none&quot;,
          &quot;AudioNormalizeMixLevel&quot;: false,
          &quot;AudioSamplerate&quot;: &quot;auto&quot;,
          &quot;AudioTrackQualityEnable&quot;: false,
          &quot;AudioTrackQuality&quot;: -1.0,
          &quot;AudioTrackGainSlider&quot;: 0.0,
          &quot;AudioTrackDRCSlider&quot;: 0.0
        }
      ],
      &quot;AudioSecondaryEncoderMode&quot;: true,
      &quot;AudioTrackSelectionBehavior&quot;: &quot;first&quot;,
      &quot;ChapterMarkers&quot;: true,
      &quot;ChildrenArray&quot;: [],
      &quot;Default&quot;: false,
      &quot;FileFormat&quot;: &quot;av_mp4&quot;,
      &quot;Folder&quot;: false,
      &quot;FolderOpen&quot;: false,
      &quot;Mp4HttpOptimize&quot;: false,
      &quot;Mp4iPodCompatible&quot;: false,
      &quot;PictureAutoCrop&quot;: true,
      &quot;PictureBottomCrop&quot;: 0,
      &quot;PictureLeftCrop&quot;: 0,
      &quot;PictureRightCrop&quot;: 0,
      &quot;PictureTopCrop&quot;: 0,
      &quot;PictureDARWidth&quot;: 0,
      &quot;PictureDeblockPreset&quot;: &quot;off&quot;,
      &quot;PictureDeblockTune&quot;: &quot;medium&quot;,
      &quot;PictureDeblockCustom&quot;: &quot;strength=strong:thresh=20:blocksize=8&quot;,
      &quot;PictureDeinterlaceFilter&quot;: &quot;decomb&quot;,
      &quot;PictureCombDetectPreset&quot;: &quot;default&quot;,
      &quot;PictureCombDetectCustom&quot;: &quot;&quot;,
      &quot;PictureDeinterlacePreset&quot;: &quot;default&quot;,
      &quot;PictureDeinterlaceCustom&quot;: &quot;&quot;,
      &quot;PictureDenoiseCustom&quot;: &quot;&quot;,
      &quot;PictureDenoiseFilter&quot;: &quot;off&quot;,
      &quot;PictureDenoisePreset&quot;: &quot;light&quot;,
      &quot;PictureDenoiseTune&quot;: &quot;none&quot;,
      &quot;PictureSharpenCustom&quot;: &quot;&quot;,
      &quot;PictureSharpenFilter&quot;: &quot;off&quot;,
      &quot;PictureSharpenPreset&quot;: &quot;medium&quot;,
      &quot;PictureSharpenTune&quot;: &quot;none&quot;,
      &quot;PictureDetelecine&quot;: &quot;off&quot;,
      &quot;PictureDetelecineCustom&quot;: &quot;&quot;,
      &quot;PictureItuPAR&quot;: false,
      &quot;PictureKeepRatio&quot;: true,
      &quot;PictureLooseCrop&quot;: false,
      &quot;PictureModulus&quot;: 2,
      &quot;PicturePAR&quot;: &quot;auto&quot;,
      &quot;PicturePARWidth&quot;: 0,
      &quot;PicturePARHeight&quot;: 0,
      &quot;PictureRotate&quot;: null,
      &quot;PictureWidth&quot;: 1280,
      &quot;PictureHeight&quot;: 720,
      &quot;PictureForceHeight&quot;: 0,
      &quot;PictureForceWidth&quot;: 0,
      &quot;PresetDescription&quot;: &quot;H.264 video (up to 720p30), AAC stereo audio, and Dolby Digital (AC-3) surround audio, in an MP4 container. Compatible with Apple iPhone 4, 4S, and later; iPod touch 4th, 5th Generation and later; iPad 1st Generation, iPad 2, and later; Apple TV 2nd Generation and later.&quot;,
      &quot;PresetName&quot;: &quot;Apple 720p30 Surround&quot;,
      &quot;Type&quot;: 0,
      &quot;UsesPictureFilters&quot;: true,
      &quot;UsesPictureSettings&quot;: 1,
      &quot;SubtitleAddCC&quot;: false,
      &quot;SubtitleAddForeignAudioSearch&quot;: true,
      &quot;SubtitleAddForeignAudioSubtitle&quot;: false,
      &quot;SubtitleBurnBehavior&quot;: &quot;foreign&quot;,
      &quot;SubtitleBurnBDSub&quot;: false,
      &quot;SubtitleBurnDVDSub&quot;: false,
      &quot;SubtitleLanguageList&quot;: [],
      &quot;SubtitleTrackSelectionBehavior&quot;: &quot;none&quot;,
      &quot;VideoAvgBitrate&quot;: 3000,
      &quot;VideoColorMatrixCode&quot;: 0,
      &quot;VideoEncoder&quot;: &quot;x264&quot;,
      &quot;VideoFramerate&quot;: &quot;30&quot;,
      &quot;VideoFramerateMode&quot;: &quot;pfr&quot;,
      &quot;VideoGrayScale&quot;: false,
      &quot;VideoScaler&quot;: &quot;swscale&quot;,
      &quot;VideoPreset&quot;: &quot;medium&quot;,
      &quot;VideoTune&quot;: &quot;&quot;,
      &quot;VideoProfile&quot;: &quot;high&quot;,
      &quot;VideoLevel&quot;: &quot;3.1&quot;,
      &quot;VideoOptionExtra&quot;: &quot;&quot;,
      &quot;VideoQualityType&quot;: 2,
      &quot;VideoQualitySlider&quot;: 21.0,
      &quot;VideoQSVDecode&quot;: false,
      &quot;VideoQSVAsyncDepth&quot;: 4,
      &quot;VideoTwoPass&quot;: true,
      &quot;VideoTurboTwoPass&quot;: false,
      &quot;x264Option&quot;: null,
      &quot;x264UseAdvancedOptions&quot;: false
    },
  </code></pre>