Résolution d'un bug dans le conversion Matroska vers MPEG-4
This commit is contained in:
parent
d82cb8a0b3
commit
ddbf16504a
@ -273,8 +273,8 @@ def create_mkv(filename):
|
||||
|
||||
|
||||
def mkv_to_mp4(filename):
|
||||
options = "-c:a copy -c:v copy -c:s copy -movflags faststart"
|
||||
command = f"ffmpeg -loglevel error -i {filename}_FINAL.mkv {options} -y NEW_{filename}.mp4"
|
||||
options = "-map 0 -c:a copy -c:v copy -c:s copy -movflags faststart"
|
||||
command = f"ffmpeg -loglevel error -i {filename}_FINAL.mkv {options} -y NEW_{filename[:-4]}.mp4"
|
||||
result = subprocess.getoutput(command)
|
||||
if result != "":
|
||||
logging.error(result)
|
||||
|
Loading…
Reference in New Issue
Block a user