Page 1 of 1

MakeMKV 3:2 AR problem (still happening after 1.7.8)

Posted: Wed Jul 18, 2012 9:19 pm
by Sidrack
SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.0 Resolution: 720:480i Frame rate: 29.97
H.264 stream does not contain fps field. Muxing fps=29.97
Decoding AC3 stream (track 2): Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
B-pyramid level 2 detected. Shift DTS to 3 frames
Processed 5221 video frames
Demux complete.
Demuxing time: 5 sec
I noticed this problem with two different titles. Both Blu-rays, Mortal Kombat and now Outland (1981). The movie is converted fine, but the only other content, which happens to be a SD trailer, is not.

The content is converted with a wrong aspect ratio.

I used TSMuxer to select the correspondent .m2ts file from the BD folder, and demux it. Then I used MKVToolnix to join the H264 / AC3 streams. Everything worked, for both.

To make things easier for you I am going to upload the MKV file with the wrong and correct AR.

Please wait for my response.

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Wed Jul 18, 2012 9:25 pm
by Sidrack
Here it is:

Click here to download

The above is a link to the original m2ts file from the BD folder.

Click here to download

The above is a link to both the MKV file converted with wrong AR (MakeMKV) and the correct one with help from TSMuxer + MKVToolnix.

Like I said, the same issue happened with Mortal Kombat, The Movie. Is there something I should know about a few specific contents or is this a new bug I discovered?

MediaInfo:

Wrong AR:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Bit rate mode : Variable
Bit rate : 4 829 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 3:2
Original display aspect ratio : 16:9
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Language : English
Default : No
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2mn 54s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.99 MiB (4%)
Title : 2/0
Language : English
Default : Yes
Forced : No
Correct AR:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2mn 54s
Bit rate mode : Variable
Bit rate : 4 828 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate : 59.940 fps
Original frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Bits/(Pixel*Frame) : 0.233
Stream size : 100 MiB (94%)
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2mn 54s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.99 MiB (4%)
Language : English
Default : Yes
Forced : No

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Wed Jul 18, 2012 11:25 pm
by BlackDragon24
I've seen this problem before, but only on DVD's. I'm sure Mike will take a look when he strolls by. It might be am improperly mastered disc, and it might be a bug.

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Thu Jul 19, 2012 3:04 am
by Sidrack
The same thing happened again with another title: Hard to Kill (1990), a third Blu-ray.

And again, with a theatrical trailer (in SD).

MakeMKV seems to have a problem with this kind of content when it's the only featurette available in the disc, besides the movie itself.

It's only affecting them. I don't understand, this never happened before...

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Sat Jul 21, 2012 5:04 pm
by Sidrack
This bug also affected a 1 GB feature from a MK cartoon available in that Blu-ray disc. Again, the 3:2 display aspect ratio problem. I didn't noticed this before.

Another bug I saw with MakeMKV was when it tries to convert some subtitles from brazilian DVDs, and they became transparent (invisible for MPC-HC, almost transparent but visible if we use VLC PLayer). Using MPC-HC to playback, for example, Mortal Kombat (1995) brazilian DVD, you can see the movie subtiles are white and perfectly visible.

So it seems MakeMKV cannot read properly the subtitles in rare instances. And it's having problems to create MKVs with the correct AR with some extra material from Blu-rays.

Where is mike admin?

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Wed Jul 25, 2012 9:53 am
by mike admin
Sidrack wrote:This bug also affected a 1 GB feature from a MK cartoon available in that Blu-ray disc. Again, the 3:2 display aspect ratio problem. I didn't noticed this before.
I have to ask you to do an additioanl step - please make a testdump per instructions at http://www.makemkv.com/onlinehelp/testdump.html for the title that has an aspect ratio problem.
Sidrack wrote:Another bug I saw with MakeMKV was when it tries to convert some subtitles from brazilian DVDs, and they became transparent (invisible for MPC-HC, almost transparent but visible if we use VLC PLayer). Using MPC-HC to playback, for example, Mortal Kombat (1995) brazilian DVD, you can see the movie subtiles are white and perfectly visible.
This is not exactly a bug but rather missing functionality. The subtitles on DVDs use 4 colours and palette. One of the colours obviously must be transparent - technically it may be any colour in the palette, but most DVDs choose colour index 0. MakeMKV properly puts subtitles and palette in MKV file, but many-many software players either ignore the palette or assume that index0 is always transparent. I believe subripper always reorders colours so index0 is transparent (for compatibility), but MakeMKV just copies subtitle stream as is. The functionality to post-process subtitles is planned long ago, but now is obviously missing. So your MKV files are fine, but you have to wait for your favourite player or MakeMKV to be fixed.[/quote]

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Fri Aug 10, 2012 4:18 pm
by Sidrack
Sorry for the delay.

There you go, another extra feature, THE MAKING OF JAWS (2 hours length) with this problem, 3:2 Aspect Ratio, this time from JAWS (1975) in the american Blu-ray edition.

http://minus.com/mYpFiefQH/1f

Filename is JAWS_t02.tgz.

Warning: Before generating this file, I only selected such options:

Image

In this case I didn't wanted alternate subtitles.

P.S. This problem happened with all, I repeat, ALL EXTRA FEATURES IN SD from this disc.

More screens to help:

Image

Image

Image

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Fri Aug 17, 2012 12:55 pm
by mike admin
Incorrect 4:3 aspect ratio is fixed in 1.7.7 . Thank you for submitting the dump.

Re: MakeMKV is not converting properly to MKV some SD conten

