Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread
Old 11th December 2015, 03:35   #3861  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 469
Would it be possible to get a Split By Chapter option that only output the selected chapter(s)? When I split by chapter it's almost always because I want only certain chapters, not the entire video.
"Split selected chapters," would be nice.
kuchikirukia is offline  
Old 19th December 2015, 19:00   #3862  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by kuchikirukia View Post
Would it be possible to get a Split By Chapter option that only output the selected chapter(s)? When I split by chapter it's almost always because I want only certain chapters, not the entire video.
"Split selected chapters," would be nice.
It's unlikely that I'll implement such an option. Sorry. I'd welcome patches that add such an option, though, I just don't want to spend time on it myself.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 19th December 2015, 19:18   #3863  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Quote:
Originally Posted by Boulder View Post
I reproduced the error, here's the job queue file: https://drive.google.com/file/d/0Bze...ew?usp=sharing
Thanks for the file. Are you sure this is the right file? Its content shows that the job hasn't been run yet – the end date isn't set and the job output is empty.

Just in case I've tried to reproduce it by creating a similar setup (same file types, same file names, same numbers and types of tracks) here – still no dice.

In the queue file I can see that you're muxing two files appending the second one to the first one. How big are those two files (in bytes)? Are you using the 32bit or the 64bit variant of MKVToolNix? Which MKVToolNix version? And are you 100% sure you've sent me the correct job queue file?
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 19th December 2015, 20:33   #3864  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,844
Quote:
Originally Posted by Mosu View Post
Thanks for the file. Are you sure this is the right file? Its content shows that the job hasn't been run yet – the end date isn't set and the job output is empty.

Just in case I've tried to reproduce it by creating a similar setup (same file types, same file names, same numbers and types of tracks) here – still no dice.

In the queue file I can see that you're muxing two files appending the second one to the first one. How big are those two files (in bytes)? Are you using the 32bit or the 64bit variant of MKVToolNix? Which MKVToolNix version? And are you 100% sure you've sent me the correct job queue file?
It's a correct file, I just reproduced the issue with a different movie and it also contains "null" for dateFinished and dateStarted.

I'm using the 64-bit version of mkvmerge v8.6.1. I can reproduce the issue with many but not with all files. It also occurs via the command line so it's not a GUI problem.

In this latter case, the first file is 4564850985 bytes and the next file is 1528773206 bytes. They were created using the link files option.

https://drive.google.com/file/d/0Bze...ew?usp=sharing
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 19th December 2015, 21:00   #3865  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Yeah I can reproduce the issue now. It's only triggered with files that were split using linking. Thanks for the input. I'll fix it.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 19th December 2015, 21:01   #3866  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Oh, and the reason the job file was still showing "dateFinished" set to null is that the job queue is only saved when you exit the program.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 19th December 2015, 21:26   #3867  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Fixed in pre-builds 1049 & 1050.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 26th December 2015, 10:03   #3868  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
Did you know AnyDVDs CloneBD has been muxing TrueHD into Matroska files with the embedded AC-3 core intact.

Is this a problem? Is this moving in a direction you're willing to support?
ndjamena is offline  
Old 26th December 2015, 10:06   #3869  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Nothing's changed for me. I still consider embedded AC3 in TrueHD in Matroska to be non-compliant. I'm sure players will play it just because they also have to support TrueHD+AC3 in M2TS etc. But mkvmerge never will.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 26th December 2015, 10:33   #3870  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
OK then. They've also added a duration tag without the security tags, there's some crap in the tags that are just targets with no values and they seem to be marking every track as default (or at least NOT marking any as NOT being default).

I'm just testing it out and am commenting on what I've found. Really, if I were to decide to use the program all I'd want from MKVMerge at the moment is the ability to strip the AC-3 core during remux, but if you don't want to touch it I understand perfectly.

It has potential but it has a long way to go before it can be considered a viable replacement for MakeMKV.
ndjamena is offline  
Old 26th December 2015, 10:38   #3871  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
I'm… actually not certain how mkvmerge treats TrueHD+AC3 when reading it from a Matroska file as I don't think that I've ever had a sample file to work with. It's possible that the AC3 core is simply dropped. I don't think that the AC3 core would be presented as an extra track as mkvmerge does with e.g. M2TS as that requires extra work from me for each demuxer, and as I have no sample file I don't think I implemented such support in the past.

I would be willing to work on improving this so mkvmerge treats the embedded AC3 core like a separate track just like in M2TS. My earlier "mkvmerge doesn't support" was only meant to say that mkvmerge won't create such files itself.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 26th December 2015, 10:46   #3872  |  Link
Selur
.
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,991
would be interested in such a sample too
__________________
Hybrid here in the forum, homepage, its own forum
Selur is offline  
Old 26th December 2015, 11:46   #3873  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
I extracted the track with MKVExtract, then remuxed the elementary stream using MKVMerge and wound up with a fully functional AC-3 track, so its definitely there.

MPC-HC doesn't like the file at all. It seems to think it's 20 hours long and there's definitely something wrong with the audio. I think it might be trying to play two tracks at once, but one of the tracks seems to be from a different part of the movie.

