hello, I’m trying to change a video aspect ratio to 4:3 using ubuntu terminal by putting this code:
mkvmerge ‘/content/drive/MyDrive/test/video.mkv’ --aspect-ratio 0:4/3 --output “/content/drive/MyDrive/test/final.mkv”
but it’s not working, can you guys tell what i’m doing wrong?
I believe this issue could be a bug
The aspect ratio is only stored in the track’s headers. It’s up to the player to honor it.
I found this other command that works for windows:
for %%a in (*.mkv) do “C:\Users\user\Downloads\mkvmerge.exe” --ui-language es --output ^“%%~na_new.mkv^” --language 0:und --aspect-ratio 0:4/3 ^“^(^” ^“%%~na.mkv^” ^“^)^”
i just put it on a .bat file, execute it and then the video plays at 4:3 perfectly, however my goal is to do this on ubuntu, i’m testing everything on the same video player btw
Ah. You’ve messed up the order of the options in your original command. See this part of the documentation for details.
Edit: you are right, this resolves the problem, thank you very much
You’re quite welcome.