Use newer method to add thumb
This commit is contained in:
parent
4a9c93f12b
commit
6ec35a7705
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue