Peertube allows video thumbails with filesize less than 4MB, how can I increase this value? Since thumbail will be compresed anyway this won’t affect something else?
Why do you need it to allow larger file size for thumbnails?
Images with 3840x2160 (4K) can easily fit into 4 MB with little to no perceivable quality loss.
I understand that since thumbnails are also used as video previews on embedded video players, but it doesn’t need to be 4K. JPEG and PNG have their strengths and weaknesses. If you are choosing the correct format, even for 4K thumbnails, 4 MB provides enough storage.
That being said, 4K screen adoption if nowhere near enough to justify making thumbnails at that resolution. Even 2 MB file size limit would be enough for 1080p thumbnails.
I always upload 4K videos and make snapshot (screenshot) in VLC. It’s always larger then 4 MB. It forces me to open some additional software in order to compress it before Peertube can accept it.
This additional step is unneccessary, because Peertube will compress it again according to it’s settings. Since I upload many videos every day - it’s annoying.
I just want to feed Peertube with 4K screenshot. It will compress and downscale it anyway.
VLC might be taking snapshots in PNG format by default. It is good for taking lossless snapshots, but result is usually unnecessarily large if the image resembling a photo (with many colours and gradient). JPG is better suited for photos since it is lossy and gets rid of details which aren’t distinguishable to human eye.
VLC should allow changing snapshot settings so that it outputs JPG every time. Check video settings in VLC.
In case you did not notice, you can choose a thumbnail directly from the video in the Peertube interface:
I’m aware of this feature, sometimes it doesn’t work, so I have to reload page and catch right moment again. I didn’t created github issue yet, because when it happens, there are no clear error in browser console or in network queries tab.