[tiktok] Add "HD" video format option
See original GitHub issueChecklist
- Iβm requesting a site-specific feature
- Iβve verified that Iβm running yt-dlp version 2022.06.22.1 (update instructions) or later (specify commit)
- Iβve checked that all provided URLs are playable in a browser with the same IP and same login details
- Iβve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- Iβve read the guidelines for opening an issue
- Iβve read about sharing account credentials and Iβm willing to share it if required
Region
Europe
Example URLs
https://www.tiktok.com/@laurenolphert2/video/7082427877588798725
Description
On sites such as musicaldown.com (among many similar ones), you have the option to download HD version of any TikTok video, that usually has 6x times the bitrate than the best version downloaded by yt-dlp. You can check the example URL - the best yt-dlp can do is ~2mb without watermark and the HD version from musicaldown is nearly 10 times that at 20mb. also, ~500kb overall bitrate vs ~5700kb for the HD version.
Is there a way to include this βHDβ version in the format selection of yt-dlp when downloading single TikTok videos?
Here is the current format list with the example video:
[TikTok] 7082427877588798725: Downloading video details
[info] Available formats for 7082427877588798725:
ID EXT RESOLUTION β FILESIZE TBR PROTO β VCODEC VBR ACODEC ABR MORE INFO
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
download_addr-0 mp4 576x1024 β 3.01MiB https β h264 aac Download video, watermarked (API)
download_addr-1 mp4 576x1024 β 3.01MiB https β h264 aac Download video, watermarked
download_addr-2 mp4 576x1024 β 3.01MiB https β h264 aac Download video, watermarked
h264_540p_846092-0 mp4 576x1024 β 2.97MiB 846k https β h264 846k aac 0k Direct video (API)
h264_540p_846092-1 mp4 576x1024 β 2.97MiB 846k https β h264 846k aac 0k Direct video
h264_540p_846092-2 mp4 576x1024 β 2.97MiB 846k https β h264 846k aac 0k Direct video
bytevc1_540p_156273-0 mp4 576x1024 β 562.08KiB 156k https β h265 156k aac 0k Playback video (API)
bytevc1_540p_156273-1 mp4 576x1024 β 562.08KiB 156k https β h265 156k aac 0k Playback video
bytevc1_540p_156273-2 mp4 576x1024 β 562.08KiB 156k https β h265 156k aac 0k Playback video
bytevc1_540p_199483-0 mp4 576x1024 β 717.50KiB 199k https β h265 199k aac 0k Playback video (API)
bytevc1_540p_199483-1 mp4 576x1024 β 717.50KiB 199k https β h265 199k aac 0k Playback video
bytevc1_540p_199483-2 mp4 576x1024 β 717.50KiB 199k https β h265 199k aac 0k Playback video
bytevc1_540p_410975-0 mp4 576x1024 β 1.44MiB 410k https β h265 410k aac 0k Direct video (API)
bytevc1_540p_410975-1 mp4 576x1024 β 1.44MiB 410k https β h265 410k aac 0k Direct video
bytevc1_540p_410975-2 mp4 576x1024 β 1.44MiB 410k https β h265 410k aac 0k Direct video
bytevc1_720p_506490-0 mp4 unknown β 1.78MiB 506k https β h265 506k aac 0k Playback video (API)
bytevc1_720p_506490-1 mp4 unknown β 1.78MiB 506k https β h265 506k aac 0k Playback video
bytevc1_720p_506490-2 mp4 unknown β 1.78MiB 506k https β h265 506k aac 0k Playback video
Verbose log
[debug] Command-line config: ['-vU', 'https://www.tiktok.com/@laurenolphert2/video/7082427877588798725']
[debug] Encodings: locale cp1251, fs utf-8, pref cp1251, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.22.1 [a86e01e] (win32_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.4-essentials_build-www.gyan.dev (setts), ffprobe 4.4-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.06.22.1, Current version: 2022.06.22.1
yt-dlp is up to date (2022.06.22.1)
[TikTok] Setting up session
WARNING: [TikTok] Unable to download webpage: The read operation timed out
[debug] [TikTok] Extracting URL: https://www.tiktok.com/@laurenolphert2/video/7082427877588798725
[TikTok] 7082427877588798725: Downloading video details
[debug] Sort order given by extractor: quality, codec, size, br
[debug] Formats sorted by: hasvid, ie_pref, quality, vcodec, acodec, filesize, fs_approx, tbr, vbr, abr, lang, res, fps, hdr:12(7), asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 7082427877588798725: Downloading 1 format(s): bytevc1_720p_506490-2
[debug] Invoking http downloader on "https://v19.tiktokcdn.com/43718105d7f8d508cd3d63d52ded9d88/62b3a1b1/video/tos/useast2a/tos-useast2a-ve-0068c003/8f19c3e47d9a4ebf989de5a78acaae26/?a=1180&ch=0&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=988&bt=494&btag=80000&cs=2&ds=3&ft=AHKuOBivqagmo0P3-IPfkVQDAOtS2KJ&mime_type=video_mp4&qs=14&rc=NDY8NDw3ZWlmNDU0N2Q3aEBpanZtcDg6Zml2PDMzNzczM0BeYi0wMmM0XzMxMjQzYWNgYSNfLmRpcjRvZjFgLS1kMTZzcw%3D%3D&l=20220622171116010245245002073D774B&cc=4"
[download] #fyp #ikea #ikeamirrorhack #ikeamirror #diy [7082427877588798725].mp4 has already been downloaded
[download] 100% of 1.78MiB
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:19 (3 by maintainers)
Top Results From Across the Web
This Hidden Setting Is the Trick to Uploading HD Videos on ...
Tap on "More options" at the bottom, then toggle on "Upload HD" or "Allow high-quality uploads," depending on what version of TikTok you'reΒ ......
Read more >How to Upload High Quality Video on TikTok - TechCult
How to Upload High Quality Video on TikTok: Open TikTok > +icon > Upload > edit desired video > More options > Allow...
Read more >TikTok Video Quality Settings: How to Fix Low Quality on TikTok
This article will introduce you the best TikTok video quality settings and help ... Tap "More Options" button to toggle the "Upload HD"...
Read more >How to Upload HD videos on TikTok - YouTube
You can finally upload HD videos on TikTok. All you need to do is activate one set during the upload process.To upload HD...
Read more >TikTok Video Length & Video Formatting Guide in 2020
Want your TikTok videos to look fantastic? Here's everything you need to know about TikTok video length and formatting videos for TikTok:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found a new way to download the video in original quality, but it is impossible to publish it because publishing it may soon be fixed by TT.
I have put it in my API, you can try it
Redirect to play url from id:
https://www.tikwm.com/video/media/hdplay/7107337212743830830.mp4
@yi005 do you have discord or anything that i can contact you via?