Date: Sun, 6 Oct 2002 14:21:13 +0200 (MEST) From: Peter B <pb@ludd.luth.se> To: carl@stagecraft.cx (Carl Makin) Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: mplayer patch for brooktree realtime grabbing Message-ID: <200210061221.g96CLDk22983@brother.ludd.luth.se> In-Reply-To: <8E975C0A-D923-11D6-A5F6-0050E445BE6D@stagecraft.cx> from Carl Makin at "Oct 6, 2002 10:02:59 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Carl Makin wrote: >Hi Peter, > >On Wednesday, October 2, 2002, at 03:51 PM, Peter B wrote: > >> I posted earlier about using mencoder from the mplayer package with >> brooktree >> cards. It turned out to be hard to get it working. However I have now >> modified >> mplayer source to accomplish this. > >Thanks for the patch. I've applied it here and it also works. The one >problem I'm having is that it always encodes at 16 fps. Top is showing >60% to 80% CPU. I specify -ofps=25 which seems to make the output a cpu, mobo? >little smoother and mplayer then reports the avi as having 25 fps, but >it is obviously still encoding at 16 fps. Anyone know how to specify >framerate to the avcodec encoder? In libmpdemux/tvi_bsdbt848.c at line 624: priv->fps = 16; /* ! */ Change this value to alter fps. This should be done in another way, but hey it's still at hack status ;) I also discovered that using mplayer to view tv will result in rgb32 being converted into uyvy. So this format will be added later to minimize overhead. (it's avail in the unmodified driver) /Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210061221.g96CLDk22983>