Log in

View Full Version : Converting DVD to H.264 - Newbie screwing up greatly


Link Baby
30th January 2009, 11:02
I am new to the process of converting a DVD into an H.264 MKV file, and while I've tried to do everything right, I'm obviously doing something wrong, because I'm ending up with an MKV file that has the following problems:


1. MediaInfo is showing that it has a Width of 94 pixels, and a Height of 4294966916 pixels.

2. The video is completely screwed up - Depending on the decoder I'm using, it's either completely blocky, with the colors psychedelic, or it's completely black.

3. Skipping around causes MPCHC to take a long time "Buffering". This never happens on other H.264 files.



So, here are the basics of what I'm working with:


-------------------------------------------------
Software:


AviSynth 2.5.8
DGMPGDec 1.5.3
MeGUI 0.3.1.1006
MKVToolNix 2.4.1
TIVTC 1.0.5
x264 - Build 1095

-----------------------------
Tutorial I'm following:


http://mewiki.project357.com/wiki/MeGUI/Basic_DVD_Ripping_Guide/Setup

-----------------------------
Encoder settings (via MeGUI):


Lossless

program --qp 0 --partitions p8x8,b8x8,i4x4 --threads auto --thread-input --aud --progress --no-psnr --no-ssim --output "output" "input"

-----------------------------
MediaInfo 0.7.7.3 Results:


General
Complete name : C:\Temp\VTS_01_1.mkv
Format : Matroska
File size : 13.5 GiB
Duration : 1h 36mn
Overal bit rate : 20.1 Mbps
Writing application : x264
Writing library : Haali Matroska Writer b0

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : 244@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : frame0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 36mn
Bit rate : 19.3 Mbps
Width : 94 pixels
Height : 4294966916 pixels
Display aspect ratio : 1.500
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Writing library : x264 core 66 r1092 60f4cd8
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy_rd=0.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=cqp / qp=0

-------------------------------------------------


Can someone point out where I went wrong?

nurbs
30th January 2009, 11:08
Don't know what's wrong, but if you want lossless just mux the DVD to a mkv container with MakeMKV or something like that. If you encode it lossless with x264 or another codec it will only end up way bigger than your source file.

Dark Shikari
30th January 2009, 11:15
Old decoders don't support x264's lossless mode. New versions of ffdshow can be downloaded from XvidVideo (http://www.xvidvideo.ru/).

But, per the above, you shouldn't be re-encoding a lossy source to lossless H.264. It's a waste of space.

Pulstar
30th January 2009, 19:02
I use DVDFab5 to export to decypted VOBs and then encode them to H.264 using AVIDemux.. I haven't tried encoding an entire movie yet but I suspect it'll work if I can append the first VOB. YADIF for deinterlacing non-progressive MPEG2 video is awesome despite its CPU hit. Unless someone knows of a better solution to get rid of the pesky interlacing?

JohannesL
1st February 2009, 19:27
Are you on Vista? qp=0 always produces a ****** video on my Vista computer.

ajp_anton
1st February 2009, 19:35
Are you on Vista? qp=0 always produces a ****** video on my Vista computer.*Sigh*... when will people learn... Soon this will have been explained in every thread on this site.

Esurnir
1st February 2009, 19:45
Are you on Vista? qp=0 always produces a ******* video on my Vista computer.

See dark shikari answer above.:rolleyes:

Guest
2nd February 2009, 05:11
@JohannesL

Please read and follow our forum rules. We don't permit profanity.

Link Baby
11th February 2009, 14:33
Thank you, Nurbs and Dark Shikari. I didn't realize that I had a better option to make a lossless MKV file, and that older decoders didn't recognize lossless h.264.

I used mkvmerge, and they turned out perfectly.


Out of curiosity, what's a good tool (that's still being developed) for reading the PTS of a VOB? (Not DVD Decrypter, since it won't work on already ripped discs unless you make an ISO and mount it)

survivant001
13th February 2009, 19:17
that's exactly what I want to do this weekend with my kids dvd. There is a tool to convert all the eps in one step ? The tools that I saw only detect the main movie (the biggest vob). I would like to select to eps to click convert to mkv (and mux back to m2ts for bluray).

any suggestion is really appreciated.

Link Baby
14th February 2009, 00:32
that's exactly what I want to do this weekend with my kids dvd. There is a tool to convert all the eps in one step ? The tools that I saw only detect the main movie (the biggest vob). I would like to select to eps to click convert to mkv (and mux back to m2ts for bluray).

any suggestion is really appreciated.




Well, if you use DVD Decrypter in PGC mode, and have it configured to output a single VOB file, you can select whichever one you want (even though it automatically selects the biggest one).

However, I would also like to know if there's a good way to get them all at once (combining the VOB's for each PGC, but not merging multiple PGCs).

Guest
14th February 2009, 01:08
edit note: I disagree with that aspect of Rule 12. You cannot just undo moderator edits without getting a rule 16 strike. If you have a problem, you send a PM to the moderator.

Link Baby
14th February 2009, 09:51
You cannot just undo moderator edits without getting a rule 16 strike. If you have a problem, you send a PM to the moderator.




My apologies. I didn't see it as a significant problem, and I thought posting an explanation was sufficient to address it.