[MPlayer-users] anime encoding (VHS tape)

Alain Barthélemy cassandre at bartydeux.be
Sun Jan 30 22:50:36 CET 2005


Le dimanche 30 janvier 2005, 00:58:28 ou environ phil.oleynik <Phil.Oleynik at mail.ioffe.ru> a écrit:
> Alain Barthélemy wrote:
> 
> >Hi,
> >
> >I have a anime recorded a long time ago from TV on a VHS tape. It is bad
> >quality and have problem to have a smooth sequence of images after
> >encoding with mencoder.
> >
> >Question is: can anyone tell me of a Web site where I can find good
> >advices to encode anime with mencoder (mpeg4). Man page of MPlayer is
> >really not enough.
> >
> >My first trial was ... -ovc lavc -lavcopts
> >vcodec=mpeg4,vbitrate=2400,mbd=1,dia=3,predia=3,trell,cbp ...
> >-vf,...pp=lb,... tv://
> >
> >Thanks,
> >
> > 
> >
> Hello!
> 
> First of all, I should recommend to filter somehow VHS rip. Since its anime,
> "hqdn3d" filter will make a lot of needed job. It will turn noise off, 
> saving details.
> 
> Next, use xvid with "cartoon" switch. If raw material is not awfully 
> bad, you may try to use
> bitrate 1200-1500 for 640*480. Practically you will need not more than 
> 1000.
> Even if you would rip a DVD it is good decision in 
> slow-motion/panoramic/zoom-unzoom
> scenes rich anime. I have seen, that VHS can produce miracles if extra 
> high-grade film
> were used while recording. Good 640*480 e.g. .
> 
> I would recommend this:
> 
> 1st pass:
> -ovc xvid -xvidencopts  
> pass=1:bitrate=1000:me_quality=6:max_key_interval=500:keyframe_boost=50:kfthreshold=20:kfreduction=50:packed:max_bframes=0:bf_threshold=0:noclosed_gop:qpel:gmc:cartoon:chroma_opt:hq_ac:vhq=4:psnr 
> "./v.avi" -o "/dev/null" -vf 
> pp=hb/vb/hb:c/vb:c/dr,hqdn3d=4:3:10,unsharp=l7x7:0.5
> 
> 2nd pass:
> -ovc xvid -xvidencopts  
> pass=2:bitrate=1000:me_quality=6:max_key_interval=500:keyframe_boost=50:kfthreshold=20:kfreduction=50:packed:max_bframes=0:bf_threshold=0:noclosed_gop:qpel:gmc:cartoon:chroma_opt:hq_ac:vhq=4:psnr 
> "./v.avi" -o "./result.avi" -vf 
> pp=hb/vb/hb:c/vb:c/dr,hqdn3d=4:3:10,unsharp=l7x7:0.5
> 
> If your target is DVD-player, these lines will produce a stream that 
> possibly hangs it.
> IT IS NOT SUITABLE FOR DVD-PLAYER!
> If you need more help, mention your goal more clear.
> 
> Phil

My goal was clear. Well I supposed so.

I repeat:

Question is: can anyone tell me of a Web site where I can find good
advices to encode anime with mencoder (mpeg4). Man page of MPlayer is
really not enough.

I am not a great specialist of encoding although I can understand. Thus
before asking stupid questions I wanted to read some written tutorial or
equivalent if you know of any. Right now I am not too unhappy with
encoding movies from DVD or from a TV signal (with lavcopts). Encoding
anime is for my son. I had some good luck with "Princess Mononoke" (I
love!) but with VHS records of "Saint Seiya" series I have less luck
(some images are staying too long thus a bad sequencing if I explain it
well).

If such tutorials (specific for anime) does not exist, please excuse my
stupid question and don't read the above.

And I don't have xvid installed.

@+ 

-- 
Alain Barthélemy
cassandre at bartydeux.be
http://www.bartydeux.be
Linux User #315631




More information about the MPlayer-users mailing list