การติดตั้ง | การใช้งาน | ลองโดยไม่ต้องติดตั้ง
v ideo s tream d ownloader เป็นโปรแกรมบรรทัดคำสั่งสำหรับดาวน์โหลดสตรีมวิดีโอที่ให้บริการผ่าน HTTP จากเว็บไซต์ เพลย์ลิสต์ HLS และ DASH
รวบรวมคำขอเครือข่ายและรวบรวม .m3u8, .mpd และคำบรรยายจากเว็บไซต์และบันทึกไว้ในเครื่อง
การรวมสตรีมไปยังคอนเทนเนอร์วิดีโอเดียวโดยใช้ ffmpeg
แถบความคืบหน้าเดี่ยวสำหรับกระบวนการดาวน์โหลดที่สมบูรณ์ เช่น การดาวน์โหลดไฟล์ปกติพร้อมการประมาณขนาดไฟล์แบบเรียลไทม์
รองรับการถอดรหัสเพลย์ลิสต์ AES-128
และ CENC
รองรับ HLS และ DASH
รองรับการดาวน์โหลดในหลายเธรด
GUI (อาจจะเป็นในอนาคต)
รองรับการถอดรหัสเพลย์ลิสต์ SAMPLE-AES
ดาวน์โหลดสตรีมสด (wip)
ดูเพิ่มเติม
การพึ่งพาอาศัยกัน
ffmpeg (เป็นทางเลือก แนะนำ ) จำเป็นสำหรับการแปลงสตรีมและการแปลงรหัสเท่านั้น
chrome / chromium (เป็นทางเลือก) จำเป็นสำหรับ capture
และ collect
คำสั่งย่อยเท่านั้น
เยี่ยมชมรุ่นต่างๆ สำหรับไบนารีที่สร้างไว้ล่วงหน้า ดาวน์โหลดและแตกไฟล์เก็บถาวรแล้วคัดลอก vsd binary ไปยังเส้นทางใดก็ได้ ตอนนี้เพิ่มเส้นทางนั้นให้กับตัวแปรสภาพแวดล้อม PATH
ของคุณ
เจ้าภาพ | สถาปัตยกรรม | ดาวน์โหลด |
---|---|---|
Android 7+ (Termux) | อาร์ค64 | .tar.xz |
ลินุกซ์ | อาร์ค64 | .tar.xz |
แมคโอเอส 11.7+ | อาร์ค64 | .tar.xz |
หน้าต่าง | อาร์ค64 | .zip |
ลินุกซ์ | x86_64 | .tar.xz |
แมคโอเอส 11.7+ | x86_64 | .tar.xz |
หน้าต่าง | x86_64 | .zip |
คุณยังสามารถติดตั้ง vsd ผ่าน cargo ได้โดยใช้คำสั่งนี้
การติดตั้งสินค้าเทียบกับ
สามารถดูคำแนะนำในการสร้างได้ที่นี่ และบันทึกการเปลี่ยนแปลงที่นี่
นอกจากนี้คุณยังสามารถติดตั้งส่วนหน้า gui ของบุคคลที่สามที่สร้างโดย RealCataclysm ได้อีกด้วย
การดาวน์โหลดและบันทึกเพลย์ลิสต์ HLS และ DASH ลงในดิสก์
$ vsd บันทึก <url> -o video.mp4
เพื่อการทดสอบ คุณสามารถใช้สตรีมจาก https://test-streams.mux.dev
การรวบรวม .m3u8 (HLS), .mpd (Dash) และคำบรรยายจากเว็บไซต์และบันทึกไว้ในเครื่อง
$ vsd จับ <url> --save
$ vsd --help
Download video streams served over HTTP from websites, DASH (.mpd) and HLS (.m3u8) playlists. Usage: vsd.exe [OPTIONS] <COMMAND> Commands: capture Capture playlists and subtitles from a website extract Extract subtitles from mp4 boxes merge Merge multiple segments to a single file save Download DASH and HLS playlists help Print this message or the help of the given subcommand(s) Options: --color <COLOR> When to output colored text [default: auto] [possible values: auto, always, never] -h, --help Print help -V, --version Print version
$ vsd บันทึก --help
Download DASH and HLS playlists Usage: vsd.exe save [OPTIONS] <INPUT> Arguments: <INPUT> http(s):// | .mpd | .xml | .m3u8 Options: --base-url <BASE_URL> Base url to be used for building absolute url to segment. This flag is usually needed for local input files. By default redirected playlist url is used -d, --directory <DIRECTORY> Change directory path for temporarily downloaded files. By default current working directory is used -o, --output <OUTPUT> Mux all downloaded streams to a video container (.mp4, .mkv, etc.) using ffmpeg. Note that existing files will be overwritten and downloaded streams will be deleted --parse Parse playlist and returns it in json format. Note that `--output` flag is ignored when this flag is used --color <COLOR> When to output colored text [default: auto] [possible values: auto, always, never] --raw-prompts Raw style input prompts for old and unsupported terminals -h, --help Print help Automation Options: --prefer-audio-lang <PREFER_AUDIO_LANG> Preferred language when multiple audio streams with different languages are available. Must be in RFC 5646 format (eg. fr or en-AU). If a preference is not specified and multiple audio streams are present, the first one listed in the manifest will be downloaded --prefer-subs-lang <PREFER_SUBS_LANG> Preferred language when multiple subtitles streams with different languages are available. Must be in RFC 5646 format (eg. fr or en-AU). If a preference is not specified and multiple subtitles streams are present, the first one listed in the manifest will be downloaded -q, --quality <WIDTHxHEIGHT|HEIGHTp> Automatic selection of some standard resolution streams with highest bandwidth stream variant from playlist. If matching resolution of WIDTHxHEIGHT is not found then only resolution HEIGHT would be considered for selection. comman values: [lowest, min, 144p, 240p, 360p, 480p, 720p, hd, 1080p, fhd, 2k, 1440p, qhd, 4k, 8k, highest, max] [default: highest] --skip-prompts Skip user input prompts and proceed with defaults Client Options: --cookies <COOKIES> Fill request client with some existing cookies value. Cookies value can be same as document.cookie or in json format same as puppeteer --header <KEY> <VALUE> Custom headers for requests. This option can be used multiple times --no-certificate-checks Skip checking and validation of site certificates --proxy <PROXY> Set http(s) / socks proxy address for requests --set-cookie <SET_COOKIE> <URL> Fill request client with some existing cookies per domain. First value for this option is set-cookie header and second value is url which was requested to send this set-cookie header. Example `--set-cookie "foo=bar; Domain=yolo.local" https://yolo.local`. This option can be used multiple times --user-agent <USER_AGENT> Update and set user agent header for requests [default: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"] Decrypt Options: --all-keys Use all supplied keys for decryption instead of using keys which matches with default kid only -k, --key <KEY|KID:KEY> Keys for decrypting encrypted streams. If streams are encrypted with a single key then there is no need to specify key id else specify decryption key in format KID:KEY. KEY value can be specified in hex, base64 or file format. This option can be used multiple times --no-decrypt Download encrypted streams without decrypting them. Note that --output flag is ignored if this flag is used Download Options: --retry-count <RETRY_COUNT> Maximum number of retries to download an individual segment [default: 15] --no-merge Download streams without merging them. Note that --output flag is ignored if this flag is used -t, --threads <THREADS> Maximum number of threads for parllel downloading of segments. Number of threads should be in range 1-16 (inclusive) [default: 5]
รายการทางเลือกอื่นสำหรับ vsd:
N_m3u8DL-RE เป็นทางเลือกที่ดีที่สุดสำหรับ vsd นอกจากนี้ยังรองรับรายการเล่นสดที่ vsd ไม่รองรับ มันไม่ได้มาพร้อมกับคุณสมบัติเช่น การจับภาพ
N_m3u8DL-CLI ก็ดีเช่นกัน แต่ไม่ใช่ข้ามแพลตฟอร์ม
m3u8-downloader ก็ดีเช่นกัน แต่มีตัวเลือกที่ปรับแต่งได้น้อยมาก
webvideo-downloader เปิดเว็บไซต์โดยใช้ chrome จากนั้นจับคำขอ m3u8 คำสั่ง จับภาพ ของ vsd ใกล้เคียงกับฟังก์ชันนี้มากที่สุด
dash-mpd-cli ดีมากสำหรับการดาวน์โหลดเพลย์ลิสต์ DASH นอกจากนี้ vsd ภายในส่วนใหญ่สำหรับการแยกวิเคราะห์และดาวน์โหลดเพลย์ลิสต์ DASH นั้นใช้สำหรับโปรเจ็กต์หลัก
ใบอนุญาตแบบคู่
ใบอนุญาต Apache เวอร์ชัน 2.0 (ใบอนุญาต-APACHE)
ใบอนุญาต MIT (LICENSE-MIT)