Remuxing with MKVMerge didn't fix any of that, the AC-3 core was still present, I could still extract the TrueHD and remux the AC-3 from the elementary stream, and the movie was still 20 hours long. Remuxing without the TrueHD/AC-3 track restored the file to its proper duration.

I could probably split off a few seconds of the file for you to play with if you like. Remuxing doesn't seem to affect anything.
ndjamena is offline  
Old 26th December 2015, 12:23   #3874  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,930
Quote:
Originally Posted by ndjamena View Post
MPC-HC doesn't like the file at all. It seems to think it's 20 hours long and there's definitely something wrong with the audio. I think it might be trying to play two tracks at once, but one of the tracks seems to be from a different part of the movie.
Thats why its considered non-compliant. There is no clean way to split the tracks without careful bitstream parsing. In m2ts, there is metadata that identifies the embedded ac3 core, so you can read that and split it cleanly without any knowledge of the stream layout itself. Without such metadata, splitting the TrueHD from the AC3 core is serious effort. In fact, I would consider a m2ts demuxer "broken" if it doesn't split the TrueHD and AC3 into distinct tracks (or at least drops one of them), since they *are* just that.

So, just don't create those tracks, ever, and software that does is plain broken.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 26th December 2015, 12:49   #3875  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
You make it sound like I was happy to find out what it had done.

I was actually hoping it would help me split certain play alls into individual episodes but it's not very good at that either.

Still, the thing is still in early development and it's more likely to get such a feature implemented properly before MakeMKV, especially since it should be doing it already, it's just a pain in the arse to use. If this is how it's going to treat TrueHD then anyone who uses it has to work with that.

My concern isn't inflicting absolute support for embedded AC-3 cores in TrueHD on the Matroska world, it's getting rid of that damn core from the stream without having to demux it from the file. I've been told MKVMerge should be able to read from any matroska file, whether it complies absolutely with the specs or not, it just won't make one that doesn't. I don't know how far that stretches in reality but this situation would seem to be a likely candidate.

Last edited by ndjamena; 26th December 2015 at 12:57.
ndjamena is offline  
Old 26th December 2015, 13:45   #3876  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
AC-3 has frames with a duration of 32ms or 31.25fps.

According to MediaInfo TrueHD has a frame rate of 1200fps or a duration of 0.833..ms.

According to MKVInfo each frame is the file is 32 ms long, but 32 doesn't divide cleanly by 0.833..

The frames have a variable size so I'm assuming they can't be all AC-3, which means a variable number of TrueHD frames must be packaged with each AC-3 frame in the file.

So since MKVMerge can identify it and remux it perfectly after MKVExtract has extracted it, I'm assuming it must be nothing but an elementary stream cut at the start of each AC-3 frame, with each section placed in a single Matroska frame.

If that makes sense.
ndjamena is offline  
Old 27th December 2015, 21:48   #3877  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,421
Quote:
Originally Posted by ndjamena View Post
Did you know AnyDVDs CloneBD has been muxing TrueHD into Matroska files with the embedded AC-3 core intact.
Out of interest, have you tried directly muxing these .mkv files into the .m2ts container using TSmuxerGUI?... Does it accept or reject them?

Quote:
Originally Posted by Mosu View Post
I would be willing to work on improving this so mkvmerge treats the embedded AC3 core like a separate track just like in M2TS. My earlier "mkvmerge doesn't support" was only meant to say that mkvmerge won't create such files itself.
If you are able to do this I will arrange to have some samples sent to OppoDigital and Panasonic
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 27th December 2015 at 21:56.
SeeMoreDigital is offline  
Old 28th December 2015, 02:01   #3878  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
TSMuxer still rejects it.

Interestingly enough after converting the file to be spec compliant using MKVMerge the original rip is still 4 mb small than the new one. Simply remuxing the original file without correcting it results in a file that's almost 80 mb smaller than the spec complaint version.

Considering the AC3 core is over 5gb and (unless you're stuck with badly outdated audio equipment) is completely redundant, just removing the thing would still be preferable though.

They "solved" the "problem" of the TrueHDs AC-3 core, and they "solved the problem" of TrueHDs miniscule frame size. I seem to recall both issues have come up recently...
ndjamena is offline  
Old 28th December 2015, 10:18   #3879  |  Link
Mosu
MKVToolNix author
 
Mosu's Avatar
 
Join Date: Sep 2002
Location: Braunschweig, Germany
Posts: 4,352
Can you please upload a sample file created by AnyDVD to my FTP server? It doesn't have to be the full file; just stop uploading after 100 MB or so. Assuming the track headers are located at the front this should still be readable. Thanks.
__________________
Latest MKVToolNix is v101.0

If I ever ask you to upload something, please use my file server.
Mosu is offline  
Old 28th December 2015, 11:15   #3880  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
I uploaded a little over 200mb of Age of Extinction.

It may be a moot point for me at least. I just discovered AnyDVD don't accept MasterCard, and my trial expires soon.

But other people may find anything you can do with it useful though.
ndjamena is offline  
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.