[MEncoder-users] Video for YouTube, getting extremely low quality movies

tripp eliared at yahoo.com
Mon Jan 28 13:09:51 CET 2008



Apple7777 <applepro7777 at gmail.com> wrote: tripp  yahoo.com> writes:


>> anyway,
>> ignoring grey frames,
>> this works just fine:
> 

>I wonder, how can I cut first 15-20 frames from the second video? I >guess it
>would fix grey frames problem.

you could use ffmpeg which doesn't output grey frames with the clip.
you wouldn't have autoscaling then though, or filtering.
plus the assesing another framerate conversion.

i don't know imovie. 
try outputting to a different intermediate target,
or address "first frame is not a keyframe",
cut on keyframes.

>> mencoder -af resample=22050:0:0 -vf
>> framestep=2,scale=320:-3,expand=320:240 -sws 9 -of lavf -ovc lavc 
>> -lavcopts
>>vcodec=flv:vbitrate=298:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3:
vpass=1:vratetol=800
>> -ofps 15 -oac mp3lame -lameopts abr:br=48:mode=0 -of lavf -lavfopts
>> format=flv 27temp.m4v -o 2oo.flv
>> mencoder -af resample=22050:0:0 -vf
>>  framestep=2,scale=320:-3,expand=320:240 -sws 9 -of lavf -ovc lavc 
>>  -lavcopts
>vcodec=flv:vbitrate=298:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3:
vpass=2:vratetol=800
>> -ofps 15 -oac mp3lame -lameopts abr:br=48:mode=0 -of lavf -lavfopts
>>  format=flv 27temp.m4v -o 2oo.flv

>Thanks. The video at 21-23 seconds looks much much better now, but 
>all other part of the video looks
>more jerky than without framestep=2, but with -ofps15000/1001 (or -ofps 15).

>Is there any way to get smoothy video (like without using framestep=2) >and fix
>the problem at 21-23 seconds?

you have unrealistic expectations.
look into motion compensated framerate conversions, if you must,
like using mvflowfps() of mvtools in avisynth.

the source is plenty jerky,
my encode is fine.
don't change framerate if it displeases you.

>By the way, can it be interlace problem (I'm talking about 21-23 seconds
>problem)? How can I check is my video interlaced or not (already deinterlaced)?

it's not

>PS: I wonder what does vratetol=800 do? Does it help to get smooth video?

no,
keeping size in check.


gl 
tripp


       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.


More information about the MEncoder-users mailing list