Open haoduck opened 2 years ago
I'm looking for answer too
You can do like this : ( ffmpeg .output(ffmpeg.input(video), ffmpeg.input(picture), output, **{'c': 'copy', 'c:v:1': 'png', 'disposition:v:1': 'attached_pic'}) .run(overwrite_output=True) )
ffmpeg -i input.mp4 -i input.jpg -map 0 -map 1 -c copy -c:v:1 png -disposition:v:1 attached_pic output.mp4
Brothers, how can I convert this code to ffmpeg-python