Log in

View Full Version : PAL dvd -> x264, wrong colorspace and cant ConvertToYV12()


Hvidgaard
18th April 2006, 21:12
Hi

I have ripped a pal dvd with PgcDemux and made the following avisynth-script to use with MyGUI:

LoadPlugin("c:\dvd\MPEGDecoder.dll")
mpegsource("C:\dvd\VideoFile.m2v")

But when I try to encode in MeGUI to x264 I get the following error:

Your AviSynth clip is is the wrong colorspace, I420.
The colorspace should by YV12. Do you want me to add ConvertToYV12() to the end of your script?

followed by (if I press "Yes"):

Your AviSynth clip has the following problem:
AviSynth clip is in I420 not in YV12, even though ConvertToYV12() has been appended.
Continue anyway?

I have checked the avisynth script without ConvertToYV12() and VDubmod reports YV12. Should I just ignore this error or am I missing something? Why is MeGUI reporting i420 colorspace when it is actualy YV12?

Hvidgaard
18th April 2006, 21:15
hmm... This might belong in the MeGUI forum? In that case, just move it :)

DarkZell666
18th April 2006, 21:24
Try adding SwapUV() somewhere :D

Seriously, except from having borked colors I don't see where the problem lies ... try adding Trim(100), ignoring the warning and see if x264 does the encode properly :)

MeGUI could be just as wrong as vdub, just have a try ;)

Hvidgaard
18th April 2006, 21:29
SwapUV() really mess up the colors, so guess MeGUI just doesn't get it right, it also encodes just fine, so guess its.... just fine :D
thanks for helping.

Blue_MiSfit
20th April 2006, 01:53
just out of curiousity, why are you ripping and demuxing in this rather non-standard way.

DgIndex is a very mature and commonly used tool that could easily correct this issue for you. (I think)

Hvidgaard
20th April 2006, 09:54
@Blue_MiSfit

Noone really told me what to do, so had to find out my self ;) I started out with using dvddecrypter to demux and then moved to PGCDemux, and now I have tried DgIndex and so far it is great :) But I miss DVDd's OGG chapter files, would be great if DgIndex did that too :) and the thing that I like the most about PGCDemux is that you can choose a PGC to demux, with DgIndex you have to extract the right PGC as a vob with DVDd and demux it (as far as I have noticed, I might have missed something)