Answer the question
In order to leave comments, you need to log in
Error when using ffmpeg via subprocess in python?
Hello, in this code:
import os
import subprocess
file = "Имя файла"
os.chdir("Путь до файла")
subprocess.call("ffmpeg -loop 1 -i {}.jpg -i {}.mp3 -c:v libx264 -c:a aac -movflags +faststart -shortest {}.mp4".format(file), shell=True)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question