[MEncoder-users] I want to reset a fps using mencoder from a TV V4L2 source.

Rich Felker dalias at aerifal.cx
Sat Aug 20 18:00:58 CEST 2005


On Sat, Aug 20, 2005 at 08:17:18AM +0000, Waand wrote:
> Rich Felker napisa?(a):
> 
> >On Fri, Aug 19, 2005 at 04:56:05PM +0900, Chang Min Jeon wrote:
> > 
> >
> >>-ofps options can't reset fps from TV CARD.
> >>I want to set 10fps from TV CARD.
> >>But mencoder save tv.avi which has 30fps.
> >>   
> >>
> >
> >You cannot pick the fps to capture from the card, it's fixed. It's a
> >property of the broadcast standard which CANNOT BE CHANGED. And you're
> >still being completely stupid; -ofps will work just fine with tv
> >input.
> >
> > 
> >
> I think you are wrong...  there is an option for the -tv named *fps* - 
> it determines framerate for tv video capturing, so:
> 
> mencoder -tv 
> driver=v4l2:width=352:height=288:chanlist=us-bcast:channel=11:norm=ntsc:fps=10 tv:// -o tv.avi -ovc lavc -oac lavc -endpos 10
> 
> should works (and it works for me).

You can do this, but it's rather nonsensical. Also, video is going to
look very crappy if your target fps is not an integer fraction of the
original fps; however you don't seem to care since you're using such
crappy fps anyway. Also Your height is wrong. For NTSC there are only
two valid capture heights, 240 and 480. It sounds like you have
absolutely no clue about video and doing very stupid things. You
should really leave the fps alone and capture at XXXx240, and set the
proper lavc options so that quality comes out good.

Rich




More information about the MEncoder-users mailing list