Write a simple python script using these 2 commands for a video file

video file script

Write a simple python script using these 2 commands for a video file

$ ffmpeg -i video.mp4 video.avi

$ ffmpeg -i input.mp4 -filter:v scale=1280:720 -c:a copy output.mp4