PDA

View Full Version : MeGUI + x264 Incredible slow!


castellanos
22nd June 2007, 11:44
Hi there!
I didn't want to bother video experts with a "may be" stupid question, so I'm posting here.
I just want to convert to mp4 (2 pass - MeGUI + x264) a 21min. home made video. The source is mpeg2 PAL 720x576 16/9 Interlaced and here is the script:

DGDecode_mpeg2source("E:\DVD 1\Film 1.d2v")
edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,full=false,edeint=edeintted)
BilinearResize(640,352)

All programs involved are last versions!
The thing is: I get 1,5FPS and over 5 hours encoding!
Specs: Pentium 4 2,66 Ghz; 1GB RAM.
Is that normal?
Greetings! :)

Carpo
22nd June 2007, 13:09
yes thats about right, it may be slow but the quality is spot on :) i have 2 pcs one a p4 3.4 and the other is a amd 64 x2 4200 and i roughly get the same between the 2 pcs, interlaced is always slower as it has to have a bit of work done to it porgressive on the other hand doesnt take long at all :)

check
22nd June 2007, 13:10
and what x264 profile did you use? If you didn't use a canned profile, please post the commandline from the log (it's archived in the megui folder).

foxyshadis
22nd June 2007, 14:14
In the script creator, change "TDeint+EDI" to "TDeint", if you're absolutely sure you have video-only material, or if you used analyze. Otherwise, choose Film or Partially Film as source type, and TIVTC. Very few films need to be deinterlaced. This is probably where the vast majority of your speed is going, unless you picked a really slow x264 profile; never let it use EDI if you care about speed.

castellanos
22nd June 2007, 23:16
Thanks for the help guys!
Actually I tried the same script with VirtualDubMod and DivX and I got more or less the same speed (2 or 3 FPS). So, it is normal somehow.
Greetings! :)

foxyshadis
23rd June 2007, 02:49
That's because it's the script that's the problem, not the x264 configuration. Mainly these lines:

edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,full=false,edeint=edeintted)

which would get an enormous boost by changing it to:

TDeint(order=1,full=false)

But again repeating my caveats about knowing your source before deinterlacing willy-nilly.

castellanos
24th June 2007, 18:06
Thanks foxyshadis!
Actually I did not investigate any further into the script, I just did the analysis with MeGUI and the result was that script. I didn't apply Force Film with DGIndex either...
The final Backup was good, it took more than I thought.
It's done anyway.
I will keep the information for the next time.
I thank you all! :)