summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2016-12-14 12:39:58 -0500
committerBradley Sepos <[email protected]>2016-12-15 10:18:50 -0500
commite6221697782b83a0e4ced36085b74ce36ddf2a21 (patch)
treefc480999dd985aae70964050bcf7136922b004de /libhb
parentd58a50a3a6966c1ab835c90c767891f09a915ccb (diff)
preset: Add Web presets category and Gmail presets.
Gmail Large 1080p30: Up to 1 minute of 1080p video in 25 MB or less. Gmail Medium 720p30: Up to 2 minutes of 720p video in 25 MB or less. Gmail Small 360p30: Up to 5 minutes of 360p video in 25 MB or less.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/preset_builtin.h297
1 files changed, 296 insertions, 1 deletions
diff --git a/libhb/preset_builtin.h b/libhb/preset_builtin.h
index 5f425a0c0..5f6683cdc 100644
--- a/libhb/preset_builtin.h
+++ b/libhb/preset_builtin.h
@@ -1683,6 +1683,301 @@ const char hb_builtin_presets_json[] =
" \"AudioTrackSelectionBehavior\": \"first\", \n"
" \"ChapterMarkers\": true, \n"
" \"ChildrenArray\": [], \n"
+" \"Default\": true, \n"
+" \"FileFormat\": \"mp4\", \n"
+" \"Folder\": false, \n"
+" \"FolderOpen\": false, \n"
+" \"Mp4HttpOptimize\": true, \n"
+" \"Mp4iPodCompatible\": false, \n"
+" \"PictureAutoCrop\": true, \n"
+" \"PictureBottomCrop\": 0, \n"
+" \"PictureCombDetectCustom\": \"\", \n"
+" \"PictureCombDetectPreset\": \"default\", \n"
+" \"PictureDARWidth\": 0, \n"
+" \"PictureDeblock\": 0, \n"
+" \"PictureDeblockCustom\": \"qp=0:mode=2\", \n"
+" \"PictureDeinterlaceCustom\": \"\", \n"
+" \"PictureDeinterlaceFilter\": \"decomb\", \n"
+" \"PictureDeinterlacePreset\": \"default\", \n"
+" \"PictureDenoiseCustom\": \"\", \n"
+" \"PictureDenoiseFilter\": \"off\", \n"
+" \"PictureDenoisePreset\": \"light\", \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"
+" \"PictureTopCrop\": 0, \n"
+" \"PictureWidth\": 1920, \n"
+" \"PresetDescription\": \"Encode up to 1 minute of video in large size for Gmail (25 MB or less). H.264 video (up to 1080p30) and AAC stereo audio, in an MP4 container.\", \n"
+" \"PresetName\": \"Gmail Large 1080p30\", \n"
+" \"SubtitleAddCC\": false, \n"
+" \"SubtitleAddForeignAudioSearch\": true, \n"
+" \"SubtitleAddForeignAudioSubtitle\": false, \n"
+" \"SubtitleBurnBDSub\": true, \n"
+" \"SubtitleBurnBehavior\": \"foreign\", \n"
+" \"SubtitleBurnDVDSub\": true, \n"
+" \"SubtitleLanguageList\": [], \n"
+" \"SubtitleTrackSelectionBehavior\": \"none\", \n"
+" \"Type\": 0, \n"
+" \"UsesPictureFilters\": true, \n"
+" \"UsesPictureSettings\": 1, \n"
+" \"VideoAvgBitrate\": 2750, \n"
+" \"VideoColorMatrixCode\": 0, \n"
+" \"VideoEncoder\": \"x264\", \n"
+" \"VideoFramerate\": \"30\", \n"
+" \"VideoFramerateMode\": \"pfr\", \n"
+" \"VideoGrayScale\": false, \n"
+" \"VideoLevel\": \"4.0\", \n"
+" \"VideoOptionExtra\": \"vbv-bufsize=9950:vbv-maxrate=2750\", \n"
+" \"VideoPreset\": \"medium\", \n"
+" \"VideoProfile\": \"main\", \n"
+" \"VideoQSVAsyncDepth\": 4, \n"
+" \"VideoQSVDecode\": false, \n"
+" \"VideoQualitySlider\": 22.0, \n"
+" \"VideoQualityType\": 2, \n"
+" \"VideoScaler\": \"swscale\", \n"
+" \"VideoTune\": \"\", \n"
+" \"VideoTurboTwoPass\": true, \n"
+" \"VideoTwoPass\": true, \n"
+" \"x264Option\": \"\", \n"
+" \"x264UseAdvancedOptions\": false\n"
+" }, \n"
+" {\n"
+" \"AudioCopyMask\": [\n"
+" \"copy:aac\"\n"
+" ], \n"
+" \"AudioEncoderFallback\": \"aac\", \n"
+" \"AudioLanguageList\": [], \n"
+" \"AudioList\": [\n"
+" {\n"
+" \"AudioBitrate\": 160, \n"
+" \"AudioCompressionLevel\": -1.0, \n"
+" \"AudioDitherMethod\": \"auto\", \n"
+" \"AudioEncoder\": \"aac\", \n"
+" \"AudioMixdown\": \"dpl2\", \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\": true, \n"
+" \"FileFormat\": \"mp4\", \n"
+" \"Folder\": false, \n"
+" \"FolderOpen\": false, \n"
+" \"Mp4HttpOptimize\": true, \n"
+" \"Mp4iPodCompatible\": false, \n"
+" \"PictureAutoCrop\": true, \n"
+" \"PictureBottomCrop\": 0, \n"
+" \"PictureCombDetectCustom\": \"\", \n"
+" \"PictureCombDetectPreset\": \"default\", \n"
+" \"PictureDARWidth\": 0, \n"
+" \"PictureDeblock\": 0, \n"
+" \"PictureDeblockCustom\": \"qp=0:mode=2\", \n"
+" \"PictureDeinterlaceCustom\": \"\", \n"
+" \"PictureDeinterlaceFilter\": \"decomb\", \n"
+" \"PictureDeinterlacePreset\": \"default\", \n"
+" \"PictureDenoiseCustom\": \"\", \n"
+" \"PictureDenoiseFilter\": \"off\", \n"
+" \"PictureDenoisePreset\": \"light\", \n"
+" \"PictureDenoiseTune\": \"none\", \n"
+" \"PictureDetelecine\": \"off\", \n"
+" \"PictureDetelecineCustom\": \"\", \n"
+" \"PictureForceHeight\": 0, \n"
+" \"PictureForceWidth\": 0, \n"
+" \"PictureHeight\": 720, \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"
+" \"PictureTopCrop\": 0, \n"
+" \"PictureWidth\": 1280, \n"
+" \"PresetDescription\": \"Encode up to 2 minutes of video in medium size for Gmail (25 MB or less). H.264 video (up to 720p30) and AAC stereo audio, in an MP4 container.\", \n"
+" \"PresetName\": \"Gmail Medium 720p30\", \n"
+" \"SubtitleAddCC\": false, \n"
+" \"SubtitleAddForeignAudioSearch\": true, \n"
+" \"SubtitleAddForeignAudioSubtitle\": false, \n"
+" \"SubtitleBurnBDSub\": true, \n"
+" \"SubtitleBurnBehavior\": \"foreign\", \n"
+" \"SubtitleBurnDVDSub\": true, \n"
+" \"SubtitleLanguageList\": [], \n"
+" \"SubtitleTrackSelectionBehavior\": \"none\", \n"
+" \"Type\": 0, \n"
+" \"UsesPictureFilters\": true, \n"
+" \"UsesPictureSettings\": 1, \n"
+" \"VideoAvgBitrate\": 1450, \n"
+" \"VideoColorMatrixCode\": 0, \n"
+" \"VideoEncoder\": \"x264\", \n"
+" \"VideoFramerate\": \"30\", \n"
+" \"VideoFramerateMode\": \"pfr\", \n"
+" \"VideoGrayScale\": false, \n"
+" \"VideoLevel\": \"3.1\", \n"
+" \"VideoOptionExtra\": \"vbv-bufsize=5250:vbv-maxrate=1450\", \n"
+" \"VideoPreset\": \"medium\", \n"
+" \"VideoProfile\": \"main\", \n"
+" \"VideoQSVAsyncDepth\": 4, \n"
+" \"VideoQSVDecode\": false, \n"
+" \"VideoQualitySlider\": 21.0, \n"
+" \"VideoQualityType\": 2, \n"
+" \"VideoScaler\": \"swscale\", \n"
+" \"VideoTune\": \"\", \n"
+" \"VideoTurboTwoPass\": true, \n"
+" \"VideoTwoPass\": true, \n"
+" \"x264Option\": \"\", \n"
+" \"x264UseAdvancedOptions\": false\n"
+" }, \n"
+" {\n"
+" \"AudioCopyMask\": [\n"
+" \"copy:aac\"\n"
+" ], \n"
+" \"AudioEncoderFallback\": \"aac\", \n"
+" \"AudioLanguageList\": [], \n"
+" \"AudioList\": [\n"
+" {\n"
+" \"AudioBitrate\": 96, \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\": true, \n"
+" \"FileFormat\": \"mp4\", \n"
+" \"Folder\": false, \n"
+" \"FolderOpen\": false, \n"
+" \"Mp4HttpOptimize\": true, \n"
+" \"Mp4iPodCompatible\": false, \n"
+" \"PictureAutoCrop\": true, \n"
+" \"PictureBottomCrop\": 0, \n"
+" \"PictureCombDetectCustom\": \"\", \n"
+" \"PictureCombDetectPreset\": \"default\", \n"
+" \"PictureDARWidth\": 0, \n"
+" \"PictureDeblock\": 0, \n"
+" \"PictureDeblockCustom\": \"qp=0:mode=2\", \n"
+" \"PictureDeinterlaceCustom\": \"\", \n"
+" \"PictureDeinterlaceFilter\": \"decomb\", \n"
+" \"PictureDeinterlacePreset\": \"default\", \n"
+" \"PictureDenoiseCustom\": \"\", \n"
+" \"PictureDenoiseFilter\": \"off\", \n"
+" \"PictureDenoisePreset\": \"light\", \n"
+" \"PictureDenoiseTune\": \"none\", \n"
+" \"PictureDetelecine\": \"off\", \n"
+" \"PictureDetelecineCustom\": \"\", \n"
+" \"PictureForceHeight\": 0, \n"
+" \"PictureForceWidth\": 0, \n"
+" \"PictureHeight\": 360, \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"
+" \"PictureTopCrop\": 0, \n"
+" \"PictureWidth\": 640, \n"
+" \"PresetDescription\": \"Encode up to 5 minutes of video in small size for Gmail (25 MB or less). H.264 video (up to 360p30) and AAC stereo audio, in an MP4 container.\", \n"
+" \"PresetName\": \"Gmail Small 360p30\", \n"
+" \"SubtitleAddCC\": false, \n"
+" \"SubtitleAddForeignAudioSearch\": true, \n"
+" \"SubtitleAddForeignAudioSubtitle\": false, \n"
+" \"SubtitleBurnBDSub\": true, \n"
+" \"SubtitleBurnBehavior\": \"foreign\", \n"
+" \"SubtitleBurnDVDSub\": true, \n"
+" \"SubtitleLanguageList\": [], \n"
+" \"SubtitleTrackSelectionBehavior\": \"none\", \n"
+" \"Type\": 0, \n"
+" \"UsesPictureFilters\": true, \n"
+" \"UsesPictureSettings\": 1, \n"
+" \"VideoAvgBitrate\": 550, \n"
+" \"VideoColorMatrixCode\": 0, \n"
+" \"VideoEncoder\": \"x264\", \n"
+" \"VideoFramerate\": \"30\", \n"
+" \"VideoFramerateMode\": \"pfr\", \n"
+" \"VideoGrayScale\": false, \n"
+" \"VideoLevel\": \"3.1\", \n"
+" \"VideoOptionExtra\": \"vbv-bufsize=2000:vbv-maxrate=550\", \n"
+" \"VideoPreset\": \"medium\", \n"
+" \"VideoProfile\": \"main\", \n"
+" \"VideoQSVAsyncDepth\": 4, \n"
+" \"VideoQSVDecode\": false, \n"
+" \"VideoQualitySlider\": 22.0, \n"
+" \"VideoQualityType\": 2, \n"
+" \"VideoScaler\": \"swscale\", \n"
+" \"VideoTune\": \"\", \n"
+" \"VideoTurboTwoPass\": true, \n"
+" \"VideoTwoPass\": true, \n"
+" \"x264Option\": \"\", \n"
+" \"x264UseAdvancedOptions\": false\n"
+" }\n"
+" ], \n"
+" \"Folder\": true, \n"
+" \"PresetName\": \"Web\", \n"
+" \"Type\": 0\n"
+" }, \n"
+" {\n"
+" \"ChildrenArray\": [\n"
+" {\n"
+" \"AudioCopyMask\": [\n"
+" \"copy:aac\"\n"
+" ], \n"
+" \"AudioEncoderFallback\": \"aac\", \n"
+" \"AudioLanguageList\": [], \n"
+" \"AudioList\": [\n"
+" {\n"
+" \"AudioBitrate\": 160, \n"
+" \"AudioCompressionLevel\": -1.0, \n"
+" \"AudioDitherMethod\": \"auto\", \n"
+" \"AudioEncoder\": \"aac\", \n"
+" \"AudioMixdown\": \"dpl2\", \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"
@@ -6838,7 +7133,7 @@ const char hb_builtin_presets_json[] =
" \"x264Option\": \"\", \n"
" \"x264UseAdvancedOptions\": false\n"
" }, \n"
-" \"VersionMajor\": 21, \n"
+" \"VersionMajor\": 22, \n"
" \"VersionMicro\": 0, \n"
" \"VersionMinor\": 0\n"
" }\n"