Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request:add mkvmerge #895

Closed
taozi1996 opened this issue Oct 24, 2021 · 9 comments
Closed

Feature request:add mkvmerge #895

taozi1996 opened this issue Oct 24, 2021 · 9 comments

Comments

@taozi1996
Copy link
Contributor

taozi1996 commented Oct 24, 2021

FFmpeg can't split some special format,but mkvmerge of mkvtoolnix can split them.
Can you add mkvmerge so that we may choose mkvmerge or ffmpeg to split,merge and mux?
https://mkvtoolnix.download/doc/mkvmerge.html

@mifi
Copy link
Owner

mifi commented Oct 24, 2021

what kind of format is this?

@taozi1996
Copy link
Contributor Author

what kind of format is this?

audio like dts,lpcm

@taozi1996
Copy link
Contributor Author

taozi1996 commented Oct 24, 2021

Sometimes ffmpeg cannot directly copy the stream and needs to set some parameters, but mkvmerge will automatically use some codecs, which is also lossless.For Blu-ray video, HD enthusiasts usually use mkvmerge or tsmuxer(https://github.com/justdan96/tsMuxer) to split and mux them.

@mifi
Copy link
Owner

mifi commented Oct 24, 2021

I just tested a DTS file from here https://thedigitaltheater.com/dts-trailers/ and it seems to work for me:

Screenshot 2021-10-24 at 20 45 55

If you can provide a file that does not cut properly in ffmpeg, then maybe I can look into it.

@taozi1996
Copy link
Contributor Author

I just tested a DTS file from here https://thedigitaltheater.com/dts-trailers/ and it seems to work for me:

Screenshot 2021-10-24 at 20 45 55

If you can provide a file that does not cut properly in ffmpeg, then maybe I can look into it.
test.zip

This is the audio that I use mkvmerge splited, and ffmpeg cannot split it.

@mifi
Copy link
Owner

mifi commented Oct 24, 2021

strange. for me with the latest losslesscut it works. I'm able to cut that file's audio

@taozi1996
Copy link
Contributor Author

taozi1996 commented Oct 24, 2021

The audio of m2ts video used losslesscut split will have noise

@taozi1996
Copy link
Contributor Author

strange. for me with the latest losslesscut it works. I'm able to cut that file's audio
You can try this file.It will have a noise of audio after splited by losslesscut.
https://github.com/taozi1996/test/blob/main/PRs.split.9.zip

@mifi
Copy link
Owner

mifi commented Oct 24, 2021

Thanks. The file you provided indeed fails, because of pcm_bluray. Same as this issue: #476 - there is also a workaround with converting to normal PCM first (lossless).
As for mkvmerge, it's not easy to integrate it into losslesscut. If it's only for pcm_bluray support, It's too much work. If it has other benefits then I can consider it in the future, but I believe ffmpeg supports way more formats/codecs than mkvmerge so until there is a really good reason, I don't think it will happen any time soon unfortunately.

@mifi mifi closed this as completed in dfb0a5c Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants