import ffmpeg
(
ffmpeg
.input('/var/development/decode_webm/1.webm')
.output('/var/development/webm_upload/1.mp4')
.run()
)
import ffmpeg
(
ffmpeg
.input('/var/development/decode_webm/1.webm')
.output('/var/development/webm_upload/1.mp4', vcodec=copy, acodec=copy)
.run()
)
check_call(['ffmpeg', '-v', 'warning', '-y', '-f', 'concat', '-i', input_path, '-c', 'copy', '-c:v', 'h264', '-c:a', 'mp2', '-preset', 'ultrafast', output_path])