MCPcopy Create free account

hub / github.com/boul2gom/yt-dlp / functions

Functions2,260 in github.com/boul2gom/yt-dlp

Methodlibraries
Returns a reference to the library paths. # Returns A reference to the [`Libraries`] configuration.
src/lib.rs:509
Methodlinear
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
Methodlist_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
Methodlive_recording
(url: impl Into<String>, reason: impl Into<String>)
src/error.rs:668
Methodlive_recording
(video_id: impl Into<String>)
src/events/filters.rs:207
Methodlive_segment_fetch_failed
(url: &str, status: reqwest::StatusCode)
src/error.rs:714
Methodlive_streaming
(url: impl Into<String>, reason: impl Into<String>)
src/error.rs:691
Methodlive_unavailable
(url: impl Into<String>, live_status: impl Into<String>, reason: impl Into<String>)
src/error.rs:615
Functionlive_video_fixture_is_live
()
tests/unit/model/video.rs:133
Functionload_drm_video_fixture
Loads a Video from the drm_video.json fixture.
tests/common/fixtures.rs:75
Functionload_live_video_fixture
Loads a Video from the live_video.json fixture.
tests/common/fixtures.rs:57
Methodload_segment_progress
Loads segment progress from a .parts tracking file.
src/download/engine/parallel.rs:354
Functionm4a_find_byte_range_returns_some
()
tests/integration/media-seek/seeking.rs:115
Functionmain
()
build.rs:1
Functionmain
()
examples/compare.rs:663
Functionmain
()
examples/profiling.rs:549
Functionmanager_config_default
()
tests/unit/download/config.rs:95
Functionmanager_config_display
()
tests/unit/download/config.rs:117
Functionmanager_config_from_speed_profile
()
tests/unit/download/config.rs:103
Functionmanager_config_with_speed_profile
()
tests/unit/download/config.rs:110
Functionmanager_download_works_with_cache_enabled
()
tests/e2e/cache/pipeline.rs:80
Functionmatches_audio_codec_aac
()
tests/unit/model/selector.rs:87
Functionmatches_audio_codec_any
()
tests/unit/model/selector.rs:100
Functionmatches_audio_codec_mp3
()
tests/unit/model/selector.rs:94
Functionmatches_audio_codec_opus
()
tests/unit/model/selector.rs:80
Functionmatches_video_codec_any
()
tests/unit/model/selector.rs:75
Functionmatches_video_codec_av1
()
tests/unit/model/selector.rs:60
Functionmatches_video_codec_avc1
()
tests/unit/model/selector.rs:52
Functionmatches_video_codec_custom
()
tests/unit/model/selector.rs:67
Functionmatches_video_codec_vp9
()
tests/unit/model/selector.rs:44
Methodmax_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
Methodmax_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
Methodmetadata
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
Functionmetadata_manager_clone
()
tests/unit/metadata.rs:41
Functionmetadata_manager_default
()
tests/unit/metadata.rs:20
Functionmetadata_manager_eq
()
tests/unit/metadata.rs:27
Functionmetadata_manager_ne
()
tests/unit/metadata.rs:34
Functionmetadata_manager_new
()
tests/unit/metadata.rs:6
Functionmetadata_manager_with_ffmpeg_path
()
tests/unit/metadata.rs:13
Functionmetadata_type_display
()
tests/unit/events.rs:141
Functionmime_type_ass
()
tests/unit/utils/fs_utils.rs:144
Functionmime_type_case_insensitive
()
tests/unit/utils/fs_utils.rs:164
Functionmime_type_jpeg
()
tests/unit/utils/fs_utils.rs:124
Functionmime_type_jpg
()
tests/unit/utils/fs_utils.rs:119
Functionmime_type_m4a
()
tests/unit/utils/fs_utils.rs:114
Functionmime_type_mp3
()
tests/unit/utils/fs_utils.rs:109
Functionmime_type_mp4
()
tests/unit/utils/fs_utils.rs:99
Functionmime_type_no_extension
()
tests/unit/utils/fs_utils.rs:159
Functionmime_type_png
()
tests/unit/utils/fs_utils.rs:129
Functionmime_type_srt
()
tests/unit/utils/fs_utils.rs:139
Functionmime_type_ssa
()
tests/unit/utils/fs_utils.rs:149
Functionmime_type_unknown
()
tests/unit/utils/fs_utils.rs:154
Functionmime_type_vtt
()
tests/unit/utils/fs_utils.rs:134
Functionmime_type_webm
()
tests/unit/utils/fs_utils.rs:104
Functionmixed_formats_only_selects_correct_type
()
tests/unit/selection.rs:825
Functionmock_fetcher_clamps_end
()
tests/integration/media-seek/fetcher.rs:17
Functionmock_fetcher_out_of_bounds_error
()
tests/integration/media-seek/fetcher.rs:26
Functionmock_fetcher_returns_correct_bytes
()
tests/integration/media-seek/fetcher.rs:6
Functionmp3_find_byte_range_covers_file
()
tests/integration/media-seek/seeking.rs:23
Functionmp3_index_find_range
()
tests/unit/media-seek/index.rs:48
Functionmp4_byte_range_start_before_end
()
tests/integration/media-seek/seeking.rs:202
Functionmp4_find_byte_range_returns_some
()
tests/integration/media-seek/seeking.rs:101
Functionmultiple_distinct_keys_independent
()
tests/integration/cache/json.rs:144
Functionmultiple_hooks_all_execute
()
tests/integration/events/hooks.rs:38
Functionmultiple_subscribers_receive_events
()
tests/e2e/events/pipeline.rs:113
Functionmultiple_subscribers_receive_same_event
()
tests/integration/events/bus.rs:12
Methodname
(&self)
src/extractor/youtube.rs:444
Methodname
(&self)
src/extractor/generic.rs:184
Methodname
(&self)
tests/common/test_extractor.rs:65
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
Creates a new in-memory Moka video cache.
src/cache/backend/memory.rs:33
Methodnew
(cache_dir: PathBuf, ttl: Option<u64>)
src/cache/backend/json.rs:81
Methodnew
Creates a new Redis video cache.
src/cache/backend/redis.rs:53
Methodnew
Creates a new redb playlist cache.
src/cache/backend/redb/playlist.rs:24
Methodnew
Creates a new redb video cache.
src/cache/backend/redb/video.rs:24
Methodnew
Creates a new redb file cache.
src/cache/backend/redb/file.rs:25
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
(client: &'a reqwest::Client, url: &'a str, http_headers: Option<&HttpHeaders>)
src/client/streams/pipeline/partial.rs:28
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
Creates a new guard for the given path.
src/utils/fs.rs:528
Methodnew
Creates a new expiry configuration.
src/utils/network/url_expiry.rs:178
Methodnew
Create a new retry policy with default values.
src/utils/network/retry.rs:43
Methodnew
Creates a new ChapterList from a slice of chapters.
src/model/types/chapter.rs:141
Methodnew
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
Methodnew
Creates a new `LiveFragmentStreamer`. # Arguments `config` - Common streaming configuration (URL, duration, events). `client` - Shared HTTP client.
src/live/streaming.rs:43
Methodnew
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
Methodnew
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
Methodnew
Creates a new `LiveRecorder`. # Arguments `config` - Common recording configuration (URL, output, duration, events). `client` - Shared HTTP client.
src/live/recording/native.rs:53
Methodnew
Creates a new `FfmpegLiveRecorder`. # Arguments `config` - Common recording configuration (URL, output, duration, events). `ffmpeg_path` - Path to t
src/live/recording/ffmpeg.rs:49
Methodnew
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
Methodnew
Creates a new empty FFmpeg argument builder. # Returns A new `FfmpegArgs` with no arguments or output set.
src/executor/ffmpeg.rs:40
Methodnew
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
Methodnew
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
← previousnext →1,601–1,700 of 2,260, ranked by callers