Log in

View Full Version : mkvmerge: MPG -> MKV causing error


KeyMs92
11th October 2011, 11:17
Hi,

I wanted to convert some dvds to mkv files, so they could be played easily in XBMC. I use DVD Decryper to extract the episodes from the disk, leaving me with vob/mpg files and than use mkvmerge to change the container to mkv. This is required because mpg doesn't support build-in chapters.

I'm basically experiencing two problems: First off, when I play the mpg files the aspect ratio is wrong (2.35:1 instead of 16:9). It seems to me this is because the aspect ratio is stored in the ifo file and thus gone when you play the video without it. I should also mention that VLC does display the correct ratio, WMP and mpc-hc don't. The second problem is that mkvmerge gives an error after the mpg -> mkv conversion: "Found one or more B frames without second reference in the first GOP. You may want to fix the MPEG2 video stream or use smart reencode before attempting to multiplex it."

The only good thread I've been able to find about the two subjects is this one: http://forum.doom9.org/archive/index.php/t-156920.html

The bottom line here seems to be that problem 1 can be best solved by removing the Sequence Display Extension and problem 2 can be ignored. Would you agree with this? Removing the SDE seems to solve the problem but the error of course still remains.

mpg file (video stream) after extraction with DVD Decrypter:
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=13
Duration : 23mn 48s
Bit rate mode : Variable
Bit rate : 13.1 Mbps
Maximum bit rate : 8 500 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 2.35:1
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.265
Stream size : 2.18 GiB (96%)

Chetwood
12th October 2011, 05:46
The problem here seems to be that you go about it the wrong way. Why on earth would you go from VOB to MPG? Also DVDD can't handle many new DVDs due to new copy protections. The fastest way to do this is to simply use MakeMKV.

setarip_old
12th October 2011, 05:56
Hi!

+1

KeyMs92
12th October 2011, 14:32
Wow, yeah that's a bit easier :P
It practically outputs the files I want to have (except that I might OCR the subtitles).

Thanks!