NickvisionApps / Parabolic

Download web video and audio
https://flathub.org/apps/details/org.nickvision.tubeconverter
MIT License
757 stars 41 forks source link

[Feature request] Add option to write video thumbnails #713

Open LionelVallet opened 7 months ago

LionelVallet commented 7 months ago

It would be nice if, under the option to download subtitles, there was an option to download video thumbnails using yt-dlp parameter --write-thumbnail.

The best would be to have an image format option using--convert-thumbnail 'jpg' from yt-dlp.

nlogozzo commented 7 months ago

Do you have Embed Metadata turned on in Preferences (GNOME) / Settings (WinUI)?

Having this feature on should download thumbnails for videos if available.

NOTE: not all video file types support thumbnails. Only MP4 not WEBM.

LionelVallet commented 7 months ago

Embed Metadata is turned on and I have no metadata file nor folder next to the video. I'm using the Flatpak version. I tried with YouTube and Arte.tv

With yt-dlp, video thumbnails don't depend on the type of video file. They are not generated by ffmpeg; they are the thumbnails that the creator has uploaded to the video platform.

nlogozzo commented 7 months ago

I have no metadata file nor folder next to the video

There will be no extra metadata file or folder next to the video. The metadata is embeded...hence it is written to the actual video file itself.

With yt-dlp, video thumbnails don't depend on the type of video file. They are not generated by ffmpeg; 

Correct that they are not generated by ffmpeg but because again the metadata is embeded into the file, only certain formats accept embedding a thumbnail .

--

Are you opening the file in some sort of tagging software to confirm that nothing is being embedded in the file?

Could you provide me with a link of the video you are trying to download and the log for the download if you confirm nothing is being embedded.

LionelVallet commented 7 months ago

There is indeed a thumbnail in the file's metadata, but I don't see the point because no program uses it, not even the file explorer's thumbnailer.

The yt-dlp option offers to have an image file next to the video file. So NAS and multimedia server applications can integrate these images into their media collection interfaces, rather than generating their own.

I suggest adding this option to the Parabolic UI as it is present in other yt-dlp UIs (eg. youtube-dl-wpf).