Skip to content

Commit

Permalink
preset: add VideoToolbox H.265 presets.
Browse files Browse the repository at this point in the history
  • Loading branch information
galad87 committed Sep 9, 2023
1 parent 24c338d commit d95ba3f
Show file tree
Hide file tree
Showing 2 changed files with 430 additions and 0 deletions.
212 changes: 212 additions & 0 deletions libhb/handbrake/preset_builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -9429,6 +9429,218 @@ const char hb_builtin_presets_json[] =
" \"VideoTurboMultiPass\": false,\n"
" \"x264Option\": \"\",\n"
" \"x264UseAdvancedOptions\": false\n"
" },\n"
" {\n"
" \"AlignAVStart\": false,\n"
" \"AudioCopyMask\": [\n"
" \"copy:aac\"\n"
" ],\n"
" \"AudioEncoderFallback\": \"none\",\n"
" \"AudioLanguageList\": [],\n"
" \"AudioList\": [\n"
" {\n"
" \"AudioBitrate\": 160,\n"
" \"AudioCompressionLevel\": -1.0,\n"
" \"AudioDitherMethod\": \"auto\",\n"
" \"AudioEncoder\": \"aac\",\n"
" \"AudioMixdown\": \"stereo\",\n"
" \"AudioNormalizeMixLevel\": false,\n"
" \"AudioSamplerate\": \"auto\",\n"
" \"AudioTrackDRCSlider\": 0.0,\n"
" \"AudioTrackGainSlider\": 0.0,\n"
" \"AudioTrackQuality\": -1.0,\n"
" \"AudioTrackQualityEnable\": false\n"
" }\n"
" ],\n"
" \"AudioSecondaryEncoderMode\": true,\n"
" \"AudioTrackSelectionBehavior\": \"first\",\n"
" \"ChapterMarkers\": true,\n"
" \"ChildrenArray\": [],\n"
" \"Default\": false,\n"
" \"FileFormat\": \"mp4\",\n"
" \"Folder\": false,\n"
" \"FolderOpen\": false,\n"
" \"InlineParameterSets\": false,\n"
" \"Mp4iPodCompatible\": false,\n"
" \"Optimize\": false,\n"
" \"PictureBottomCrop\": 0,\n"
" \"PictureChromaSmoothCustom\": \"\",\n"
" \"PictureChromaSmoothPreset\": \"off\",\n"
" \"PictureChromaSmoothTune\": \"none\",\n"
" \"PictureColorspaceCustom\": \"\",\n"
" \"PictureColorspacePreset\": \"off\",\n"
" \"PictureCombDetectCustom\": \"\",\n"
" \"PictureCombDetectPreset\": \"off\",\n"
" \"PictureDARWidth\": 0,\n"
" \"PictureDeblockCustom\": \"strength=strong:thresh=20:blocksize=8\",\n"
" \"PictureDeblockPreset\": \"off\",\n"
" \"PictureDeblockTune\": \"medium\",\n"
" \"PictureDeinterlaceCustom\": \"\",\n"
" \"PictureDeinterlaceFilter\": \"off\",\n"
" \"PictureDeinterlacePreset\": \"default\",\n"
" \"PictureDenoiseCustom\": \"\",\n"
" \"PictureDenoiseFilter\": \"off\",\n"
" \"PictureDenoisePreset\": \"medium\",\n"
" \"PictureDenoiseTune\": \"none\",\n"
" \"PictureDetelecine\": \"off\",\n"
" \"PictureDetelecineCustom\": \"\",\n"
" \"PictureForceHeight\": 0,\n"
" \"PictureForceWidth\": 0,\n"
" \"PictureHeight\": 2160,\n"
" \"PictureItuPAR\": false,\n"
" \"PictureKeepRatio\": true,\n"
" \"PictureLeftCrop\": 0,\n"
" \"PictureLooseCrop\": false,\n"
" \"PictureModulus\": 2,\n"
" \"PicturePAR\": \"auto\",\n"
" \"PicturePARHeight\": 720,\n"
" \"PicturePARWidth\": 853,\n"
" \"PictureRightCrop\": 0,\n"
" \"PictureRotate\": \"angle=0:hflip=0\",\n"
" \"PictureSharpenCustom\": \"\",\n"
" \"PictureSharpenFilter\": \"off\",\n"
" \"PictureSharpenPreset\": \"medium\",\n"
" \"PictureSharpenTune\": \"none\",\n"
" \"PictureTopCrop\": 0,\n"
" \"PictureWidth\": 3840,\n"
" \"PresetDescription\": \"Apple VideoToolbox hardware accelerated H.265 video (up to 2160p) and AAC stereo audio, in an MP4 container.\",\n"
" \"PresetName\": \"H.265 Apple VideoToolbox 2160p 4K\",\n"
" \"SubtitleAddCC\": false,\n"
" \"SubtitleAddForeignAudioSearch\": false,\n"
" \"SubtitleAddForeignAudioSubtitle\": false,\n"
" \"SubtitleBurnBDSub\": false,\n"
" \"SubtitleBurnBehavior\": \"none\",\n"
" \"SubtitleBurnDVDSub\": false,\n"
" \"SubtitleLanguageList\": [],\n"
" \"SubtitleTrackSelectionBehavior\": \"none\",\n"
" \"Type\": 0,\n"
" \"UsesPictureFilters\": true,\n"
" \"UsesPictureSettings\": 1,\n"
" \"VideoAvgBitrate\": 17500,\n"
" \"VideoColorMatrixCodeOverride\": 0,\n"
" \"VideoEncoder\": \"vt_h265\",\n"
" \"VideoFramerate\": \"auto\",\n"
" \"VideoFramerateMode\": \"vfr\",\n"
" \"VideoGrayScale\": false,\n"
" \"VideoLevel\": \"auto\",\n"
" \"VideoOptionExtra\": \"\",\n"
" \"VideoPreset\": \"speed\",\n"
" \"VideoProfile\": \"auto\",\n"
" \"VideoQSVDecode\": false,\n"
" \"VideoQualitySlider\": 55.0,\n"
" \"VideoQualityType\": 2,\n"
" \"VideoScaler\": \"swscale\",\n"
" \"VideoTune\": \"\",\n"
" \"VideoTurboTwoPass\": false,\n"
" \"VideoTwoPass\": false,\n"
" \"x264Option\": \"\",\n"
" \"x264UseAdvancedOptions\": false\n"
" },\n"
" {\n"
" \"AlignAVStart\": false,\n"
" \"AudioCopyMask\": [\n"
" \"copy:aac\"\n"
" ],\n"
" \"AudioEncoderFallback\": \"none\",\n"
" \"AudioLanguageList\": [],\n"
" \"AudioList\": [\n"
" {\n"
" \"AudioBitrate\": 160,\n"
" \"AudioCompressionLevel\": -1.0,\n"
" \"AudioDitherMethod\": \"auto\",\n"
" \"AudioEncoder\": \"aac\",\n"
" \"AudioMixdown\": \"stereo\",\n"
" \"AudioNormalizeMixLevel\": false,\n"
" \"AudioSamplerate\": \"auto\",\n"
" \"AudioTrackDRCSlider\": 0.0,\n"
" \"AudioTrackGainSlider\": 0.0,\n"
" \"AudioTrackQuality\": -1.0,\n"
" \"AudioTrackQualityEnable\": false\n"
" }\n"
" ],\n"
" \"AudioSecondaryEncoderMode\": true,\n"
" \"AudioTrackSelectionBehavior\": \"first\",\n"
" \"ChapterMarkers\": true,\n"
" \"ChildrenArray\": [],\n"
" \"Default\": false,\n"
" \"FileFormat\": \"mp4\",\n"
" \"Folder\": false,\n"
" \"FolderOpen\": false,\n"
" \"InlineParameterSets\": false,\n"
" \"Mp4iPodCompatible\": false,\n"
" \"Optimize\": false,\n"
" \"PictureBottomCrop\": 0,\n"
" \"PictureChromaSmoothCustom\": \"\",\n"
" \"PictureChromaSmoothPreset\": \"off\",\n"
" \"PictureChromaSmoothTune\": \"none\",\n"
" \"PictureColorspaceCustom\": \"\",\n"
" \"PictureColorspacePreset\": \"off\",\n"
" \"PictureCombDetectCustom\": \"\",\n"
" \"PictureCombDetectPreset\": \"off\",\n"
" \"PictureDARWidth\": 0,\n"
" \"PictureDeblockCustom\": \"strength=strong:thresh=20:blocksize=8\",\n"
" \"PictureDeblockPreset\": \"off\",\n"
" \"PictureDeblockTune\": \"medium\",\n"
" \"PictureDeinterlaceCustom\": \"\",\n"
" \"PictureDeinterlaceFilter\": \"off\",\n"
" \"PictureDeinterlacePreset\": \"default\",\n"
" \"PictureDenoiseCustom\": \"\",\n"
" \"PictureDenoiseFilter\": \"off\",\n"
" \"PictureDenoisePreset\": \"medium\",\n"
" \"PictureDenoiseTune\": \"none\",\n"
" \"PictureDetelecine\": \"off\",\n"
" \"PictureDetelecineCustom\": \"\",\n"
" \"PictureForceHeight\": 0,\n"
" \"PictureForceWidth\": 0,\n"
" \"PictureHeight\": 1080,\n"
" \"PictureItuPAR\": false,\n"
" \"PictureKeepRatio\": true,\n"
" \"PictureLeftCrop\": 0,\n"
" \"PictureLooseCrop\": false,\n"
" \"PictureModulus\": 2,\n"
" \"PicturePAR\": \"auto\",\n"
" \"PicturePARHeight\": 720,\n"
" \"PicturePARWidth\": 853,\n"
" \"PictureRightCrop\": 0,\n"
" \"PictureRotate\": \"angle=0:hflip=0\",\n"
" \"PictureSharpenCustom\": \"\",\n"
" \"PictureSharpenFilter\": \"off\",\n"
" \"PictureSharpenPreset\": \"medium\",\n"
" \"PictureSharpenTune\": \"none\",\n"
" \"PictureTopCrop\": 0,\n"
" \"PictureWidth\": 1920,\n"
" \"PresetDescription\": \"Apple VideoToolbox hardware accelerated H.265 video (up to 1080p) and AAC stereo audio, in an MP4 container.\",\n"
" \"PresetName\": \"H.265 Apple VideoToolbox 1080p\",\n"
" \"SubtitleAddCC\": false,\n"
" \"SubtitleAddForeignAudioSearch\": false,\n"
" \"SubtitleAddForeignAudioSubtitle\": false,\n"
" \"SubtitleBurnBDSub\": false,\n"
" \"SubtitleBurnBehavior\": \"none\",\n"
" \"SubtitleBurnDVDSub\": false,\n"
" \"SubtitleLanguageList\": [],\n"
" \"SubtitleTrackSelectionBehavior\": \"none\",\n"
" \"Type\": 0,\n"
" \"UsesPictureFilters\": true,\n"
" \"UsesPictureSettings\": 1,\n"
" \"VideoAvgBitrate\": 5500,\n"
" \"VideoColorMatrixCodeOverride\": 0,\n"
" \"VideoEncoder\": \"vt_h265\",\n"
" \"VideoFramerate\": \"auto\",\n"
" \"VideoFramerateMode\": \"vfr\",\n"
" \"VideoGrayScale\": false,\n"
" \"VideoLevel\": \"auto\",\n"
" \"VideoOptionExtra\": \"\",\n"
" \"VideoPreset\": \"speed\",\n"
" \"VideoProfile\": \"auto\",\n"
" \"VideoQSVDecode\": false,\n"
" \"VideoQualitySlider\": 60.0,\n"
" \"VideoQualityType\": 2,\n"
" \"VideoScaler\": \"swscale\",\n"
" \"VideoTune\": \"\",\n"
" \"VideoTurboTwoPass\": false,\n"
" \"VideoTwoPass\": false,\n"
" \"x264Option\": \"\",\n"
" \"x264UseAdvancedOptions\": false\n"
" }\n"
" ],\n"
" \"Folder\": true,\n"
Expand Down
Loading

0 comments on commit d95ba3f

Please sign in to comment.