diff --git a/docs/presets.rst b/docs/presets.rst index 584a14ba..b69a019a 100644 --- a/docs/presets.rst +++ b/docs/presets.rst @@ -153,6 +153,14 @@ it into an MP4 container: * ``best_video_quality`` + +Max 1080p +^^^^^^^^^^^^^^^^^^ + +Add the following preset to download the best available audio and video quality, with the video not greater than 1080p, and remux it into an MP4 container: + +* ``max_1080p`` + Chunk Initial Download ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/ytdl_sub/prebuilt_presets/helpers/common.yaml b/src/ytdl_sub/prebuilt_presets/helpers/common.yaml index 22e2d627..fda25402 100644 --- a/src/ytdl_sub/prebuilt_presets/helpers/common.yaml +++ b/src/ytdl_sub/prebuilt_presets/helpers/common.yaml @@ -6,7 +6,11 @@ presets: ytdl_options: format: "bestvideo+bestaudio/best" merge_output_format: "mp4" - remux_video: "mp4" + + max_1080p: + ytdl_options: + format: "(bv*[height<=1080]+bestaudio/best[height<=1080])" + merge_output_format: "mp4" chunk_initial_download: ytdl_options: