apt install ffmpeg libx264-163 libx265-199 ffmpeg -version
mpeg -i input.mov -vcodec copy -acodec copy output.mp4
and to rotate it to 90 degress you actually need to say rotate=0
,
ffmpeg -i IMG_0864.MOV -c copy -metadata:s:v:0 rotate=0 IMG_0864.mp4
this produces a file that is as big as the original one (far too large) hence,
ffmpeg -i input.mov -acodec libvorbis -aq 6 -vcodec libx264 output.mkv
with rotation,
ffmpeg -i input.mov -acodec libvorbis -aq 6 -vcodec libx264 -metadata:s:v:0 rotate=0 output.mkv
Cannot find codec for audio format 0x56444152.
==> open with VLC or re-encode with ffmpeg as shown above
How to convert an mp4 to mp4 using FFmpeg? https://superuser.com/questions/895335/how-to-convert-an-mp4-to-mp4-using-ffmpeg
How to Convert AVI to MP4 using FFmpeg? Lossy and Lossless Conversion https://ottverse.com/ffmpeg-convert-avi-to-mp4-lossless/
How to Use FFmpeg to Convert Video to MP4 https://www.aimersoft.com/convert-mp4/ffmpeg-convert-to-mp4.html
https://stackoverflow.com/questions/12026381/ffmpeg-converting-mov-files-to-mp4
https://stackoverflow.com/questions/25031557/rotate-mp4-videos-without-re-encoding