diff --git a/vid_convert.py b/vid_convert.py index 1ea1156..0af7f07 100755 --- a/vid_convert.py +++ b/vid_convert.py @@ -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)