Posted: Tue Aug 21, 2012 2:10 am
by Sidrack
Mike, the problem is still going on. I tested with two different Blu-rays, from Batman.

Here's a new dump:

http://mandandoprohd2.minus.com/mAyoZsFi0/

It's affecting all extra features. Again, the 3:2 Aspect Ratio. This one is from the theatrical trailer.

Note: The Blu-ray tested for this dump is Batman Returns (1992).

I also saw these messages while trying to open the Blu-ray, located in my external Hard Drive from Western Digital:

Image

This is a MyBoook Essential External Hard Drive.

Despite this message, and this one:

Image

I was able to save all extra features. However, I didn't tried with the movie. Instead, I used TSMuxer + MKVToolnix to do this task. And I will have to do this with the extra features if the bug is not fixed.

P.S. Specs from this theatrical trailer, taken from the m2ts file:
General
ID : 0 (0x0)
Complete name : R:\Blu-rays\Batman - O Retorno (1992)\Batman Returns (1992)\BDMV\STREAM\00090.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 144 MiB
Duration : 2mn 35s
Overall bit rate : 7 745 Kbps
Maximum Overall bit rate : 48.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : VC-1
Format profile : Advanced@L2
Codec ID : 234
Duration : 2mn 35s
Bit rate : 5 447 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.526
Stream size : 101 MiB (70%)

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #3
ID : 4354 (0x1102)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #4
ID : 4355 (0x1103)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #5
ID : 4356 (0x1104)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #6
ID : 4357 (0x1105)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #7
ID : 4358 (0x1106)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #8
ID : 4359 (0x1107)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #9
ID : 4360 (0x1108)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Audio #10
ID : 4361 (0x1109)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 2mn 35s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.57 MiB (2%)

Text #1
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #2
ID : 4609 (0x1201)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #3
ID : 4610 (0x1202)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #4
ID : 4611 (0x1203)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #5
ID : 4612 (0x1204)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #6
ID : 4613 (0x1205)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #7
ID : 4614 (0x1206)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #8
ID : 4615 (0x1207)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #9
ID : 4616 (0x1208)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #10
ID : 4617 (0x1209)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #11
ID : 4618 (0x120A)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #12
ID : 4619 (0x120B)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 2mn 17s
Delay relative to video : 8s 642ms

Text #13
ID : 4620 (0x120C)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #14
ID : 4621 (0x120D)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #15
ID : 4622 (0x120E)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #16
ID : 4623 (0x120F)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #17
ID : 4624 (0x1210)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #18
ID : 4625 (0x1211)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #19
ID : 4626 (0x1212)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #20
ID : 4627 (0x1213)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #21
ID : 4628 (0x1214)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms

Text #22
ID : 4629 (0x1215)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 2mn 17s
Delay relative to video : 8s 642ms

Text #23
ID : 4630 (0x1216)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 1s 1ms
Please note this is a 16:9 SD video.

You need to instruct MakeMKV to never create a Matroska file with this setting:

Display aspect ratio : 3:2

When the Matroska file is created this way, MediaInfo reports:

Display aspect ratio : 3:2
Original display aspect ratio : 16:9

However, it should only report this:

Display aspect ratio : 16:9

Re: MakeMKV 3:2 AR problem (still happening after 1.7.8)

Posted: Fri Oct 26, 2012 5:23 pm
by Sidrack
Another Blu-ray with the same 3:2 AR problem... and this time, with no AnyDVD warning, it was read by MakeMKV just fine, and converted to Matroska.

JFK (1991) Blu-ray...

Affected (for example) a 2 minute theatrical trailer (from where I created the dump), and all other extra features. They are all with a 3:2 AR.

I created a new dump here, you can download from the Filefactory page:
www.filefactory.com/file/10jir17b32gb/n/title08.tgz

Note: this was tested in the last version, 1.7.8.

The BD review from this title can be found here:
http://www.blu-ray.com/movies/JFK-Blu-ray/1077/#Review

I wonder if mike or anyone else can really fix or look into this?

m2ts:
Image

Matroska:
Image

P.S. In this case (and only in this case) I wasn't able to bypass this issue by using TSMuxer + MKVToolnix, either. Maybe MKVToolnix (or TSMuxer) were not able to convert properly like MakeMKV. But so far they were able to, so this is a surprise.

More about this here:
http://forum.doom9.org/showthread.php?t=155732&page=87
http://forum.doom9.org/showthread.php?t=155732&page=88

Re: MakeMKV 3:2 AR problem (still happening after 1.7.8)

Posted: Sat Oct 27, 2012 7:12 am
by mike admin
Please re-post the link for the dump as it got corrupted. The problem is clear - MakeMKV had two bugs. Bug (1) was that sometimes AR was incorrectly extracted for H.264 video. That was fixed. The second bug is that MakeMKV still sometimes fails to extract AR from VC-1 video. Both of your recent examples show VC-1 video. All that is needed to fix a second bug is a test dump and a little bit of time, so please fix the link for the test dump or just send the link to support@makemkv.com .

And to clarify - your video stream is correct, the only problem is that MakeMKV sets incorrect AR in MKV header, the actual video data is preserved as is. You should be able to set the correct AR with MKV header editor. Once the bug is fixed, you'll be able to remux the file with MakeMKV and get a proper MKV file.

Re: MakeMKV 3:2 AR problem (still happening after 1.7.8)

Posted: Sat Oct 27, 2012 11:08 am
by Sidrack
mike admin wrote:Please re-post the link for the dump as it got corrupted.
Sorry Mike, it's fixed now, please check the previous post. :)

(In case the link is corrupted again, here's a shorter one redirecting to the same):
http://migre.me/bmT0b