Hi,

On Wed, 21 Jun 2006 10:01:51 -0400 fire-eyes <[EMAIL PROTECTED]>
wrote:

> I opt to go for the supposedly higher quality x264, so I do two
> passes:
> 
> 1:
> 
> mencoder -v ../vob/title1.vob -alang en -vf 
> crop=720:352:0:62,scale=752:320 -ovc x264 -x264encopts 
> subq=4:bframes=4:b_pyramid:weight_b:pass=1:psnr:bitrate=4452:threads=2:turbo=1
> -oac copy -ofps 24000/1001 -vobsubout subtitles -vobsuboutindex 0
> -slang en -o pass1.avi

Hm, threading, eh? Ever tried disabling it?

> 2 (which whines about not finding the log file, so I have to rename 
> divx2pass.log.temp to divx2pass.log manually -- donchya love having
> to figure things out):

The question is rather why mencoder doesn't name it like this. The
mencoder man page clearly tells that it should. It supposedly wasn't
existing at that point, right?

> mencoder -v ../vob/title1.vob -alang en -vf 
> crop=720:352:0:62,spp,scale,hqdn3d=2:1:2 -ovc x264 -x264encopts 
> subq=5:4x4mv:8x8dct:frameref=3:me=2:bframes=4:b_pyramid:pass=2:psnr:bitrate=4450:threads=3
> -oac faac -faacopts object=0:tns:quality=100 -ofps 24000/1001 -o
> pass2.avi

Oh, 3 threads now. Again: Did you try using only one thread? Are all
those additional libraries you might have compiled into mplayer
thread-safe? BTW: Is there a reason why in pass one you're using a
cropped, scaled version of the movie and in pass two a _not_ scaled
version? This will probably result in different blocks and will
probably have (minor) bad influence on b/w calculation...

> However there is a problem with pass 2. I have tried this on two
> seperate systems, and the exact same thing happens:
> [...]
> Segmentation fault

Segfaults are not that uncommon if you have problems with interfering
threads. If you have a little time, you may also want to do an "emerge
-e mplayer" to sort out problems that are due to compiler change and
similar. BTW: Are you overriding the mplayer ebuild's own CFLAG
settings?

> Ah, so this is working _real_ well... Any ideas out there? Because I
> can't get past this point.

Well, hard to imagine what you've already tried, but try the things
mentioned above.


HTH,

-hwh

PS:
> (Insert my typical whine about video on linux being a pain here)
(Insert my typical whine about whining about video on linux here :-)
-- 
gentoo-user@gentoo.org mailing list

Reply via email to