-
Notifications
You must be signed in to change notification settings - Fork 106
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
unknown_video extension while downloading VK video playlist #472
Comments
I tested the playlist. This is what I see: Only the video in the top-left is downloaded (the "Download all" button), the other videos are only checked (the "Check all" button). The size of the checked videos is unknown. YouTube sends the size, but other websites do not. The size of the downloaded video is known, because Tartube examines the video file that you downloaded. Are you seeing something different? |
The following is what's happening on my side. |
It seems to be a yt-dlp problem. I tried downloading the playlist in a terminal window, no Tartube, just yt-dlp:
Tartube does not hide anything, the Output tab shows everything that's visible in a terminal window. |
There is Расколотая битвой синева небес: Целый год (серия 19).info.json{"id": "-24440848_456240561", "formats": [{"format_id": "hls-200", "url": "https://vkvd210.mycdn.me/expires/1669982302997/srcIp/104.28.224.95/pr/40/srcAg/CHROME/ms/185.226.53.201/type/4/sig/ARlv_reMmkA/ct/8/urls/185.226.52.165/clientType/13/id/3121993812541/video/", "manifest_url": "https://vkvd210.mycdn.me/video.m3u8?cmd=videoPlayerCdn&expires=1669982302544&srcIp=104.28.224.95&srcAg=CHROME&ms=185.226.53.201&mid=3967944894525&type=4&sig=Ov4N_XrBi50&ct=8&urls=185.226.52.165&clientType=13&id=3121993812541", "tbr": 200.095, "ext": Concerning "Output" tab, I was referring to this missing line in your screenshot: |
Yes. Your complaint is, this command creates a file called VIDEONAME.unknown_video, instead of a file called VIDEONAME.mp4:
I checked the Tartube code, and you are correct: that line is hidden. There are several reasons, one is that I don't want to spam the Output tab. Another reason is that it's not simple to replace existing text in a Gtk textview (not impossible, just not simple), so I didn't add that functionality. Another reason is that you might receive half a line, instead of a whole line (because of network delays), and that is alsy tricky to handle (not impossible, just not simple). |
I submitted the issue yt-dlp/yt-dlp#5675 but it's unknown how it'll be solved. And one more issue I stumbled upon. |
I think it will be fixed long before I can update Tartube, so let's wait a few days before doing anything.
Make sure Tartube is sorting videos by date. Click the small green icon at the bottom of the window, and check the Sort box is set to Upload time. The button next to it will force a re-sort of videos, so that will probably solve your problem. |
Screenshots & log
|
One more question:) |
Sorry for my third-point report, my bad.
But still there is an issue: |
Please - one problem per issue. It is impossible to keep track or ten different problems, when they are all added to one issue! Maybe you are thinking, "If I add 10 new issues today, he will kill me." But I will not kill you, I will be happy that you found 10 bugs that I did not notice before. |
Please "check" the playlist, and then show me the yellow text at the top of the Output tab. Then I will try to reproduce your exact problem. Try adding https://vk.com/video/playlist/-24440848_54694294 as a channel (not a playlist). Do you still see the same problem? (Tartube tries to sort playlists so the order is the same, as the order on the video website.) |
By default, there are only 50 videos per page. Do you see "Page 1 / 2 Size 50" in your Tartube window? Can you click the button, to open the next page? Edit: I just noticed your screenshot. You should definitely try that :)
No, the output tab only processed 84 videos. For example, video #10 is not processed. This video is also not visible on the website (perhaps it is deleted?) |
Yes, use custom downloads, see |
Yes, see here. |
…A detection/reset file size on refresh #472
I can't test your problem because VK is refusing downloads on that playlist, at the moment. But in v2.4.174 I tweaked the refresh operation, so that it updates the file size. From Tartube's menu, click Operations > Refresh database... By the way, v2.4.174 is only released to PyPI/Github. If you want to update your Windows installation, see here. |
Also fixed in v2.4.174. The format of yt-dlp's output has been changed, and no-one told me ;) |
I really understand what you're talking about hence I'm very sorry, my bad.
Thank you! It's awesome! |
Many thanks! It works:) |
Thank you. Some clarifications:
|
I confirmed that v2.4.165 config files can't be read by v2.4.173. The reason was some temporary code that I forgot to remove. The temporary code was removed in later versions, though. |
Is this one done too? Re-open it if not :) |
@axcore |
Today I downloaded the whole of https://vk.com/video/playlist/-24440848_54694294 but I only received Do you have a playlist URL which is currently sending |
|
It is not feasible without a code rewrite that will take many days. I spent two hours on it today, and I could not find a practical solution. |
You can change the file endings manually, then in Tartube's window, select Operations > Refresh database, which will add the videos to your database. Also, the .unknown_video extension doesn't appear if you select a video format in Edit > General download options... > Formats, for example Any format [1440p]. |
Thank you, I already do this operation such as manual renaming and refreshing database, but it looks like a misconception of the very idea of making life easier for users through programming. |
I could not find a simple way to do it. |
Could you, please, add this issue in your to-do list, maybe, you'll find a solution over time. |
The workaround I described above works too: just add any video format to yt-dlp's download options, for example Any format [1440p]. |
Any format [1440p] doesn't work too.
|
That's a shame, it worked with https://vk.com/video-24440848_456240588 |
What one wants is consistency:) |
I am getting extremely slow downloads from VK, so testing a problem with many videos is not always possible :) |
In v2.4.255 I added a new setting in the 'Tidy files' window (Operations > Tidy up files) to convert It's not the automatic conversion that you wanted, but it's still better than renaming all the files yourself. |
Thank you :) |
Hi.
Windows 10 (21H1, 19043.1415)
Tartube v2.4.165
While downloading VK video playlist Tartube can't determine the extensions of videos replacing with "unknown_video" ext.
E.g. https://vk.com/video/playlist/-24440848_54694294
Screenshot
The text was updated successfully, but these errors were encountered: