Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boul2gom/yt-dlp
/ functions
Functions
2,260 in github.com/boul2gom/yt-dlp
⨍
Functions
2,260
◇
Types & classes
233
Method
libraries
Returns a reference to the library paths. # Returns A reference to the [`Libraries`] configuration.
src/lib.rs:509
Method
linear
Creates a strategy with linear backoff # Arguments `max_attempts` - Maximum number of retry attempts `delay` - Fixed delay between retries # Return
src/events/retry.rs:54
Method
list_subtitle_languages
Lists all available subtitle and automatic caption languages for a video. Returns a deduplicated list of language codes from both `subtitles` and `au
src/client/streams/selection.rs:631
Method
live_recording
(url: impl Into<String>, reason: impl Into<String>)
src/error.rs:668
Method
live_recording
(video_id: impl Into<String>)
src/events/filters.rs:207
Method
live_segment_fetch_failed
(url: &str, status: reqwest::StatusCode)
src/error.rs:714
Method
live_streaming
(url: impl Into<String>, reason: impl Into<String>)
src/error.rs:691
Method
live_unavailable
(url: impl Into<String>, live_status: impl Into<String>, reason: impl Into<String>)
src/error.rs:615
Function
live_video_fixture_is_live
()
tests/unit/model/video.rs:133
Function
load_drm_video_fixture
Loads a Video from the drm_video.json fixture.
tests/common/fixtures.rs:75
Function
load_live_video_fixture
Loads a Video from the live_video.json fixture.
tests/common/fixtures.rs:57
Method
load_segment_progress
Loads segment progress from a .parts tracking file.
src/download/engine/parallel.rs:354
Function
m4a_find_byte_range_returns_some
()
tests/integration/media-seek/seeking.rs:115
Function
main
()
build.rs:1
Function
main
()
examples/compare.rs:663
Function
main
()
examples/profiling.rs:549
Function
manager_config_default
()
tests/unit/download/config.rs:95
Function
manager_config_display
()
tests/unit/download/config.rs:117
Function
manager_config_from_speed_profile
()
tests/unit/download/config.rs:103
Function
manager_config_with_speed_profile
()
tests/unit/download/config.rs:110
Function
manager_download_works_with_cache_enabled
()
tests/e2e/cache/pipeline.rs:80
Function
matches_audio_codec_aac
()
tests/unit/model/selector.rs:87
Function
matches_audio_codec_any
()
tests/unit/model/selector.rs:100
Function
matches_audio_codec_mp3
()
tests/unit/model/selector.rs:94
Function
matches_audio_codec_opus
()
tests/unit/model/selector.rs:80
Function
matches_video_codec_any
()
tests/unit/model/selector.rs:75
Function
matches_video_codec_av1
()
tests/unit/model/selector.rs:60
Function
matches_video_codec_avc1
()
tests/unit/model/selector.rs:52
Function
matches_video_codec_custom
()
tests/unit/model/selector.rs:67
Function
matches_video_codec_vp9
()
tests/unit/model/selector.rs:44
Method
max_parallel_segments_for_large_files
Get the maximum parallel segments for large files (> 2 GB) This is used by the dynamic segment calculation in Fetcher
src/download/config/speed_profile.rs:125
Method
max_playlist_concurrent_downloads
Get the maximum number of concurrent downloads for playlists This limits how many videos can be downloaded simultaneously in a playlist
src/download/config/speed_profile.rs:201
Method
metadata
Create a metadata error with operation and path context. # Arguments `operation` - Description of the metadata operation (e.g. "read MP4 tags") `pat
src/error.rs:730
Function
metadata_manager_clone
()
tests/unit/metadata.rs:41
Function
metadata_manager_default
()
tests/unit/metadata.rs:20
Function
metadata_manager_eq
()
tests/unit/metadata.rs:27
Function
metadata_manager_ne
()
tests/unit/metadata.rs:34
Function
metadata_manager_new
()
tests/unit/metadata.rs:6
Function
metadata_manager_with_ffmpeg_path
()
tests/unit/metadata.rs:13
Function
metadata_type_display
()
tests/unit/events.rs:141
Function
mime_type_ass
()
tests/unit/utils/fs_utils.rs:144
Function
mime_type_case_insensitive
()
tests/unit/utils/fs_utils.rs:164
Function
mime_type_jpeg
()
tests/unit/utils/fs_utils.rs:124
Function
mime_type_jpg
()
tests/unit/utils/fs_utils.rs:119
Function
mime_type_m4a
()
tests/unit/utils/fs_utils.rs:114
Function
mime_type_mp3
()
tests/unit/utils/fs_utils.rs:109
Function
mime_type_mp4
()
tests/unit/utils/fs_utils.rs:99
Function
mime_type_no_extension
()
tests/unit/utils/fs_utils.rs:159
Function
mime_type_png
()
tests/unit/utils/fs_utils.rs:129
Function
mime_type_srt
()
tests/unit/utils/fs_utils.rs:139
Function
mime_type_ssa
()
tests/unit/utils/fs_utils.rs:149
Function
mime_type_unknown
()
tests/unit/utils/fs_utils.rs:154
Function
mime_type_vtt
()
tests/unit/utils/fs_utils.rs:134
Function
mime_type_webm
()
tests/unit/utils/fs_utils.rs:104
Function
mixed_formats_only_selects_correct_type
()
tests/unit/selection.rs:825
Function
mock_fetcher_clamps_end
()
tests/integration/media-seek/fetcher.rs:17
Function
mock_fetcher_out_of_bounds_error
()
tests/integration/media-seek/fetcher.rs:26
Function
mock_fetcher_returns_correct_bytes
()
tests/integration/media-seek/fetcher.rs:6
Function
mp3_find_byte_range_covers_file
()
tests/integration/media-seek/seeking.rs:23
Function
mp3_index_find_range
()
tests/unit/media-seek/index.rs:48
Function
mp4_byte_range_start_before_end
()
tests/integration/media-seek/seeking.rs:202
Function
mp4_find_byte_range_returns_some
()
tests/integration/media-seek/seeking.rs:101
Function
multiple_distinct_keys_independent
()
tests/integration/cache/json.rs:144
Function
multiple_hooks_all_execute
()
tests/integration/events/hooks.rs:38
Function
multiple_subscribers_receive_events
()
tests/e2e/events/pipeline.rs:113
Function
multiple_subscribers_receive_same_event
()
tests/integration/events/bus.rs:12
Method
name
(&self)
src/extractor/youtube.rs:444
Method
name
(&self)
src/extractor/generic.rs:184
Method
name
(&self)
tests/common/test_extractor.rs:65
Method
new
Create a new PlaylistCache with custom TTL. # Arguments `config` - The cache configuration specifying directories, TTLs, and backend settings. `ttl`
src/cache/stores/playlist.rs:94
Method
new
Create a new DownloadCache with default TTL. # Arguments `config` - The cache configuration specifying directories, TTLs, and backend settings. `ttl
src/cache/stores/files.rs:75
Method
new
Creates a new `CachedVideo` by serializing the given video. # Arguments `url` - The original URL of the video. `video` - The video metadata to cache
src/cache/stores/video.rs:49
Method
new
Creates the persistent video backend for the selected kind. # Arguments `config` - The cache configuration specifying directories, TTLs, and backend
src/cache/backend/mod.rs:434
Method
new
Creates a new in-memory Moka video cache.
src/cache/backend/memory.rs:33
Method
new
(cache_dir: PathBuf, ttl: Option<u64>)
src/cache/backend/json.rs:81
Method
new
Creates a new Redis video cache.
src/cache/backend/redis.rs:53
Method
new
Creates a new redb playlist cache.
src/cache/backend/redb/playlist.rs:24
Method
new
Creates a new redb video cache.
src/cache/backend/redb/video.rs:24
Method
new
Creates a new redb file cache.
src/cache/backend/redb/file.rs:25
Method
new
Creates a new download builder. # Arguments `downloader` - Reference to the Downloader client `video` - The video to download `output` - Output path
src/client/download_builder.rs:97
Method
new
Creates a new proxy configuration. # Arguments `proxy_type` - The type of proxy (HTTP, HTTPS, or SOCKS5) `url` - The proxy URL (e.g., "http://proxy.
src/client/proxy.rs:57
Method
new
Create a new builder with required parameters. # Arguments `libraries` - The required libraries (yt-dlp and ffmpeg paths) `output_dir` - The directo
src/client/builder.rs:63
Method
new
(client: &'a reqwest::Client, url: &'a str, http_headers: Option<&HttpHeaders>)
src/client/streams/pipeline/partial.rs:28
Method
new
Create a new fetcher for ffmpeg. # Arguments `owner` - The GitHub repository owner `repo` - The GitHub repository name # Returns A new `FfmpegFetc
src/client/deps/ffmpeg.rs:61
Method
new
Create a new fetcher for the given GitHub repository. # Arguments `owner` - The GitHub repository owner `repo` - The GitHub repository name # Retur
src/client/deps/ytdlp.rs:32
Method
new
Create a new fetcher for the given GitHub repository. # Arguments `owner` - The owner of the GitHub repository. `repo` - The name of the GitHub repo
src/client/deps/github.rs:36
Method
new
Creates a new guard for the given path.
src/utils/fs.rs:528
Method
new
Creates a new expiry configuration.
src/utils/network/url_expiry.rs:178
Method
new
Create a new retry policy with default values.
src/utils/network/retry.rs:43
Method
new
Creates a new ChapterList from a slice of chapters.
src/model/types/chapter.rs:141
Method
new
Creates a new Heatmap from a list of points. # Arguments `points` - The heatmap points to include # Returns A new `Heatmap` instance containing th
src/model/types/heatmap.rs:32
Method
new
Creates a new `LiveFragmentStreamer`. # Arguments `config` - Common streaming configuration (URL, duration, events). `client` - Shared HTTP client.
src/live/streaming.rs:43
Method
new
Creates a new live recording builder. # Arguments `downloader` - Reference to the downloader. `video` - The video metadata (must be a live stream).
src/live/mod.rs:156
Method
new
Creates a new [`LiveCore`] from the provided configuration. # Arguments `config` - All shared state needed by the live recording/streaming engines.
src/live/core.rs:98
Method
new
Creates a new `LiveRecorder`. # Arguments `config` - Common recording configuration (URL, output, duration, events). `client` - Shared HTTP client.
src/live/recording/native.rs:53
Method
new
Creates a new `FfmpegLiveRecorder`. # Arguments `config` - Common recording configuration (URL, output, duration, events). `ffmpeg_path` - Path to t
src/live/recording/ffmpeg.rs:49
Method
new
Create a new MetadataManager with default ffmpeg path. The default ffmpeg path is "ffmpeg" unless overridden by the `FFMPEG_PATH` environment variabl
src/metadata/mod.rs:72
Method
new
Creates a new empty FFmpeg argument builder. # Returns A new `FfmpegArgs` with no arguments or output set.
src/executor/ffmpeg.rs:40
Method
new
Creates a new Executor. # Arguments `executable_path` - Path to the executable `args` - Arguments to pass to the command `timeout` - Timeout for the
src/executor/mod.rs:78
Method
new
Creates a new EventBus with the specified channel capacity # Arguments `capacity` - Maximum number of events that can be buffered. If the buffer is
src/events/bus.rs:30
← previous
next →
1,601–1,700 of 2,260, ranked by callers