tartube
tartube copied to clipboard
Thumbnails fail to embed on mkv files, but embed on mp4 files
Thanks for taking the time to submit a bug report! Please include the following information:
What operating system are you using?
Windows 10
What version of Tartube are you using?
2.4
the output log shows the webp thumbnail being converted and appended to the video file, but the video file doesnt show the thumbnail, however if i let it convert to mp4 instead, it does append it correctly
if i go into vlc player and check the metadata it shows the right thumbnail, but the file explorer does not, the video for some reason has to go through a lengthy conversion process to become an mp4, despite the fact that mp4 is part of the supported file types for the video and refuses to download the mp4 directly in the classic mode
Download one of the affected videos. Then show me the contents of the Output tab, especially including the yt-dlp at the top (in yellow).
Download one of the affected videos. Then show me the contents of the Output tab, especially including the yt-dlp at the top (in yellow).
I'm a bit confused here, the thumbnail visible in your File Explorer is the same one visible on YouTube's website. Which thumbnail were you expecting to see?
On my Linux box, I tested the same command using yt-dlp only (no Tartube), and I see the actual problem you describe:
I'm not sure why it doesn't work or how to fix it.
the video for some reason has to go through a lengthy conversion process to become an mp4, despite the fact that mp4 is part of the supported file types for the video
yt-dlp --newline -i --hls-prefer-native --cookies cookies.txt --write-thumbnail -f "bestvideo[height<=?1080]+bestaudio/best[height<=?1080]" --recode-video mkv --embed-thumbnail --verbose https://www.youtube.com/watch?v=DMqXaAWuzqM
Your yt-dlp command includes --recode-video
, so that's what happens. FFmpeg converts the .webm to .mp4 which will take several minutes. If you want to download the original .mp4 from YouTube, rather than converting it, then you have to actually specify that. For example, in the Classic Mode tab, make sure Download in this format is selected:
If you're using the Videos tab, then it's Edit > General download options > Formats, set up like this:
The thumbnail is incorrect in my file explorer, the webp file is the correct one, what's shown is the first frame of the video
And even when I have it set to download only and mp4, and have mp4 set as the preferred format, along with making sure 1080p mp4 is one of the available files for the source, it still downloads it as webm and then converts to mp4
And even when I have it set to download only and mp4, and have mp4 set as the preferred format, along with making sure 1080p mp4 is one of the available files for the source, it still downloads it as webm and then converts to mp4
Presumably because you have --recode-video
selected in your download options
Same problem here, VLC shows the thumbnail but the explorer not (Dolphin file explorer). I download the videos in VP9 .webm then reencode or remux them to mkv for thumbnail support. But the thumbnails in MKV doesn't show up, but they are in the video metadata.
Due to the problem described in #461, Tartube v2.4.165 no longer deletes .webp thumbnails after converting them to .jpg. This might be the cause of some of the problems described above.
Closed for inactivity.