[MPlayer-users] anime encoding (VHS tape)
phil.oleynik
Phil.Oleynik at mail.ioffe.ru
Sat Jan 29 22:58:28 CET 2005
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
More information about the MPlayer-users
mailing list