Problem - tsMuxer Created Structures

Everything related to MakeMKV
SamuriHL
Posts: 2285
Joined: Mon Jun 14, 2010 5:32 pm

Re: Problem - tsMuxer Created Structures

Post by SamuriHL »

Yea, I'm doing another one as we speak. :D I can do Avatar either later tonight or tomorrow. That's a big freaking movie. Figures you guys pick all the big ones to test with. :D I'll see what I can do for you though. But I've done all the ones I had problems with using the 1 second cut trick. No issues at all. In fact, screwing around with Percy Jackson earlier I did it on that, too, just to make sure it worked. Not an issue. Note that I'm only doing this with DTS-HD MA tracks. TrueHD is another problem altogether once it's in an MKV container (as you're FULLY aware of). Once it's in an MKV container kiss compatibility with tsMuxer goodbye as it strips the ac3 core (let's not start that discussion here) and tsMuxer won't recognize it. So, just DTS-HD MA with all 3 video codecs. Not an issue at all.
liquidskin76
Posts: 47
Joined: Sun Jun 20, 2010 11:15 pm

Re: Problem - tsMuxer Created Structures

Post by liquidskin76 »

Thanks mate, let me know how Avatar goes.
SamuriHL
Posts: 2285
Joined: Mon Jun 14, 2010 5:32 pm

Re: Problem - tsMuxer Created Structures

Post by SamuriHL »

It's tsMuxing now with the 1 second fix. I have to run out for a bit so I'll run MakeMKV on it when I get back. I'm tsMuxing it off the disc with AnyDVD running in the background. I'm quite sure it'll work. I've yet to have one that didn't.
SamuriHL
Posts: 2285
Joined: Mon Jun 14, 2010 5:32 pm

Re: Problem - tsMuxer Created Structures

Post by SamuriHL »

Avatar fails immediately.

Code: Select all

Opening files on harddrive at E:/VideoTemp/
AACS directory not present, assuming unencrypted disc
File 00000.mpls was added as title #0
Operation sucessfully completed
Saving 1 titles into directory C:/Users/Samuri/Videos/Movies
Failed to save title 0 to file C:/Users/Samuri/Videos/Movies/title00.mkv
0 titles saved, 1 failed
This happens regardless of whether I select DTS-HD MA or just the DTS core. And this is with the 1 second trick. Nasty. Have you tried with a MakeMKV rip (with AnyDVD completely disabled) to see if it makes any difference? I'd prefer not to re-rip it again if I don't have to.
setarip_old
Posts: 2136
Joined: Wed Dec 09, 2009 1:31 pm

Re: Problem - tsMuxer Created Structures

Post by setarip_old »

@SamuriHL

If memory serves me correctly (And at my age, that's a BIG "if"), "mike admin" said
At least three updates in BD+ loader code were targeting MakeMKV BD+ engine.
These three BD+ loader code updates were in addition to the 6 that affected all backup programs.

I'd speculate that AnyDVD doesn't address these, since they would not have had any negative impact on AnyDVD's ability to backup the discs - and may be the reason your AnyDVD rip failed with tsMuxeR...

SamuriHL
Posts: 2285
Joined: Mon Jun 14, 2010 5:32 pm

Re: Problem - tsMuxer Created Structures

Post by SamuriHL »

I sincerely doubt it but that's why I asked if Liquid tried a direct MakeMKV backup rip/tsMuxer/MakeMKV to MKV process. I'd prefer not to have to do it but if it's not been done already I'll definitely give it a try. I want to wait to see what Liquid has done first. Just trying to cover all bases. :)
mike admin
Posts: 4067
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Problem - tsMuxer Created Structures

Post by mike admin »

Thanks for doing this, guys. I see two bugs:
1) Missing AccesUnit NALs in H264 stream: result - failure at the very beginning only on mpeg-4 video. Cause yet unknown.
2) Mismatched number of packets in DTS/DTS-HD stream. MakeMKV tries to reconstruct last DTS-HD frame as core+extension, fails to get packet from extension stream and hangs. Affects titles with DTS-HD when HD audio is selected. Workaround is to remove few seconds from the title end.

