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

MKV playback, recompression, remuxing, codec packs, players, howtos, etc.
Post Reply
tyndale
Posts: 1
Joined: Fri Feb 03, 2023 1:56 am

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

Post 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?
dcoke22
Posts: 2560
Joined: Wed Jul 22, 2020 11:25 pm

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

Post 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
Post Reply