nilaoda / DoViMuxer

Tool to make Dolby Vison mp4.
MIT License
92 stars 8 forks source link

Feature request : Remux mkv to mp4 even for non-Dolby Vision video. #1

Closed bluewidy closed 1 year ago

bluewidy commented 1 year ago

I am a user who wants to convert dolby atmos mkv to mp4. I know I can convert mkv to mp4 very easily via ffmpeg. However, it has a flaw: it does not present the complexity index of eac3-joc. However, this tool is representing it correctly.

nilaoda commented 1 year ago

The v1.0.0 version already supports non-Dolby Vision video import. (video track MUST be HEVC).

bluewidy commented 1 year ago

Thank you for the information. That's sad. Because mine is H264.

sw5163 commented 1 year ago

Thank you for the information. That's sad. Because mine is H264.

Try something like mp4box -add sdr.h264 -add atmos.eac3 -new test.mp4 latest mp4box supports eac3 atmos.

bluewidy commented 1 year ago

Hey, I succeeded in remuxing mkv to mp4 in Latest nightly Build!

It works!

Can you possibly replace mp4box.exe with Latest nightly Build?

Latest nightly Build

Because mp4box.exe provided by DoviMuxer does not support mkv to mp4 remux.

DoViMuxer's mp4box
sw5163 commented 1 year ago

You can just use ffmpeg to extract video and audio in the first place ffmpeg -i video.mkv -map 0:0 -c copy sdr.h264 -map 0:1 -c copy atmos.eac3 And then mux with mp4box mp4box -add sdr.h264 -add atmos.eac3 -new test.mp4 It ensures you Apple compatible Atmos playback regarding the Complexity ID problem.

What you are trying to achieve here is not the main purpose of this tool, I believe. Use the combination of ffmpeg and mp4box instead.

Oh and regarding the Complexity ID, if you want to properly restore it from a ‘not present’ file, make sure you are using newer mp4box https://github.com/gpac/gpac/issues/2217#issuecomment-1238559672

bluewidy commented 1 year ago

No need to go through the process of extracting video and audio. Because this one sentence sets the complexity index correctly.

mp4box -add target.mkv -new output.mp4

So I don't need ffmpeg.

sw5163 commented 1 year ago

No need to go through the process of extracting video and audio. Because this one sentence sets the complexity index correctly.

mp4box -add target.mkv -new output.mp4

So I don't need ffmpeg.

Interesting, maybe they update the workflow since last time i check. Will look into that, thanks.