-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VK Video] unknown_video extension while downloading some VK video playlists #5675
Comments
In the extractor,
so yt-dlp doesn't have any idea which file extension to use. Does anyone know if VK hosts any direct http videos that are not mp4? Lines 491 to 499 in 0e96b40
|
All videos I came across in VK were mp4 but I can't say that VK has only mp4. |
IMHO, this issue appears due to the fact
2. video with correct extension (
Is it possible to check previous format(s) in format-list and use extension from it if the best(last) one is unknown? |
Vimeo extractor had the same problem #1402. |
Would it make sense for yt-dlp to |
Too late by then: the extension is needed for format selection before downloading. Maybe a HEAD, or other, request for the video would reveal a MIME type, as mentioned above. |
I thought, the problem is that the downloaded file is |
making a head request to every single video url just for format selection wouldn't make sense, imo, unless the user passes I like the ffprobe idea, although it's not my decision Or why not just write a proposal for now that I think about it, a similar file extension likely already exists (UPDATE: apparently .vid exists, but nothing seems to support it) |
Only when a video/media URL is found that doesn't convey any format information, via |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Ukraine, but not limited to.
Provide a description that is worded well enough to be understood
Reason to uncheck sharing account credentials: No account needed. Reproduces without cookies.
URL https://vk.com/video/playlist/-24440848_54694294
yt-dlp creates a file called VIDEONAME.unknown_video, instead of a file called VIDEONAME.mp4
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: