[FFmpeg-user] convert mkv to mp4

KoSza koszanova at gmail.com
Thu Jan 30 13:46:22 EET 2025


Hello,

I haven't got an advice for a while so I try to ask for some help again.

I have to convert from mkv to mp4 files. With Windows converter I can outut
the files in a right format (what I need) but on my Linux I can't.

This is what I have in the mkv:

VIDEO
CODEC.......: x265 3.5+1-f0c1022b6
BiTRATE.....: ~19.4 Mbps
FRAME.RATE..: 23.976
RESOLUTiON..: 3840x1920
PARAMETERS..: Main 10/Main/L5.1/DV+HDR Profile 8.6/
BT.2020/PQ/BT.2020nc/BT.2020

AUDIO
LANGUAGE....: Hungarian │ English
CODEC.......: E-AC3     │ E-AC3 Atmos
CHANNELS....: 5.1       │ 5.1
BiTRATE.....: 640 kbps  │ 640 kbps
SAMPLE RATE.: 48.0 kHz  │ 48.0 kHz

What I need:

MP4 with same video conten, all audio tracks inside, all subs inside.

But I was not able to make a playable mp4 file with ffmpeg.

Could you tell me the secret?

Thank you,
Kosza





KoSza <koszanova at gmail.com> ezt írta (időpont: 2025. jan. 10., P, 11:13):

> Hi,
>
> I would like to convert mkv to mp4, because my LG does play only mp4 in
> DolbyVision.
> I would like to keep all subtitles, all audio tracks, I just ony want to
> change container, and don't want to modify anything.
>
> I have ffmpeg on my Synology DS423+, if I use the following command
>
> ffmpeg -i movie.mkv -codec copy movie.mp4
>
> The file is done, but TV does not play it.
>
> If I try
> ffmpeg -i movie.mkv -map 0 -c copy movie.mp4
> I got an error.
>
> If I use my XMedia Recode software, it works well, but I have to use my
> computer. I don't want to do that always.
>
> What is the right process to changing only the container and keep
> everything unchanged?
>
> Thank you
>
>
>


More information about the ffmpeg-user mailing list