bktr and Interlacing
Jacob Meuser
jakemsr at jakemsr.com
Sun Apr 10 16:10:01 PDT 2005
On Sun, Apr 10, 2005 at 02:04:20PM -0700, Jacob Meuser wrote:
> yes, you can get only only odd or only even fields, but I don't know
> if this is supported from within mplayer.
>
> you have to specify the right flags for the METEOSETGEO ioctl:
>
> geomet.oformat = METEOR_GEO_YUV_422 | METEOR_GEO_ODD_ONLY;
>
> BTW, if you want a simpler way to view video from bktr, you could
> try something I wrote -> http://www.jakemsr.com/bsdav/bktrplay.c.
> there's a manpage too -> http://www.jakemsr.com/bsdav/bktrplay.1.
after looking at bktr_core.c again, I realized it would be easy
to make bktrplay use only even or odd fields. patch below.
IMHO the output looks better for high motion with this ;)
I'll make only even/odd fields only a command line option
(and make the initial display size with this the same as without).
--
<jakemsr at jakemsr.com>
Index: bktrplay.c
===================================================================
RCS file: /home/cvs/jakemsr/bsdav/bktrplay.c,v
retrieving revision 1.4
diff -u -r1.4 bktrplay.c
--- bktrplay.c 10 Apr 2005 07:19:19 -0000 1.4
+++ bktrplay.c 10 Apr 2005 23:02:11 -0000
@@ -389,7 +389,7 @@
}
geomet.columns = caparea.x_size;
- geomet.rows = caparea.y_size;
+ geomet.rows = caparea.y_size / 2;
bdt->bktr_width = geomet.columns;
bdt->bktr_height = geomet.rows;
@@ -398,7 +398,7 @@
geomet.frames = 1;
/* bogus, will be changed */
- geomet.oformat = 0;
+ geomet.oformat = METEOR_GEO_ODD_ONLY;
if (ioctl(bdt->bktr_fd, METEORSETGEO, &geomet) < 0) {
perror("METEORSETGEO");
More information about the freebsd-multimedia
mailing list