Date: Mon, 26 Apr 1999 02:52:34 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: multimedia@freebsd.org Subject: Re: brooktree driver problems?? Message-ID: <19990426025234.21776@hydrogen.nike.efn.org> In-Reply-To: <199904260921.CAA05739@rah.star-gate.com>; from Amancio Hasty on Mon, Apr 26, 1999 at 02:21:45AM -0700 References: <19990426020600.34104@hydrogen.nike.efn.org> <199904260921.CAA05739@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Amancio Hasty scribbled this message on Apr 26: > Whats your CPU & PCI chipset ?? sorry, I had my machine get frozen by a stupid typo so I had to reboot when I was writting a message with this info... CPU: AMD-K6tm w/ multimedia extensions (225.01-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x562 Stepping=2 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> chip0: <VIA 82C595 (Apollo VP2) system controller> rev 0x03 on pci0.0.0 chip1: <VIA 82C586 PCI-ISA bridge> rev 0x27 on pci0.7.0 bktr0: <BrookTree 848> rev 0x11 int a irq 11 on pci0.9.0 STB TV/PCI, Temic NTSC tuner, dbx stereo. sc0 not found at 0x60 (no video on this machine at all)... > Well, I get : > time ./videocapture > micro seconds 5114 > 0.000u 0.012s 0:06.12 0.1% 0+0k 0+0io 0pf+0w I got: frame 301 micro seconds 11377 12.38 real 0.00 user 0.02 sys which is actually better than before... that's ~24.39fps which is actually what I'm seeing usually with my program... > I added the following to program: [...] > You do have a sleep in your program?? > > Because the code segment which you mailed didn't > have it. actually, it does have a sleep(1)... I forgot to mail you that extra line.. it's right after the mmap line before that function returns... I've tried looking at the data I get and I usually get only half the display of actual data and some residue... which means it looks like I'm only getting one of the two fields... > " > sleep(1); /* Let the unit settled down -- very important > and this only needed when a video input or > video format is specified */ > " > > > Amancio Hasty scribbled this message on Apr 26: > > > See if this program works any better for you. > > > > well, I ran the program, and timed how long it took to run and it > > captured 302 frames in 16.37 real seconds (0.02 user, 0.01 sys), which > > means it only got ~18.33 fps which isn't even close... and just so you > > know, I based my code off your earlier version that wrote out jpeg files > > instead of nothing.. :) > > > > I converted your program to use continous mode, and I got even worse > > performance... took 20.22 real seconds which is ~14.94 fps or skipping > > every other frame... though I'm not seeing the signal storm I see with > > my own program... I'm going to double check that I have the bt848 init > > ioctls in the same order you do... > > > > I do plan on publicly releasing the code once I get it done, just > > needs to be cleaned up so you actually provide command line arguments > > to set the various options.. :) -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson 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?19990426025234.21776>