Use newer method to add thumb

This commit is contained in:
Antonio J. Delgado 2024-12-28 20:27:07 +02:00
parent 4a9c93f12b
commit 6ec35a7705

View file

@ -185,7 +185,8 @@ class GetPeertubeVideos:
'-map', '1',
'-map', '0',
'-c', 'copy',
'-disposition:0', 'attached_pic', f"{video_file}_with_thumb.{file_extension}"
'-c:v:1', 'png'
'-disposition:v:1', 'attached_pic', f"{video_file}_with_thumb.{file_extension}"
],
capture_output=True,
check=False