Page 1 of 1

v1.17.2 -- Converting mkv to mp4 with ffmpeg generates a bad mp4 file

Posted: Fri Feb 03, 2023 2:12 am
by tyndale
Hi, I can generate an mkv with the mac version of MakeMKV beta. The problem is when I try to convert it to mp4 and the generated mp4 can't be opened.

both

ffmpeg -i B1_t00.mkv -codec copy out.mp4

and

ffmpeg -i B1_t00.mkv -c:v copy -c:a aac -b:a 128k out.mp4

don't generate a usable mp4.

Any ideas?

Re: v1.17.2 -- Converting mkv to mp4 with ffmpeg generates a bad mp4 file

Posted: Sat Feb 04, 2023 3:19 am
by dcoke22
Are you sure whatever video and audio codecs are present in your source .mkv file are supported by the .mp4 container AND supported by your player software?

MP4 file format @ Wikipedia

Change video file container to mp4 @ Stack Overflow