[MEncoder-users] Pb in encoding in x264

Anthony Jacob anthonyjacob at wanadoo.fr
Wed Aug 17 01:18:32 CEST 2005


Guillaume POIRIER wrote:
> Hi,

Hi,

> I suggest you remove "-mc 0 -noskip -skiplimit 0" if your source is 
> PAL, and since you do not process sound. Those options are probably 
> useless for you, and may harm more than help you out.

In fact I've writen the commands in reading documentation :
- man mplayer
- documentation of MPlayer
- http://jo.irisson.free.fr/info_mencoder.html
- Code source of TuxRip
... and I've looked to know what is "-mc 0" (Yes, shame on me ;-)), man
page say :
-mc <seconds/frame>
  maximum A-V sync correction per frame (in seconds)
=> You have right, I don't need this !

>> ODML: vprp aspect is 16384:6655. Trem:   0min   0mb  A-V:0.000 
>> [0:0] ODML: vprp aspect is 16384:6655. Trem:   0min   0mb A-V:0.000
>>  [0:0] encodtroy.sh: line 4: 30642 Erreur de segmentation mencoder
>>  vob/TROY.vob -endpos 600 -mc 0 -nosound -noskip -skiplimit 0 -vf 
>> crop=720:416:0:80,scale=640:256,hqdn3d=2:1:2 -ovc x264 -x264encopts
>> 
>> 
>> 
>> subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b:bitrate=500:pass=2
>>  -o video/x264.avi
> 
> mencoder crashed (that should not happen of course). Check your RAM 
> to see if it's okay (with memtest86 or smth like that, check also if 
> your cpu is not overclocked. Make sure also that all the libs used by
> mencoder are compiled with the same version of GCC (typically, 
> libx264 compiled with gcc4 and mencoder with gcc3.4 will crash 
> randomly).

In fact I've ever successed to encode the DVD with Tuxrip but the
quality was very very bad in a 700M file. You would rip DVD like some
movies I could see recently in H264 or x264
But to have the support of x264 I had to use an unofficial ebuild which
patchs MPlayer, so I think that the matter can come from here. But I've
the same error with the command :
----------------------------------------------------------------------
  mencoder vob/TROY.vob -endpos 600 -nosound -vf
crop=720:416:0:80,scale=640:256,hqdn3d=2:1:2 -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:vme=5:naq:qns=2:vbitrate=500:vpass=1
-o /dev/null &&
mencoder vob/TROY.vob -endpos 600 -nosound -vf
crop=720:416:0:80,scale=640:256,hqdn3d=2:1:2 -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:vme=5:naq:qns=2:vbitrate=500:vpass=2
-o video/lavc.avi
----------------------------------------------------------------------

I don't think that comes from RAM because I could encode although Tuxrip 
two days ago.

> Otherwise, please post the exact message that got printed on screen 
> (here your encode seems to run with lots of the console informations
>  redirected to /dev/null).

I would do this but I don't see where messages are redirected to 
/dev/null. Should I add "| tee out.txt" at end of command ?

Thx to reply and nice work for your suggests about comparaison of 
quality between free codecs !

Anthony




More information about the MEncoder-users mailing list