(2) will be corrected in the next version.
SamuriHL
Posts: 2285
Joined: Mon Jun 14, 2010 5:32 pm

Re: Problem - tsMuxer Created Structures

Post by SamuriHL »

Sweet! Thanks, Mike!!
liquidskin76
Posts: 47
Joined: Sun Jun 20, 2010 11:15 pm

Re: Problem - tsMuxer Created Structures

Post by liquidskin76 »

Cheers Mike, it's great you guys have found the problems. HAve you guys any suspicions as to what is causing the missing AccesUnit NALs? Could it be AnyDVD or tsmuxer?

SamuriHL,

I backed up Avatar with AnyDVD. I'm away for a week on Holiday so can't test with another backup tool for a while. Can you test Avatar with MakeMKV backup if you a free moment? If it works with MakeMKV after it's been through tsmuxer then it must be something AnyDVD is doing to the AccesUnit NALs? If it still doesn't work, then it's gotta be tsmuxer?

Cheers
setarip_old
Posts: 2136
Joined: Wed Dec 09, 2009 1:31 pm

Re: Problem - tsMuxer Created Structures

Post by setarip_old »

@mike admin
1) Missing AccesUnit NALs in H264 stream: result - failure at the very beginning only on mpeg-4 video. Cause yet unknown.


I beg to differ. I believe this is exactly the same problem as seen with BluRay "packages"/.M2TS files with either VC-1 or MPEG-2 codecs - namely, mishandling of HD/Lossless audio.

I tested a small .M2TS file from the "Chloe" BluRay.

1) I loaded it into tsMuxer, which identified it as H.264 video and LPCM audio
2) Used tsMuxer to create a BluRay "package"
3) Loaded this "package" into MakeMKV - MakeMKV immediately failed

1A) Used tsMuxeR to demux video and audio streams
2A) Used eac3to to convert the audio to 640Kbps 5.1 .AC3
3A) Loaded H.264 videostream and .AC3 audiostream into tsMuxeR
4A) Used tsMuxer to create a BluRay "package"
5A) Loaded this "package" into MakeMKV - MakeMKV successfully processed this modified "package"


SamuriHL
Posts: 2285
Joined: Mon Jun 14, 2010 5:32 pm

Re: Problem - tsMuxer Created Structures

Post by SamuriHL »

And you're sure that video you tried has the issue that Mike is referring to? We know Avatar does. Do you have that to try with?
setarip_old
Posts: 2136
Joined: Wed Dec 09, 2009 1:31 pm

Re: Problem - tsMuxer Created Structures

Post by setarip_old »

@SamuriHL

My observation speaks for itself - just as you and "liquidskin76" made observations about other types of HD audio, as well as H.264 file problems noted by "liquidskin76"...
liquidskin76
Posts: 47
Joined: Sun Jun 20, 2010 11:15 pm

Re: Problem - tsMuxer Created Structures

Post by liquidskin76 »

mike admin wrote:Thanks for doing this, guys. I see two bugs:
1) Missing AccesUnit NALs in H264 stream: result - failure at the very beginning only on mpeg-4 video. Cause yet unknown.
2) Mismatched number of packets in DTS/DTS-HD stream. MakeMKV tries to reconstruct last DTS-HD frame as core+extension, fails to get packet from extension stream and hangs. Affects titles with DTS-HD when HD audio is selected. Workaround is to remove few seconds from the title end.

(2) will be corrected in the next version.
Hi Mike,

Have you guys had any luck with finding the cause/solution to problem 1 yet?

Many thanks
mike admin
Posts: 4067
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Problem - tsMuxer Created Structures

Post by mike admin »

liquidskin76 wrote:Have you guys had any luck with finding the cause/solution to problem 1 yet?
No. We can't reproduce the problem here, tsMuxer always puts correct headers.
liquidskin76
Posts: 47
Joined: Sun Jun 20, 2010 11:15 pm

Re: Problem - tsMuxer Created Structures

Post by liquidskin76 »

That's really strange. I've seen some that work fine (Casino Royale... H.264/TrueHD version), and some that fail (Avatar).

Have you tested Avatar. That one definately fails.
Last edited by liquidskin76 on Fri Aug 13, 2010 8:21 am, edited 1 time in total.
Post Reply