2pass x264 in cluster mode

Christiaan Putter <[email protected]> Fri, 24 Jul 2009 05:21:49 +0200
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
Hi guys,

I've been trying to get dvd::rip to work in cluster mode using 2 pass
h264.  I'm on suse 11.1 using the latest transcode (1.1) and dvd::rip.
 It just stops after the first pass with an error statement.  Also
causes progress to exceed 100% which was posted by someone else too.

Unfortunately the error messages aren't all that clear but from what I
can make out the problem lies with dvd::rip attaching -S and -W
options in cluster mode.  It seems there are some wrong assumptions
being made regarding the commands being passed to transcode.  Here's
the culprit I think:

transcode -H 10 -x vob,null -i
\/home\/cputter\/dvdrip\-data\/High_Society\/vob\/003\/ -w 921,50 -F
h264 -f 25.000 -B 36,26,8 -R 1 -y ffmpeg,null -o /dev/null
--progress_meter 2 --progress_rate 25 && cp x264_2pass.log divx4.log
-S 00 -W 00001,5,/home/cputter/dvdrip-data/High_Society/tmp/High_Society-003-nav.log
&& echo EXECFLOW_OK


Obviously dvd::rip isn't expecting "&& cp x264_2pass.log divx4.log" to
be there since it's trying to pass the -S and -W commands to transcode
and not to cp.  I'm not all too familiar with transcode and ripping
and what not but I'm guessing the transcode team recently added the cp
command to sort out the first pass logs from x264.

I've tried fixing that myself but can't seem to get it to work since I
don't know anything about perl  (prefer the elegance of python).  Can
someone with more experience please have a look.  The only place one
needs to change this is in Title.pm in the cluster source folder.

Also the latest source from CVS seems to have removed the 2 pass
option from ffmpeg's h264 encoding.  Why's that?

Hope everyone's having a nice day.

Regards,
cputter