settings.yaml serves as the core configuration file for TubeTube and contains the following key parameter sets:
- Format control parameters::
audio_ext: support for m4a/mp3/opus formats, etc., decide the output file extensionvideo_format_id: YouTube internal format code, e.g. '625' corresponds to 4K resolution
- Directory structure parameters::
General/Music/Podcast/VideoStorage Baseline Paths for Four Categories- The path needs to strictly correspond to the volume setting in docker-compose.yml
- transcoding parameter(Advanced Configuration):
audio_bitrate: Can be set to 128k/192k/320k, etc.video_preset: Impact on transcoding speed (ultrafast to veryslow)
- Concurrent control::
max_threads: Recommended setting is 1.5-2 times the number of CPU coresdownload_retry: Number of retries in case of network anomaly
Configuration Example Description:
When setting thevideo_format_id: ‘313’When the system selects YouTube's 2160p60 HDR format, it must be used in conjunction with thevideo_ext: webmUse. Wrong combinations will result in download failures, it is recommended to refer to the format cross-reference table in the project Wiki for settings.
This answer comes from the articleTubeTube: Self-Deploying YouTube Video Download ToolThe































