26 offsetof(options_t, media_file),
29 "Stream from media file or stdin (use '-' for stdin). Supported formats: see man ffmpeg-formats; codecs: see man "
39 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
45 offsetof(options_t, media_url),
48 "Stream from network URL. Direct HTTP/HTTPS/RTSP streams use FFmpeg; complex sites (YouTube, TikTok, etc.) use "
49 "yt-dlp. Supported formats: see man ffmpeg-formats; codecs: see man ffmpeg-codecs; sites: yt-dlp "
50 "https://github.com/yt-dlp/yt-dlp/blob/master/README.md#supported-sites",
59 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
65 offsetof(options_t, media_loop),
66 &default_media_loop_value,
68 "Loop media file playback (not supported for --url).",
77 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
83 offsetof(options_t, pause),
86 "Start playback paused (toggle with spacebar, requires --file or --url).",
95 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
100 OPTION_TYPE_CALLBACK,
101 offsetof(options_t, media_seek_timestamp),
102 &default_media_seek_value,
104 "Seek to timestamp before playback (format: seconds, MM:SS, or HH:MM:SS.ms).",
113 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
119 offsetof(options_t, yt_dlp_options),
121 sizeof(((options_t *)0)->yt_dlp_options),
122 "Arbitrary yt-dlp options passed to the extraction subprocess for URL resolution. "
123 "Examples: \"--no-warnings\" or \"--proxy socks5://127.0.0.1:1080\" or \"--cookies-from-browser=firefox\"",
127 "ASCII_CHAT_YT_DLP_OPTIONS",
132 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
136 REGISTRY_TERMINATOR()};