Comments (6)
@Mach1212 just as a quick note:
Be careful with .download_to(format!("{}_vid.mp4", id))
, since the video is not guaranteed to be in mp4
format. To get the correct extension, you can call stream.mime.subtype().as_str()
. If you only want mp4
videos, you can filter the streams as mentioned in the code comment above.
(the docs are outdated here, I will fix that)
from rustube.
I also have the same problem. The vid I tried has 4k quality but the one that got downloaded is 1280x640 resolution.
The code I use is:
let best_quality = video.best_quality().unwrap();
let path_to_video = block!(best_quality.download_to_dir(Path::new("./videos"))).unwrap();
from rustube.
@Mach1212 @mehmetkursataydin thank you for mentioning this. The reason rustube
does not download the highest quality video in your cases is, that Video::best_quality
will only consider Stream
s with both an audio and a video track.
If you i.e. look at the Clash of Clans promo video streams, you'll notice, that all 1080p
streams are missing an audio track.
streams
$ rustube check --ignore-missing-audio QHnxnzrwQmk
---
streams:
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=18&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=D0-abZ5xE3GkqQ9ZYCUdMPkG&gir=yes&clen=2614344&ratebypass=yes&dur=30.069&lmt=1619859999877829&mt=1646656142&fvip=3&fexp=24001373%2C24007246&c=WEB&txp=5530434&n=OEC_KYgeP0FewOXG1&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgf19zuxK0M7Gd_zYmiavUoII2EZ1dZM9oBi6iLmC5mskCIEUB5sAiAl9fdDehmtqh9yFs5rb1ibmEmzRbrTB08CG0&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: medium
includes_video_track: true
includes_audio_track: true
approx_duration_ms: 30069
height: 360
width: 640
quality_label: 360p
fps: 30
audio_quality: AUDIO_QUALITY_LOW
bitrate: 697158
audio_sample_rate: 44100
audio_channels: 2
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=22&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=D0-abZ5xE3GkqQ9ZYCUdMPkG&cnr=14&ratebypass=yes&dur=30.069&lmt=1630805616925859&mt=1646656142&fvip=3&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=OEC_KYgeP0FewOXG1&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhANEBm58AXSWPaC_lN1dxHS25769_Ova9nCELJ0Kb_BtiAiBOktJ0Wa-LjSrQbU0Vpc9UrOOCDQbqnjMzUe8ji5K9Ew%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: hd720
includes_video_track: true
includes_audio_track: true
approx_duration_ms: 30069
height: 720
width: 1280
quality_label: 720p
fps: 30
audio_quality: AUDIO_QUALITY_MEDIUM
bitrate: 1107277
audio_sample_rate: 44100
audio_channels: 2
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=11966034&dur=29.999&lmt=1619860635801609&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgaFLkgXs8HumYpWZvjhzdtY8eQyZS31zit_YvL8xWCF8CID_2GcDGJWfc7JaP14JlAGwYTHcEjuKX8_hHVFnusdw9&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: hd1080
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 1080
width: 1920
quality_label: 1080p
fps: 30
audio_quality: ~
bitrate: 4401135
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=248&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fwebm&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=8152490&dur=29.999&lmt=1619861507123384&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAMMX5I9SzTltt0mDV-y1f6KAh0ScFSGzlGAhCAHRzu6oAiEA_4DqZj8q1ZyUnAwdJievlPxJfbC8UQ5aDmM9u1Ctnn8%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/webm
quality: hd1080
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 1080
width: 1920
quality_label: 1080p
fps: 30
audio_quality: ~
bitrate: 2636844
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=399&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=7352152&dur=29.999&lmt=1621631854852725&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgOZbw4Lw56BC6kUJG281UkLW6L9gbDKybbVUF-X3e-KYCIHapfyL1mJ23gy9oBNyUEnmWcclRv-BwiMWfNO5ablyP&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: hd1080
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 1080
width: 1920
quality_label: 1080p
fps: 30
audio_quality: ~
bitrate: 2737357
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=136&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=3667544&dur=29.999&lmt=1619860651862909&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAPGot7PVIfy8Z-gF-rXw9kkKVxdF0OM8VnqWraazZaADAiEAmIThk50FIP52W6C4uXqPOTsgA7MlDEWAiI71ElJJPJ4%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: hd720
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 720
width: 1280
quality_label: 720p
fps: 30
audio_quality: ~
bitrate: 1501391
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=247&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fwebm&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=3972733&dur=29.999&lmt=1619861764575141&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAKnvPyb8KZfR-_Gxk4fxdfgKlC-5M5mN-j5C_LNah8DEAiEAmdsS4nBi44GYuE0OrO5LRKeMZB6wmvqxo-04ZCtK_10%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/webm
quality: hd720
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 720
width: 1280
quality_label: 720p
fps: 30
audio_quality: ~
bitrate: 1474032
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=398&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=4258346&dur=29.999&lmt=1621631566071066&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgXMg2PkBs_3Fh1tf5kvyQD4vNvnGz5Hw9A9OQ5Gt_egoCIQCIZfhwxuClUG1H2u4t5CSe12GlB5g38i0ZHIGorXHOww%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: hd720
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 720
width: 1280
quality_label: 720p
fps: 30
audio_quality: ~
bitrate: 1532699
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=135&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=2145152&dur=29.999&lmt=1619860651967469&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgZ9xXnmuMSqQqsppPLO8S6BCVopjOE57K87ZWjvKhWesCIQDnasT0ehHQLcNJ1vdUsKBrIJC-plIE2ZvaFHbWg80wcg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: large
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 480
width: 854
quality_label: 480p
fps: 30
audio_quality: ~
bitrate: 850404
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=244&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fwebm&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=2168509&dur=29.999&lmt=1619861764475783&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAKeYivmvNRBWLWRUTpZnxovTAJdibxlx5uto1gSA0GU8AiEA3vy-iiAiGAOMg-5ixM80tR4S784dinIEEfDbnJmr7Jo%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/webm
quality: large
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 480
width: 854
quality_label: 480p
fps: 30
audio_quality: ~
bitrate: 756812
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=397&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=2057409&dur=29.999&lmt=1621631556175824&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgNPe7ROrqC0alDDCNgdI1TwO-qWpyb5sX3pioqiEj2OcCIHS-oC4RTDNxYZPj91wS7MgMs-Gk4vpu4H8Bj-4Ai9pT&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: large
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 480
width: 854
quality_label: 480p
fps: 30
audio_quality: ~
bitrate: 707984
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=134&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=1391538&dur=29.999&lmt=1619860651794758&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIga58V01GRthHBlGJxiZBJ8x4bpbohgFekjvQLaq2Tm8gCIQC8t4TrITirZYk2MFm2zm27JljSfkhtY0u6p1F0agZayQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: medium
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 360
width: 640
quality_label: 360p
fps: 30
audio_quality: ~
bitrate: 570565
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=243&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fwebm&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=1260769&dur=29.999&lmt=1619861764598620&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgZBi6vlbcSPg9hvG1zqKukvlYy5d4p8Q2A8o6xX7GMiQCIQCy5DtY7AjlGNwO-wC8SkgCIaYhKE4RtAwwQqIMrd3TnA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/webm
quality: medium
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 360
width: 640
quality_label: 360p
fps: 30
audio_quality: ~
bitrate: 404356
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=396&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=1151011&dur=29.999&lmt=1621630898574337&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAK2tf6WBHAzdXjhaCjaGAhO7BaSk8WZLxI0KVwcmMs50AiEA6nhM3eJe6oiZOxeVZEy_7SwKEV3OppR8hK0pHjzW1yE%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: medium
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 360
width: 640
quality_label: 360p
fps: 30
audio_quality: ~
bitrate: 388808
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=133&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=660689&dur=29.999&lmt=1619860651683241&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhALCxdVwYPg-IvS8saFCA1FZdEnmBiYfEWATptRDmM-KYAiACRYYxpI83LexUuzZ5VQgiKMjRdX1YYQOul382QI4LQQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: small
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 240
width: 426
quality_label: 240p
fps: 30
audio_quality: ~
bitrate: 222367
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=242&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fwebm&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=711874&dur=29.999&lmt=1619861764479905&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAPFQnvka9MzUwqqkwuPTf6XC_GBoK4Ny2Mr4pNUbQXrdAiEA1DAqojuv3H9ItO-JLZr6tqCGsTAHAReBuSGTLfPZpE8%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/webm
quality: small
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 240
width: 426
quality_label: 240p
fps: 30
audio_quality: ~
bitrate: 221324
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=395&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=565806&dur=29.999&lmt=1621630784272252&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAJsVn_HPPS4DtKBN_Dj9ve1-BcU8bTSwyIv3gMCek26HAiBup1goiIHOQZkiUpbaWq4OTBWEynYTQ4rkdIRd7k8pvQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: small
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 240
width: 426
quality_label: 240p
fps: 30
audio_quality: ~
bitrate: 185301
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=160&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=338138&dur=29.999&lmt=1619860651676686&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgQa9Y5oOHSSmKBonvzMzyR38siqV4SY1iD-73GlOcVhUCIG6nUbjhTL6HlH25obUipD6YDYCo0do45OYu_ICihG6t&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: tiny
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 144
width: 256
quality_label: 144p
fps: 30
audio_quality: ~
bitrate: 106057
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=278&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fwebm&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=331843&dur=29.999&lmt=1619861764381048&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5535434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAM_Cnt0JiJrjirVNRfnk8cl9EKaIEgU0KomxmKTJjo1_AiEA3TnMuGj2FZ9Uvhg03jEeYPwCOA_PsAmjT85mLpftGOI%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/webm
quality: tiny
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 144
width: 256
quality_label: 144p
fps: 30
audio_quality: ~
bitrate: 96547
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
- signature_cipher:
url: "https://rr3---sn-h0jelnes.googlevideo.com/videoplayback?expire=1646678152&ei=J_wlYo79OM_M1gLF-rcg&ip=2a02%3A810d%3A980%3A2424%3Ac8ef%3A507c%3A6c54%3A6a5f&id=o-AJv01OI3Dy6BNEA5pjo15IVZVRg9bJjyQ2CvthmslLUL&itag=394&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=-a&mm=31%2C26&mn=sn-h0jelnes%2Csn-4g5lznes&ms=au%2Conr&mv=m&mvi=3&pl=40&initcwndbps=1791250&vprv=1&mime=video%2Fmp4&ns=Kvwb9dwnUlOoV8sxbVh5bBQG&gir=yes&clen=276150&dur=29.999&lmt=1621630421183454&mt=1646656142&fvip=3&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=cPy7hfwjjhZYmPRle&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAIAl-4Ag1ASut961vz1ex3WvaOe4S66s1qdMNikCCj73AiBOfFOcJzP0EjlL4SIMencq2qIA86T3QMk4eIuQOJqLkw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMBP1-v1-fLDDr_hMTAMPqnhJbg51kBZHpJDGw1hFvdyAiEA5UkKASN8Ylo2TsG00v5dS9otmBF6LviEDRCzUSzuzKc%3D"
s: ~
mime: video/mp4
quality: tiny
includes_video_track: true
includes_audio_track: false
approx_duration_ms: 29999
height: 144
width: 256
quality_label: 144p
fps: 30
audio_quality: ~
bitrate: 89405
audio_sample_rate: ~
audio_channels: ~
loudness_db: ~
Unfortunately, YouTube does that quite often, that it splits the audio and video tracks into separate Stream
s. If you don't care about the audio track, you can call:
video
.streams()
.iter()
// you might also want to filter for `stream.mime.subtype() == mime::MP4` if you only want mp4 videos
.filter(|stream| stream.includes_video_track)
.max_by_key(|stream| stream.width)
This will get you the highest resolution video Stream
.
If you need both, the highest resolution video, and the best audio track, you'll have to download both tracks separately and combine them using something like ffmpeg
. That's probably also what video downloader websites do.
from rustube.
To get the highest quality audio track:
video
.streams()
.iter()
// you might also want to filter for a certain audio format, like mp4 or webm
.filter(|stream| stream.includes_audio_track)
.max_by_key(|stream| stream.bitrate)
from rustube.
Thanks for the in depth replies!
from rustube.
@Mach1212 @mehmetkursataydin thank you for mentioning this. The reason
rustube
does not download the highest quality video in your cases is, thatVideo::best_quality
will only considerStream
s with both an audio and a video track.If you i.e. look at the Clash of Clans promo video streams, you'll notice, that all
1080p
streams are missing an audio track.streams
Unfortunately, YouTube does that quite often, that it splits the audio and video tracks into separateStream
s. If you don't care about the audio track, you can call:video .streams() .iter() // you might also want to filter for `stream.mime.subtype() == mime::MP4` if you only want mp4 videos .filter(|stream| stream.includes_video_track) .max_by_key(|stream| stream.width)This will get you the highest resolution video
Stream
.If you need both, the highest resolution video, and the best audio track, you'll have to download both tracks separately and combine them using something like
ffmpeg
. That's probably also what video downloader websites do.
Thanks for the great explanation and sample codes!
from rustube.
Related Issues (20)
- 404 /get_video_info
- Downloading gives an error: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: QueryDeserialization(Custom("missing field `player_response`"))' HOT 3
- Is download speed throttled by YouTube? HOT 21
- Could not acquire the player response (age-restricted videos) HOT 7
- Tracking issue: YouTube API v1 HOT 5
- VideoDetails.average_rating does no longer exist
- Files downloaded with best_audio or worst_audio are using the wrong extension HOT 2
- Consider moving away from nightly-only features HOT 2
- callback cannot use in `tokio::spawn` HOT 1
- Can't download a specific video (id=whoI4EuC0yg) HOT 2
- How do you specify the download path for the video? HOT 4
- blocking_download_to_with_callback is not found HOT 2
- Security issue around CVE-2020-26235 (RUSTSEC-2020-0071)
- add option for stdout HOT 2
- Default example from docs not working correctly. HOT 5
- Can you make url property in stream visible?
- UnexpectedResponse("watch html did not contain a PlayabilityStatus") HOT 4
- add dashManifestUrl && hlsManifestUrl in to stream HOT 1
- Possible API change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustube.