[MPlayer-users] Re: anime encoding (VHS tape)

Kichigai Mentat kichigai at comcast.net
Mon Jan 31 06:33:46 CET 2005


On Jan 30, 2005, at 16.31, Gábor Farkas wrote:

> Alain Barthélemy wrote:
>> Le dimanche 30 janvier 2005, 00:58:28 ou environ phil.oleynik  
>> <Phil.Oleynik at mail.ioffe.ru> a écrit:
>>> Alain Barthélemy wrote:
>>>
>>> 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.
> imho he means this:
>
> tell us WHAT are you transforming into WHAT.
>
> a vhs tape into a dvd?
>
> vhs to avi? (to be burnt to a cd/dvd?)
>
> vhs to some streaming stuff?
>
> because as he wrote, some versions of the transformed video can hang  
> the dvd player and so..so he wanted to know what is your source and  
> target format/media/goal...
>
> gabor
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>

It would seem his goal is to go to AVI, since the destination format is  
MPEG-4.

Now, about worrying about telecined anime: he's going from a VCR to a  
TV Capture Card to an AVI file is my guess, so it would be a normal  
interlaced stream, I highly doubt telecine is going to come into play  
here. Deinterlacing it shouldn't do any damage.

He's my recomendation for a command line:

mencoder (TV options here, I assume you know what to do) -o (File Name  
Here).avi -ovc lavc -oac mp3lame -lameopts br=128:abr -lavcopts  
vbitrate=800:vcodec=mpeg4:vhq:v4mv -vf lavcdeint

You may need to specify your resolution somewhere in there, and feel  
free to tinker with the audio settings. I've used those settings for  
going from my TV capture card to AVI files, as well as even going from  
DVD to AVI files (Yes, animé sources included). I've found that  
mencoder normally handles the telecine issues itself, and gives me a  
nice progressive scanned AVI files suitable for playback on most any  
MPEG-4 compatable player.



More information about the MPlayer-users mailing list