From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 12 16:53:17 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1524116A420 for ; Sun, 12 Jun 2005 16:53:17 +0000 (GMT) (envelope-from rodneyhopkins@onlineok.com) Received: from mail.onlineok.com (mail.onlineok.com [65.69.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C30E443F77 for ; Sun, 12 Jun 2005 16:46:21 +0000 (GMT) (envelope-from rodneyhopkins@onlineok.com) Received: from rage [70.243.178.250] by mail.onlineok.com (SMTPD32-7.15) id A97A2B6C0124; Sun, 12 Jun 2005 11:57:30 -0500 Message-ID: <000601c56f6e$2e8067e0$6ec7a8c0@rage> From: "Rodney Hopkins" To: Date: Sun, 12 Jun 2005 11:45:42 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RBL-Warning: SPAMHEADERS: This E-mail has headers consistent with spam [4000080e]. X-Declude-Sender: rodneyhopkins@onlineok.com [70.243.178.250] X-Spam-Tests-Failed: IPNOTINMX, NOLEGITCONTENT, SPAMHEADERS [1] X-Note: This E-mail was scanned by OnlineOK's JunkMail Filter for spam. Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: umass X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 16:53:17 -0000 Hey, I'm having the same problem. Did you ever find the fix? Rod From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 12 23:07:29 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3FAB16A41C; Sun, 12 Jun 2005 23:07:29 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from horse.iptelecom.net.ua (horse.iptelecom.net.ua [212.9.224.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9667343D1D; Sun, 12 Jun 2005 23:07:28 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from h104.240.159.dialup.iptcom.net ([213.159.240.104]:18933 "EHLO kushnir1.kiev.ua" ident: "SOCKFAULT1" whoson: "vkushnir") by horse.iptelecom.net.ua with ESMTP id S1219363AbVFLXH0 (ORCPT + 1 other); Mon, 13 Jun 2005 02:07:26 +0300 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [10.0.0.1]) by kushnir1.kiev.ua (8.13.4/8.13.3) with ESMTP id j5CN7LEw073536; Mon, 13 Jun 2005 02:07:21 +0300 (EEST) (envelope-from vkushnir@i.kiev.ua) Date: Mon, 13 Jun 2005 02:07:21 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: Mario Sergio Fujikawa Ferreira In-Reply-To: <200506122024.j5CKO1H6007305@repoman.freebsd.org> Message-ID: <20050613002400.G27979@kushnir1.kiev.ua> References: <200506122024.j5CKO1H6007305@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-35847107-1118617641=:27979" Cc: freebsd-multimedia@freebsd.org Subject: ffmpeg{-devel} + grab + amd64 - works fine X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 23:07:29 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-35847107-1118617641=:27979 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Hello, At present ffmpeg (and ffmpeg-devel) grab-wise are marked as i386-only. At least on my -CURRENT amd64 box ffmpeg-devel grabs fairly well with very minor changes to port (mostly adding amd64 to Makefile, plus __FreeBSD__ -> __FreeBSD_version in grab_bsdbktr.c, patch included). Plus a minor patch to check for lrintf(3) to quiet down gcc warnings. Regards (and thanks), Vladimir --0-35847107-1118617641=:27979 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-ffmpeg_devel Content-Transfer-Encoding: BASE64 Content-ID: <20050613020721.J27979@kushnir1.kiev.ua> Content-Description: Content-Disposition: attachment; filename=patch-ffmpeg_devel KioqIE1ha2VmaWxlLm9yaWcJU3VuIEp1biAxMiAxMTozNjowNCAyMDA1DQot LS0gTWFrZWZpbGUJTW9uIEp1biAxMyAwMToyODo0MCAyMDA1DQoqKioqKioq KioqKioqKioNCioqKiAyOCwzMyAqKioqDQotLS0gMjgsMzggLS0tLQ0KICAJ CS0tZW5hYmxlLXNoYXJlZCBcDQogIAkJLS1zb3VyY2UtcGF0aD0ke1dSS1NS Q30NCiAgDQorIC5pbmNsdWRlIDxic2QucG9ydC5wcmUubWs+DQorIA0KKyAu aWYgJHtBUkNIfSA9PSAiYW1kNjQiDQorIENGTEFHUys9CS1mcGljIC1mUElD IC1EUElDDQorIC5lbmRpZg0KICBGRk1QRUdfQ0ZMQUdTPQlcDQogIAkJLUkk e1dSS1NSQ30vbGliYXZjb2RlYyBcDQogIAkJLUkke1dSS1NSQ30vbGliYXZj b2RlYy9pMzg2IFwNCioqKioqKioqKioqKioqKg0KKioqIDc2LDgyICoqKioN CiAgIyBsaWJyYXJpZXMNCiAgTElCX0ZJTEVTPQlsaWJhdmNvZGVjL2xpYmF2 Y29kZWMuYSBsaWJhdmZvcm1hdC9saWJhdmZvcm1hdC5hDQogIA0KISAuaW5j bHVkZSA8YnNkLnBvcnQucHJlLm1rPg0KICANCiAgIyMNCiAg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gDQohICAg IyBkbG9wZW4vZGxmY24uaCBwcm9iaW5nDQo= --0-35847107-1118617641=:27979-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 13 12:52:14 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EBB316A41C for ; Mon, 13 Jun 2005 12:52:14 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from torrent.cc.mcgill.ca (torrent.CC.McGill.CA [132.206.27.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id D52A743D4C for ; Mon, 13 Jun 2005 12:52:13 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan5.CC.McGill.CA (mailscan5.CC.McGill.CA [132.216.77.252]) by torrent.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j5DCqB1M025994; Mon, 13 Jun 2005 08:52:12 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan5.CC.McGill.CA (8.12.11/8.12.11) with ESMTP id j5DCp6OP004260; Mon, 13 Jun 2005 08:51:06 -0400 Received: from localhost.localdomain (hyper.cnd.mcgill.ca [132.216.11.150]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j5DCpRQv030697; Mon, 13 Jun 2005 08:51:27 -0400 Received: from localhost.localdomain (hyper [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j5DCpQQ8032758; Mon, 13 Jun 2005 08:51:26 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j5DCpPK3032757; Mon, 13 Jun 2005 08:51:25 -0400 Date: Mon, 13 Jun 2005 08:51:25 -0400 From: Mathew Kanner To: Ariff Abdullah Message-ID: <20050613125125.GB2710@cnd.mcgill.ca> References: <20050612001221.6824b42b.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050612001221.6824b42b.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: New pcm feeder_rate implementation X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 12:52:14 -0000 On Jun 11, Ariff Abdullah wrote: > Alright folks, here is the new, or should I say *much* improved > feeder_rate implementation. This new implementation try to address > what the older one failed to do: *insane* / wide range rates support > so you can play your super-ridiculous 1024000Hz ultrasonic mosquito > repeller files *on the fly* without having to resample just to satisfy > 4000 - 48000hz limit. The code also much shorter / cleaner, still > preserving good old bits from Orion's implementation. The file is > designed to be a drop in replacement for RELENG_5 / HEAD and you can > get it at: > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > feeder_rate.c : mandatory > vchan.c : mandatory for those having fixed rate AC97 soundcard, > or simply want to liberate themselves from 44100 vchan > limit. > > Enjoy your ultra-insane sound, something like mplayer -af > resample=1024000:0:2 should do that. > > As usual, feedback / comments are welcomed. This is awesome. We were just discussing proposal on the developers list and I was hot for a mixer replacement. Anyway, I'm tied up for the next few days with work. I'll take a look and test over the week and we'll try to get this in on the weekend. I hope other people on the list will also test and respond with their results. --Mat From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 03:44:43 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C18716A41C for ; Tue, 14 Jun 2005 03:44:43 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3351943D48 for ; Tue, 14 Jun 2005 03:44:43 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from [192.168.0.3] (really [68.226.7.134]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050614034442.WMGR26223.lakermmtao02.cox.net@[192.168.0.3]> for ; Mon, 13 Jun 2005 23:44:42 -0400 Message-ID: <42AE52A6.3070608@cox.net> Date: Mon, 13 Jun 2005 23:44:38 -0400 From: David Wassman User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 03:44:43 -0000 Please help. I am having some difficulty in capturing video with this card. I have compiled a new kernel with the bktr driver. I have tried NuppelVideo: nuvrec -n -V /dev/bktr0 -A /dev/dsp0.0 test I get sound but just a blue screen. No video. I have also tried ffmpeg: ffmpeg -vd /dev/bktr0 -ad /dev/dsp0.0 test.mpg I get an unusable file. Is there a more appropriate program to capture video with this card (as it doesn't have a tuner) or is there a setting I have missed to setup? Here is my dmesg and kernel config. dmesg opyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE #0: Mon Jun 13 22:04:43 EDT 2005 root@venus.solar.net:/usr/src/sys/i386/compile/VIDKERN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x651 Stepping = 1 Features=0x183f9ff real memory = 268435456 (256 MB) avail memory = 257208320 (245 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x1020-0x103f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x1040-0x107f irq 10 at device 13.0 on pci0 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:10:4b:2e:de:ad pcm0: port 0x1400-0x14ff irq 11 at device 14.0 on pci0 sis0: port 0x1800-0x18ff mem 0xd0000000-0xd0000fff irq 5 at device 15.0 on pci0 sis0: Silicon Revision: DP83816A miibus1: on sis0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:09:5b:8e:09:e1 bktr0: mem 0xd0001000-0xd0001fff irq 9 at device 16.0 on pci0 bktr0: Intel Smart Video III/VideoLogic Captivator PCI, tuner. atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 plip0: on ppbus0 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A pmtimer0 on isa0 orm0: at iomem 0xe4000-0xeffff,0xe0000-0xe3fff,0xc0000-0xcafff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (irq) Timecounter "TSC" frequency 398270801 Hz quality 800 Timecounters tick every 10.000 msec ad0: 4892MB [10602/15/63] at ata0-master UDMA33 ad1: 19470MB [39560/16/63] at ata0-slave UDMA33 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a kernel config: machine i386 cpu I686_CPU ident VIDKERN # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 #options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device sis # Silicon Integrated Systems SiS 900/SiS 7016 device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device ums # Mouse #Video Capture Support device bktr device iicbus device iicbb device smbus options OVERRIDE_TUNER=0 options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC #Sound Conf device sound device snd_cmi From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 07:10:18 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6C9916A41C for ; Tue, 14 Jun 2005 07:10:18 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from linda-3.paradise.net.nz (bm-3a.paradise.net.nz [202.0.58.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A88C43D1F for ; Tue, 14 Jun 2005 07:10:18 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-3.paradise.net.nz (smtp-3a.paradise.net.nz [202.0.32.196]) by linda-3.paradise.net.nz (Paradise.net.nz) with ESMTP id <0II200G80BX5XM@linda-3.paradise.net.nz> for freebsd-multimedia@freebsd.org; Tue, 14 Jun 2005 19:10:17 +1200 (NZST) Received: from [192.168.1.11] (218-101-14-73.paradise.net.nz [218.101.14.73]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 5B902ADF84 for ; Tue, 14 Jun 2005 19:10:17 +1200 (NZST) Date: Tue, 14 Jun 2005 19:10:15 +1200 From: Mark Kirkwood To: freebsd-multimedia@freebsd.org Message-id: <42AE82D7.7080704@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050511) Subject: Sound Blaster Live! support in 5.4 - but not Creative SB0410? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 07:10:18 -0000 I have installed a Creative sound blaster live 5.1 (SB0410) sound card in my desktop machine - only to discover that it appears to be unrecognized (see below). This is supposed to be a sound blaster live! card - is there any way to get it to be recognized/work? I am happy to hack a few kernel files... :-) $ scanpci pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x1106 device 0x0691 VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x1106 device 0x8598 VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x1106 device 0x0596 VIA Technologies, Inc. VT82C596 ISA [Mobile South] pci bus 0x0000 cardnum 0x07 function 0x01: vendor 0x1106 device 0x0571 VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE pci bus 0x0000 cardnum 0x07 function 0x02: vendor 0x1106 device 0x3038 VIA Technologies, Inc. USB pci bus 0x0000 cardnum 0x07 function 0x03: vendor 0x1106 device 0x3050 VIA Technologies, Inc. VT82C596 Power Management pci bus 0x0000 cardnum 0x10 function 0x00: vendor 0x10ec device 0x8139 Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ pci bus 0x0000 cardnum 0x13 function 0x00: vendor 0x1102 device 0x0007 Creative Labs Device unknown <<<<<<<<<<<<<<<<<<<<<<<<<<<<* pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x4966 ATI Technologies Inc Radeon RV250 If [Radeon 9000] regards Mark P.s : send this to -hardware first, but suspect here is the best place. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 07:27:45 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0583316A41C for ; Tue, 14 Jun 2005 07:27:45 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id B155343D53 for ; Tue, 14 Jun 2005 07:27:44 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 46269 invoked by uid 16563); 14 Jun 2005 07:27:43 -0000 Received: from unknown (HELO df1) ([80.7.161.165]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 14 Jun 2005 07:27:43 -0000 Date: Tue, 14 Jun 2005 08:27:42 +0100 From: Steve O'Hara-Smith To: David Wassman Message-Id: <20050614082742.0f6fb810.steve@sohara.org> In-Reply-To: <42AE52A6.3070608@cox.net> References: <42AE52A6.3070608@cox.net> Organization: Steve O'Hara-Smith X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 07:27:45 -0000 On Mon, 13 Jun 2005 23:44:38 -0400 David Wassman wrote: > Please help. I am having some difficulty in capturing video with this > card. I notice that the card is reported as having no tuner - is this in fact the case and what are you using as a video source ? > I have compiled a new kernel with the bktr driver. I have tried > NuppelVideo: > > nuvrec -n -V /dev/bktr0 -A /dev/dsp0.0 test > > I get sound but just a blue screen. No video. Most brooktree based cards have several inputs (usually known as devices for no obvious reason) for example mine has TV, S-Video and RCA inputs. The blue screen is a classic symptom of having the wrong input selected. Both nupplevideo and ffmpeg have the same capture code and respond to the BKTR_DEV environment variable to select the input device (for me 1 selects TV, 2 S-Video and 3 RCA). Nuppelvideo and older (0.48 or earlier) versions of ffmpeg also respond to BKTR_FORMAT (pal, ntsc, secam and a few variants), recent versions of ffmpeg have the -tvstd parameter and set a default of ntsc which overrides the BKTR_FORMAT environment variable. Finally if you have a tuner setting BKTR_FREQ to a number in MHz can be used to tune it. > I have also tried ffmpeg: > > ffmpeg -vd /dev/bktr0 -ad /dev/dsp0.0 test.mpg > > I get an unusable file. Now for the ffmpeg warning - ffmpeg-049pre1 has dreadful A/V sync problems when capturing, ffmpeg-devel is much better but still slips. The golden version of ffmpeg for capture is 0.48 which won't slip sync no matter what you do (i've tried with a make buildworld running at the same time, it drops lots of frams and looks awful but the sync is good). If you like I can send you a port skeleton and distfile for ffmpeg-0.48. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 13:26:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8667416A41C for ; Tue, 14 Jun 2005 13:26:34 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from torrent.cc.mcgill.ca (torrent.cc.mcgill.ca [132.206.27.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD2D43D49 for ; Tue, 14 Jun 2005 13:26:34 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan5.CC.McGill.CA (mailscan5.CC.McGill.CA [132.216.77.252]) by torrent.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j5EDQSBt017255; Tue, 14 Jun 2005 09:26:33 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan5.CC.McGill.CA (8.12.11/8.12.11) with ESMTP id j5EDPYFK027746; Tue, 14 Jun 2005 09:25:34 -0400 Received: from localhost.localdomain (giant.cnd.mcgill.ca [132.216.11.153]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j5EDQAox010510; Tue, 14 Jun 2005 09:26:10 -0400 Received: from localhost.localdomain (giant [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j5EDQAU4010721; Tue, 14 Jun 2005 09:26:10 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j5EDQ9YI010720; Tue, 14 Jun 2005 09:26:09 -0400 Date: Tue, 14 Jun 2005 09:26:09 -0400 From: Mathew Kanner To: Mark Kirkwood Message-ID: <20050614132609.GD9461@cnd.mcgill.ca> References: <42AE82D7.7080704@paradise.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42AE82D7.7080704@paradise.net.nz> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound Blaster Live! support in 5.4 - but not Creative SB0410? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 13:26:34 -0000 On Jun 14, Mark Kirkwood wrote: > I have installed a Creative sound blaster live 5.1 (SB0410) sound card > in my desktop machine - only to discover that it appears to be > unrecognized (see below). > > This is supposed to be a sound blaster live! card - is there any way to > get it to be recognized/work? > > I am happy to hack a few kernel files... :-) Did you kldload snd_emu10k1? Also, would prefer the output of 'pciconf -lv' --Mat From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 13:39:00 2005 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E686716A41C; Tue, 14 Jun 2005 13:39:00 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3F2143D49; Tue, 14 Jun 2005 13:39:00 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (arved@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5EDd0tK041038; Tue, 14 Jun 2005 13:39:00 GMT (envelope-from arved@freefall.freebsd.org) Received: (from arved@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5EDd03h041034; Tue, 14 Jun 2005 13:39:00 GMT (envelope-from arved) Date: Tue, 14 Jun 2005 13:39:00 GMT From: Tilman Linneweh Message-Id: <200506141339.j5EDd03h041034@freefall.freebsd.org> To: arved@FreeBSD.org, sound@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/60599: [sound] [partial patch] No sound for ATI TV Wonder (stereo) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 13:39:01 -0000 Synopsis: [sound] [partial patch] No sound for ATI TV Wonder (stereo) Responsible-Changed-From-To: sound->freebsd-multimedia Responsible-Changed-By: arved Responsible-Changed-When: Tue Jun 14 13:37:36 GMT 2005 Responsible-Changed-Why: This is not really sound(4), but bktr(4) related. sound@ has already enough PRs, so over to more suitable-multimedia http://www.freebsd.org/cgi/query-pr.cgi?pr=60599 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 13:59:36 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05D1C16A41C for ; Tue, 14 Jun 2005 13:59:36 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao07.cox.net (lakermmtao07.cox.net [68.230.240.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E4B343D48 for ; Tue, 14 Jun 2005 13:59:35 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from smtp.east.cox.net ([172.18.52.53]) by lakermmtao07.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with SMTP id <20050614135934.GHXT28809.lakermmtao07.cox.net@smtp.east.cox.net>; Tue, 14 Jun 2005 09:59:34 -0400 X-Mailer: Openwave WebEngine, version 2.8.15 (webedge20-101-1103-20040528) From: To: Steve O'Hara-Smith , Date: Tue, 14 Jun 2005 9:59:34 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20050614135934.GHXT28809.lakermmtao07.cox.net@smtp.east.cox.net> Cc: Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 13:59:36 -0000 Steve, Thanks for the help. I haven't had too much experience with video capture and the handbook is a little thin on this. Steve O'Hara-Smith wrote: >On Mon, 13 Jun 2005 23:44:38 -0400 >David Wassman wrote: > >>Please help. I am having some difficulty in capturing video with this >>card. > > > I notice that the card is reported as having no tuner - is this >in fact the case and what are you using as a video source ? > I have the card hooked up to a VCR thru a composite cable. I didn't do the research when I bought the card on Ebay and was under the impression it came with a tuner until I received it. Is this going to be a problem (other than I have to set the VCR to anything I want to capture)? >>I have compiled a new kernel with the bktr driver. I have tried >>NuppelVideo: >> >>nuvrec -n -V /dev/bktr0 -A /dev/dsp0.0 test >> >>I get sound but just a blue screen. No video. > > > Most brooktree based cards have several inputs (usually known as >devices for no obvious reason) for example mine has TV, S-Video and RCA >inputs. The blue screen is a classic symptom of having the wrong input >selected. I thought so myself as it looks like a VCR blue screen when the wrong input is selected yet I cannot figure out how to change the input. > > Both nupplevideo and ffmpeg have the same capture code and respond >to the BKTR_DEV environment variable to select the input device (for me >1 selects TV, 2 S-Video and 3 RCA). Nuppelvideo and older (0.48 or earlier) >versions of ffmpeg also respond to BKTR_FORMAT (pal, ntsc, secam and a few >variants), recent versions of ffmpeg have the -tvstd parameter and set a >default of ntsc which overrides the BKTR_FORMAT environment variable. >Finally if you have a tuner setting BKTR_FREQ to a number in MHz can be used >to tune it. So it is an environment variable and not the two devices setup thru bktr (ie bktr and bktr0)? I will try this when I get home. I will let you know how it works out. Is this set in /etc/profile or is there another config I need to set this variable in to use it after system start up? > >>I have also tried ffmpeg: >> >>ffmpeg -vd /dev/bktr0 -ad /dev/dsp0.0 test.mpg >> >>I get an unusable file. > > > Now for the ffmpeg warning - ffmpeg-049pre1 has dreadful A/V sync >problems when capturing, ffmpeg-devel is much better but still slips. The >golden version of ffmpeg for capture is 0.48 which won't slip sync no matter >what you do (i've tried with a make buildworld running at the same time, it >drops lots of frams and looks awful but the sync is good). > > If you like I can send you a port skeleton and distfile for >ffmpeg-0.48. > I rather get NuppelVideo working as it uses less CPU. I am using a old computer (PII 400 w 256MB) to do this capture and am concerned with the capture rate and quality. Again, I am completely new to this video stuff, so if you think ffmpeg is better, I will give it a try. David Wassman From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 14:54:58 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FD216A41C for ; Tue, 14 Jun 2005 14:54:58 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BCF43D49 for ; Tue, 14 Jun 2005 14:54:58 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 82207 invoked by uid 16563); 14 Jun 2005 14:54:57 -0000 Received: from unknown (HELO df1) ([80.7.161.165]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 14 Jun 2005 14:54:57 -0000 Date: Tue, 14 Jun 2005 15:54:55 +0100 From: Steve O'Hara-Smith To: Message-Id: <20050614155455.6480afe4.steve@sohara.org> In-Reply-To: <20050614135934.GHXT28809.lakermmtao07.cox.net@smtp.east.cox.net> References: <20050614135934.GHXT28809.lakermmtao07.cox.net@smtp.east.cox.net> Organization: Steve O'Hara-Smith X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 14:54:58 -0000 On Tue, 14 Jun 2005 9:59:34 -0400 wrote: > Steve, > > Thanks for the help. I haven't had too much experience with video capture and the handbook is a little thin on this. Hmm - perhaps I should write a chapter and submit it. I'll try and find a round tuit. > I have the card hooked up to a VCR thru a composite cable. I didn't do the research when I bought the card on Ebay and was under the impression it came with a tuner until I received it. Is this going to be a problem (other than I have to set the VCR to anything I want to capture)? No it should be fine apart from that - I was just eliminating the possibility that you were trying to use a tuner that hadn't been recognised. > So it is an environment variable and not the two devices setup thru bktr (ie bktr and bktr0)? Yes - if you had several bktr cards (or one of the quad tuner cards that I've heard about but never seen) you would see them as bktr0, bktr1 and so forth. Having separate nodes for the inputs would provide the illusion that you could use two inputs at once - which you can't. > I will try this when I get home. I will let you know how it works out. Is this set in /etc/profile or is there another config I need to set this variable in to use it after system start up? You can set it wherever you like - or for ffmpeg you can compile in the default by using WITH_BKTR_DEV=. I usually set it in a script along with all the parameters for ffmpeg. > > Now for the ffmpeg warning - ffmpeg-049pre1 has dreadful A/V sync > >problems when capturing, ffmpeg-devel is much better but still slips. The > >golden version of ffmpeg for capture is 0.48 which won't slip sync no matter > >what you do (i've tried with a make buildworld running at the same time, it > >drops lots of frams and looks awful but the sync is good). > > > > If you like I can send you a port skeleton and distfile for > >ffmpeg-0.48. > > > I rather get NuppelVideo working as it uses less CPU. I am using a old It uses *much* less CPU - I once managed a perfect recording at 768x576 while make buildworld was running with nuppelvideo piped into a buffering script and then into mencoder to make an avi. Very soon after that mencoder took to core dumping when I tried it :( > computer (PII 400 w 256MB) to do this capture and am concerned with the PII 400 is definitely low on CPU for capture, nuppelvideo is almost certainly your best bet. If the captured file is too big recode it offline with mencoder. > capture rate and quality. Again, I am completely new to this video stuff, so if you think ffmpeg is better, I will give it a try. ffmpeg is better - provided you have enough CPU for it. The slowest box I have that will do full size (768x576) 25fps capture is an AMD XP2000, my Athlon 1200 would /almost/ do it provided I set -me 0 and -intra (which removed all time based compression). A PII 400 should just about manage 384x288 with similar settings in ffmpeg - I think it will manage full size capture with nuppelvideo though. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 16:43:57 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9868516A41C for ; Tue, 14 Jun 2005 16:43:57 +0000 (GMT) (envelope-from erik.u@dnainternet.net) Received: from smtp2.dnainternet.net (smtp2.dnainternet.net [62.240.72.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50C7E43D1D for ; Tue, 14 Jun 2005 16:43:56 +0000 (GMT) (envelope-from erik.u@dnainternet.net) Received: from b-184-46.dsl.kpy.customers.dnainternet.fi ([212.149.184.46]:62192 "EHLO [192.168.1.11]" TLS-CIPHER: ) by smtp2.dnainternet.net with ESMTP id S1228936AbVFNQny (ORCPT ); Tue, 14 Jun 2005 19:43:54 +0300 Message-ID: <42AF0949.7070001@dnainternet.net> Date: Tue, 14 Jun 2005 19:43:53 +0300 From: Erik Udo User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050430) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kirkwood References: <42AE82D7.7080704@paradise.net.nz> In-Reply-To: <42AE82D7.7080704@paradise.net.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound Blaster Live! support in 5.4 - but not Creative SB0410? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 16:43:57 -0000 Mark Kirkwood wrote: > I have installed a Creative sound blaster live 5.1 (SB0410) sound card > in my desktop machine - only to discover that it appears to be > unrecognized (see below). > > This is supposed to be a sound blaster live! card - is there any way to > get it to be recognized/work? > > I am happy to hack a few kernel files... :-) > > $ scanpci > > pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x1106 device 0x0691 > VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] > > pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x1106 device 0x8598 > VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] > > pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x1106 device 0x0596 > VIA Technologies, Inc. VT82C596 ISA [Mobile South] > > pci bus 0x0000 cardnum 0x07 function 0x01: vendor 0x1106 device 0x0571 > VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC > Bus Master IDE > > pci bus 0x0000 cardnum 0x07 function 0x02: vendor 0x1106 device 0x3038 > VIA Technologies, Inc. USB > > pci bus 0x0000 cardnum 0x07 function 0x03: vendor 0x1106 device 0x3050 > VIA Technologies, Inc. VT82C596 Power Management > > pci bus 0x0000 cardnum 0x10 function 0x00: vendor 0x10ec device 0x8139 > Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ > > pci bus 0x0000 cardnum 0x13 function 0x00: vendor 0x1102 device 0x0007 > Creative Labs Device unknown <<<<<<<<<<<<<<<<<<<<<<<<<<<<* > > pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x4966 > ATI Technologies Inc Radeon RV250 If [Radeon 9000] > > > regards > > Mark > > P.s : send this to -hardware first, but suspect here is the best place. > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" > The new Sound Blaster Live!'s aren't supported. There are no hacks. You can go with the http://www.opensound.com/ thingie or get an older sound blaster live!-card. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 17:07:04 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3751C16A41F for ; Tue, 14 Jun 2005 17:07:04 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id C195E43D48 for ; Tue, 14 Jun 2005 17:07:03 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 7F1326CC3D; Wed, 15 Jun 2005 01:10:39 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50584-08; Wed, 15 Jun 2005 01:10:38 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.111.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id C2FC36CC35; Wed, 15 Jun 2005 01:10:36 +0800 (MYT) Date: Wed, 15 Jun 2005 01:07:08 +0800 From: Ariff Abdullah To: Mathew Kanner Message-Id: <20050615010708.60eebf38.skywizard@MyBSD.org.my> In-Reply-To: <20050613125125.GB2710@cnd.mcgill.ca> References: <20050612001221.6824b42b.skywizard@MyBSD.org.my> <20050613125125.GB2710@cnd.mcgill.ca> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: New pcm feeder_rate implementation X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 17:07:04 -0000 On Mon, 13 Jun 2005 08:51:25 -0400 Mathew Kanner wrote: > On Jun 11, Ariff Abdullah wrote: > > Alright folks, here is the new, or should I say *much* improved > > feeder_rate implementation. This new implementation try to address > > what the older one failed to do: *insane* / wide range rates > > support so you can play your super-ridiculous 1024000Hz ultrasonic > > mosquito repeller files *on the fly* without having to resample > > just to satisfy 4000 - 48000hz limit. The code also much shorter / > > cleaner, still preserving good old bits from Orion's > > implementation. The file is designed to be a drop in replacement > > for RELENG_5 / HEAD and you can get it at: > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > > > feeder_rate.c : mandatory > > vchan.c : mandatory for those having fixed rate AC97 > > soundcard, > > or simply want to liberate themselves from 44100 > > vchan limit. > > > > Enjoy your ultra-insane sound, something like mplayer -af > > resample=1024000:0:2 should do that. > > > > As usual, feedback / comments are welcomed. > > This is awesome. We were just discussing proposal on the > developers list and I was hot for a mixer replacement. Anyway, I'm > tied up for the next few days with work. I'll take a look and test > over the week and we'll try to get this in on the weekend. > I hope other people on the list will also test and respond > with their results. > --Mat The tendency to mutilate it so high. I leave it there, as is, until you come back. Yeah, out current state of mixer sub is really, really dissapointing (well, for me, still fine). We should move OSS legacy stuffs out of it and provide some sort of compatibily interface. Please tell me if there are any anomalies with this new implementation as compared to the older one, especially with sound quality (I don't think so.. but who knows) or latency issues. Remember, playing super-insane files are rather CPU intensive. This implementation provide flexibility, *not* insanity :) Later. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 17:11:18 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A06D316A41C for ; Tue, 14 Jun 2005 17:11:18 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 447A243D53 for ; Tue, 14 Jun 2005 17:11:18 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from smtp.east.cox.net ([172.18.52.53]) by lakermmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with SMTP id <20050614171117.SBYK13442.lakermmtao05.cox.net@smtp.east.cox.net>; Tue, 14 Jun 2005 13:11:17 -0400 X-Mailer: Openwave WebEngine, version 2.8.15 (webedge20-101-1103-20040528) From: To: Steve O'Hara-Smith Date: Tue, 14 Jun 2005 13:11:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20050614171117.SBYK13442.lakermmtao05.cox.net@smtp.east.cox.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 17:11:18 -0000 Thanks Steve. I appreciate the help. I will try the env variable when I get home tonight. One more question about the processor speed though. Does it matter that I have nothing else running on the machine (ie no X, MTA, Services except SSH and NFS) as far as performance of capture? Do you think ffmpeg would be able to grab at higher quality if it is the only process running? > > From: Steve O'Hara-Smith > Date: 2005/06/14 Tue AM 10:54:55 EDT > To: > CC: freebsd-multimedia@freebsd.org > Subject: Re: Capturing video with Intel Smart Video Recorder III > > On Tue, 14 Jun 2005 9:59:34 -0400 > wrote: > > > Steve, > > > > Thanks for the help. I haven't had too much experience with video capture and the handbook is a little thin on this. > > Hmm - perhaps I should write a chapter and submit it. I'll try and > find a round tuit. > > > I have the card hooked up to a VCR thru a composite cable. I didn't do the research when I bought the card on Ebay and was under the impression it came with a tuner until I received it. Is this going to be a problem (other than I have to set the VCR to anything I want to capture)? > > No it should be fine apart from that - I was just eliminating the > possibility that you were trying to use a tuner that hadn't been recognised. > > > So it is an environment variable and not the two devices setup thru bktr (ie bktr and bktr0)? > > Yes - if you had several bktr cards (or one of the quad tuner cards > that I've heard about but never seen) you would see them as bktr0, bktr1 and > so forth. Having separate nodes for the inputs would provide the illusion that > you could use two inputs at once - which you can't. > > > I will try this when I get home. I will let you know how it works out. Is this set in /etc/profile or is there another config I need to set this variable in to use it after system start up? > > You can set it wherever you like - or for ffmpeg you can compile > in the default by using WITH_BKTR_DEV=. I usually set it in a > script along with all the parameters for ffmpeg. > > > > Now for the ffmpeg warning - ffmpeg-049pre1 has dreadful A/V sync > > >problems when capturing, ffmpeg-devel is much better but still slips. The > > >golden version of ffmpeg for capture is 0.48 which won't slip sync no matter > > >what you do (i've tried with a make buildworld running at the same time, it > > >drops lots of frams and looks awful but the sync is good). > > > > > > If you like I can send you a port skeleton and distfile for > > >ffmpeg-0.48. > > > > > I rather get NuppelVideo working as it uses less CPU. I am using a old > > It uses *much* less CPU - I once managed a perfect recording > at 768x576 while make buildworld was running with nuppelvideo piped into > a buffering script and then into mencoder to make an avi. Very soon after > that mencoder took to core dumping when I tried it :( > > > computer (PII 400 w 256MB) to do this capture and am concerned with the > > PII 400 is definitely low on CPU for capture, nuppelvideo is > almost certainly your best bet. If the captured file is too big recode > it offline with mencoder. > > > capture rate and quality. Again, I am completely new to this video stuff, so if you think ffmpeg is better, I will give it a try. > > ffmpeg is better - provided you have enough CPU for it. The slowest > box I have that will do full size (768x576) 25fps capture is an AMD XP2000, > my Athlon 1200 would /almost/ do it provided I set -me 0 and -intra (which > removed all time based compression). A PII 400 should just about manage > 384x288 with similar settings in ffmpeg - I think it will manage full > size capture with nuppelvideo though. > > -- > C:>WIN | Directable Mirror Arrays > The computer obeys and wins. | A better way to focus the sun > You lose and Bill collects. | licences available see > | http://www.sohara.org/ > From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 18:13:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8BA616A41C for ; Tue, 14 Jun 2005 18:13:46 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DDCD43D48 for ; Tue, 14 Jun 2005 18:13:46 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 78748 invoked by uid 16563); 14 Jun 2005 18:13:45 -0000 Received: from unknown (HELO df1) ([80.7.161.165]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 14 Jun 2005 18:13:45 -0000 Date: Tue, 14 Jun 2005 19:13:44 +0100 From: Steve O'Hara-Smith To: Message-Id: <20050614191344.5c90c211.steve@sohara.org> In-Reply-To: <20050614171117.SBYK13442.lakermmtao05.cox.net@smtp.east.cox.net> References: <20050614171117.SBYK13442.lakermmtao05.cox.net@smtp.east.cox.net> Organization: Steve O'Hara-Smith X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 18:13:46 -0000 On Tue, 14 Jun 2005 13:11:17 -0400 wrote: > Thanks Steve. I appreciate the help. I will try the env variable when I get home tonight. One more question about the processor speed though. Does it matter that I have nothing else running on the machine (ie no X, MTA, Services except SSH and NFS) as far as performance of capture? Do you think ffmpeg would be able to grab at higher quality if it is the only process running? You'll need a pretty idle machine to make a good capture anyway, but for the most part things like X and MTAs don't eat much CPU unless they're being used quite heavily. I think your best bet is nuppelvideo to capture and recode with mencoder afterwards if space matters. You won't get ffmpeg to capture full resolution on a 400MHz PII no matter what you do. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 00:28:01 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44B2916A41C for ; Wed, 15 Jun 2005 00:28:01 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from linda-5.paradise.net.nz (bm-5a.paradise.net.nz [202.0.58.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0634B43D48 for ; Wed, 15 Jun 2005 00:28:00 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-1.paradise.net.nz (smtp-1a.paradise.net.nz [202.0.32.194]) by linda-5.paradise.net.nz (Paradise.net.nz) with ESMTP id <0II300B0ANYNCM@linda-5.paradise.net.nz> for freebsd-multimedia@freebsd.org; Wed, 15 Jun 2005 12:27:59 +1200 (NZST) Received: from [192.168.1.11] (218-101-13-8.paradise.net.nz [218.101.13.8]) by smtp-1.paradise.net.nz (Postfix) with ESMTP id D0CB58286F; Wed, 15 Jun 2005 12:27:58 +1200 (NZST) Date: Wed, 15 Jun 2005 12:27:57 +1200 From: Mark Kirkwood In-reply-to: <20050614132609.GD9461@cnd.mcgill.ca> To: Mathew Kanner Message-id: <42AF760D.5050608@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050511) References: <42AE82D7.7080704@paradise.net.nz> <20050614132609.GD9461@cnd.mcgill.ca> Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound Blaster Live! support in 5.4 - but not Creative SB0410? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 00:28:01 -0000 Mathew Kanner wrote: > > Did you kldload snd_emu10k1? > Also, would prefer the output of 'pciconf -lv' > > --Mat > > Yeah, snd_emu10k1 is loaded. The (much nicer) output from 'pciconf -lv' is here: none1@pci0:19:0: class=0x040100 card=0x10061102 chip=0x00071102 rev=0x00 hdr=0x00 vendor = 'Creative Labs' device = 'CA0106-DAT Audigy LS' class = multimedia subclass = audio Hmm - it's not a emu10k1/2 chip is it? Judging by Erik Udo's posting, and the output here, there is no way it will work - looks I need a different card :-( Cheers Mark From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 01:16:16 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C6DA16A41C for ; Wed, 15 Jun 2005 01:16:16 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao07.cox.net (lakermmtao07.cox.net [68.230.240.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E3ED43D48 for ; Wed, 15 Jun 2005 01:16:15 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from [192.168.0.3] (really [68.226.7.134]) by lakermmtao07.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050615011615.DCDA28809.lakermmtao07.cox.net@[192.168.0.3]>; Tue, 14 Jun 2005 21:16:15 -0400 Message-ID: <42AF8155.9030508@cox.net> Date: Tue, 14 Jun 2005 21:16:05 -0400 From: David Wassman User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve O'Hara-Smith References: <20050614171117.SBYK13442.lakermmtao05.cox.net@smtp.east.cox.net> <20050614191344.5c90c211.steve@sohara.org> In-Reply-To: <20050614191344.5c90c211.steve@sohara.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 01:16:16 -0000 Steve O'Hara-Smith wrote: >On Tue, 14 Jun 2005 13:11:17 -0400 > wrote: > > > >>Thanks Steve. I appreciate the help. I will try the env variable when I get home tonight. One more question about the processor speed though. Does it matter that I have nothing else running on the machine (ie no X, MTA, Services except SSH and NFS) as far as performance of capture? Do you think ffmpeg would be able to grab at higher quality if it is the only process running? >> >> > > You'll need a pretty idle machine to make a good capture anyway, >but for the most part things like X and MTAs don't eat much CPU unless >they're being used quite heavily. > > I think your best bet is nuppelvideo to capture and recode with >mencoder afterwards if space matters. You won't get ffmpeg to capture >full resolution on a 400MHz PII no matter what you do. > > > Steve, If this computer had a neck, I would have strangled it by now. I tried the following: #set BKTR_DEV=0 #nuvrec -n -t 1 -V /dev/bktr0 -A /dev/dsp0.0 test0 I have done this in succession till 9 with the same result, blue screen with sound. Any suggestions to go from here? Your help again will be appreciated. David From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 07:02:22 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D422116A41C for ; Wed, 15 Jun 2005 07:02:22 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB23B43D49 for ; Wed, 15 Jun 2005 07:02:22 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 81390 invoked by uid 16563); 15 Jun 2005 07:02:22 -0000 Received: from unknown (HELO df1) ([80.7.161.165]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 15 Jun 2005 07:02:22 -0000 Date: Wed, 15 Jun 2005 08:02:20 +0100 From: Steve O'Hara-Smith To: David Wassman Message-Id: <20050615080220.455b5039.steve@sohara.org> In-Reply-To: <42AF8155.9030508@cox.net> References: <20050614171117.SBYK13442.lakermmtao05.cox.net@smtp.east.cox.net> <20050614191344.5c90c211.steve@sohara.org> <42AF8155.9030508@cox.net> Organization: Steve O'Hara-Smith X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 07:02:22 -0000 On Tue, 14 Jun 2005 21:16:05 -0400 David Wassman wrote: > Steve, > > If this computer had a neck, I would have strangled it by now. I tried > the following: > > #set BKTR_DEV=0 > #nuvrec -n -t 1 -V /dev/bktr0 -A /dev/dsp0.0 test0 > > I have done this in succession till 9 with the same result, blue screen > with sound. Any suggestions to go from here? Your help again will be > appreciated. I must be going mad - I *know* I used the same code for nuppelvideo as for ffmpeg and yet when UTSL I find otherwise. Use -S on the nuvrec command line to set the input device. Sorry about that. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 01:53:21 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA0AC16A41C for ; Thu, 16 Jun 2005 01:53:21 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 4522443D1F for ; Thu, 16 Jun 2005 01:53:21 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 16553 invoked from network); 16 Jun 2005 01:53:22 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 16 Jun 2005 01:53:22 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Wed, 15 Jun 2005 18:53:19 PDT (sender jakemsr@puff.jakemsr.gom) Date: Wed, 15 Jun 2005 18:53:19 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20050616015319.GD4057@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <20050614135934.GHXT28809.lakermmtao07.cox.net@smtp.east.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050614135934.GHXT28809.lakermmtao07.cox.net@smtp.east.cox.net> User-Agent: Mutt/1.4.2i Subject: Re: Capturing video with Intel Smart Video Recorder III X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 01:53:21 -0000 On Tue, Jun 14, 2005 at 09:59:34AM -0400, dmwassman@cox.net wrote: > I rather get NuppelVideo working as it uses less CPU. I am using a old > computer (PII 400 w 256MB) to do this capture and am concerned with > the capture rate and quality. Again, I am completely new to this video > stuff, so if you think ffmpeg is better, I will give it a try. may I suggest trying bsdav -> http://www.jakemsr.com/bsdav/ _very_ light on CPU usage; fully documented. it does no encoding/ compression, so you will get the best possible picture. you will need a fair amount of disk space, though, unless you break the capture up into parts. I wouldn't imagine this being too much of a problem though, since you are capturing from a VCR. -- From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 18:05:08 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F08CF16A41C for ; Thu, 16 Jun 2005 18:05:08 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id DC2EA43D1D for ; Thu, 16 Jun 2005 18:05:07 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 82145 invoked by uid 0); 16 Jun 2005 15:05:18 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4515. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 0.424643 secs); 16 Jun 2005 18:05:18 -0000 Received: from unknown (HELO ?10.69.69.69?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 16 Jun 2005 15:05:17 -0300 Message-ID: <42B1BF4F.6020501@freebsdbrasil.com.br> Date: Thu, 16 Jun 2005 15:05:03 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 18:05:09 -0000 Hello there. I tried to run a number of SIP softphones (linphone, kphone, etc), and just found out my problem was the mic recording device, and not the SIP software. I tried to make basic testings on recording, copying from /dev/audio|/dev/dsp to a file or to /dev/dsp as output. Every single test returns the same: pcm0:record:0: record interrupt timeout, channel dead Tried in both 5.4-S and 6.0-CURRENT (from Jun 8th). Any idea what is causing this? And how to fix it? Hardware identifying: (eksffa@claire-redfield)~> grep "snd\|sound" /sys/i386/conf/CLAIRE device sound device "snd_t4dwave" (eksffa@claire-redfield)~> cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x8800 irq 11 (4p/1r/0v channels duplex default) (eksffa@claire-redfield)~> pciconf -lv | grep -B4 audio pcm0@pci0:4:0: class=0x040100 card=0x8158104d chip=0x545110b9 rev=0x02 hdr=0x00 vendor = 'Acer Labs Incorporated (ALi)' device = 'ALI M5451 PCI AC-Link Controller Audio Device' class = multimedia subclass = audio (eksffa@claire-redfield)~> grep -i pcm /var/run/dmesg.boot pcm0: port 0x8800-0x88ff mem 0xf0401000-0xf0401fff irq 11 at device 4.0 on pci0 pcm0: pcm0: [GIANT-LOCKED] O also tried to set sc->duplex = 1 on /sys/dev/sound/pci/solo.c (around line 972) but it caused my output device to not work properly as it does when sc->duplex = 0 and the mic device still did not work anyway. Thanks :-) -- Patrick Tracanelli FreeBSD Brasil LTDA. patrick @ freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 18:12:55 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8E6516A41C for ; Thu, 16 Jun 2005 18:12:55 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from torrent.cc.mcgill.ca (torrent.CC.McGill.CA [132.206.27.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F7943D4C for ; Thu, 16 Jun 2005 18:12:54 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan3.cc.mcgill.ca (mailscan3.CC.McGill.CA [132.216.77.250]) by torrent.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j5GICiWs006585; Thu, 16 Jun 2005 14:12:48 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan3.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j5GICMDJ023183; Thu, 16 Jun 2005 14:12:22 -0400 (EDT) Received: from localhost.localdomain (giant.cnd.mcgill.ca [132.216.11.153]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j5GICL7p001673; Thu, 16 Jun 2005 14:12:22 -0400 Received: from localhost.localdomain (giant [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j5GICL1a016788; Thu, 16 Jun 2005 14:12:21 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j5GICLif016787; Thu, 16 Jun 2005 14:12:21 -0400 Date: Thu, 16 Jun 2005 14:12:20 -0400 From: Mathew Kanner To: Patrick Tracanelli Message-ID: <20050616181220.GE9461@cnd.mcgill.ca> References: <42B1BF4F.6020501@freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42B1BF4F.6020501@freebsdbrasil.com.br> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org Subject: Re: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 18:12:55 -0000 On Jun 16, Patrick Tracanelli wrote: > > Hello there. > > I tried to run a number of SIP softphones (linphone, kphone, etc), and > just found out my problem was the mic recording device, and not the SIP > software. > > I tried to make basic testings on recording, copying from > /dev/audio|/dev/dsp to a file or to /dev/dsp as output. Every single > test returns the same: > > pcm0:record:0: record interrupt timeout, channel dead > > Tried in both 5.4-S and 6.0-CURRENT (from Jun 8th). Any idea what is > causing this? And how to fix it? > > Hardware identifying: > > (eksffa@claire-redfield)~> grep "snd\|sound" /sys/i386/conf/CLAIRE > device sound > device "snd_t4dwave" > (eksffa@claire-redfield)~> cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0x8800 irq 11 (4p/1r/0v channels duplex > default) > (eksffa@claire-redfield)~> pciconf -lv | grep -B4 audio > pcm0@pci0:4:0: class=0x040100 card=0x8158104d chip=0x545110b9 rev=0x02 > hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M5451 PCI AC-Link Controller Audio Device' > class = multimedia > subclass = audio > (eksffa@claire-redfield)~> grep -i pcm /var/run/dmesg.boot > pcm0: port 0x8800-0x88ff mem 0xf0401000-0xf0401fff irq > 11 at device 4.0 on pci0 > pcm0: > pcm0: [GIANT-LOCKED] > > O also tried to set sc->duplex = 1 on /sys/dev/sound/pci/solo.c (around > line 972) but it caused my output device to not work properly as it does > when sc->duplex = 0 and the mic device still did not work anyway. > > Thanks :-) Hi, I guess what you are saying is the your device is half-duplex. Please do a sysctl hw.snd.verbose=3 cat /dev/sndstat --Mat From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 18:18:37 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF27A16A41C for ; Thu, 16 Jun 2005 18:18:37 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 226BF43D49 for ; Thu, 16 Jun 2005 18:18:34 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 82834 invoked by uid 0); 16 Jun 2005 15:18:45 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4515. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 0.749257 secs); 16 Jun 2005 18:18:45 -0000 Received: from unknown (HELO ?10.69.69.69?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 16 Jun 2005 15:18:44 -0300 Message-ID: <42B1C276.5070900@freebsdbrasil.com.br> Date: Thu, 16 Jun 2005 15:18:30 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <42B1BF4F.6020501@freebsdbrasil.com.br> <20050616181220.GE9461@cnd.mcgill.ca> In-Reply-To: <20050616181220.GE9461@cnd.mcgill.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 18:18:37 -0000 > Hi, > I guess what you are saying is the your device is half-duplex. > > Please do a > sysctl hw.snd.verbose=3 > cat /dev/sndstat > > --Mat Here is the output (eksffa@claire-redfield)~# sysctl hw.snd.verbose=3 hw.snd.verbose: 1 -> 3 (eksffa@claire-redfield)~# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x8800 irq 11 (4p/1r/0v channels duplex default) [pcm0:record:0]: spd 8000, fmt 0x00000001/0x00000008, flags 0x00000000, 0x000000 00 interrupts 0, overruns 0, hfree 256, sfree 131072 {hardware} -> feeder_root(0x00000008) -> feeder_u8toulaw(0x00000008 -> 0x0000000 1) -> {userland} [pcm0:play:0]: spd 44100/44097, fmt 0x10000010, flags 0x00003030, 0x00000000, pi d 657 interrupts 5793, underruns 2, ready 131072 {userland} -> feeder_root(0x10000010) -> {hardware} [pcm0:play:1]: spd 22050/22042, fmt 0x10000010, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x10000010) -> {hardware} [pcm0:play:2]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:play:3]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} File Versions: $FreeBSD: src/sys/dev/sound/pci/vibes.c,v 1.17 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/via82c686.c,v 1.31 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/via8233.c,v 1.17 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/solo.c,v 1.32 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/isa/sb16.c,v 1.87.2.1 2004/09/16 19:02:50 truckman Exp $ $FreeBSD: src/sys/dev/sound/isa/sb8.c,v 1.77 2004/07/16 03:59:54 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/neomagic.c,v 1.33 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/maestro3.c,v 1.25 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/maestro.c,v 1.23.2.1 2004/08/29 20:50:32 green Exp $ $FreeBSD: src/sys/dev/sound/pci/ich.c,v 1.42.2.2 2004/10/07 18:38:55 ps Exp $ $FreeBSD: src/sys/dev/sound/isa/gusc.c,v 1.14.2.1 2004/10/15 05:14:10 njl Exp $ $FreeBSD: src/sys/dev/sound/isa/mss.c,v 1.90.2.1 2004/10/15 05:14:10 njl Exp $ $FreeBSD: src/sys/dev/sound/pci/fm801.c,v 1.23 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/isa/es1888.c,v 1.11 2004/07/16 03:59:54 tanimura Exp $ $FreeBSD: src/sys/dev/sound/isa/ess.c,v 1.31.2.1 2004/10/15 05:14:10 njl Exp $ $FreeBSD: src/sys/dev/sound/isa/sbc.c,v 1.42.2.1 2004/10/15 05:14:10 njl Exp $ $FreeBSD: src/sys/dev/sound/pci/es137x.c,v 1.51 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/emu10k1.c,v 1.52 2004/07/24 15:30:23 obrien Exp $ $FreeBSD: src/sys/dev/sound/pci/ds1.c,v 1.40 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/csapcm.c,v 1.31 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/csa.c,v 1.30 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/cs4281.c,v 1.20 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/cmi.c,v 1.29 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pci/als4000.c,v 1.16 2004/07/16 03:59:27 tanimura Exp $ $FreeBSD: src/sys/dev/sound/isa/ad1816.c,v 1.33.2.1 2004/10/15 05:14:10 njl Exp $ $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.16 2004/01/28 08:02:15 truckman Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.92 2004/07/16 03:59:09 tanimura Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.17.2.1 2004/09/14 06:43:46 truckman Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.40 2004/06/25 16:34:33 josef Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.10 2003/04/20 17:08:56 orion Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.13 2003/09/07 16:28:03 cg Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.32 2003/09/07 16:28:03 cg Exp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.13 2003/09/07 16:28:03 cg Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.77 2004/07/02 15:31:44 netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.97 2004/02/28 19:47:02 truckman Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.23 2004/04/29 02:51:59 green Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.2 2003/08/21 15:44:55 orion Exp $ -- Patrick Tracanelli FreeBSD Brasil LTDA. The FreeBSD pt_BR Documentation Project http://www.freebsdbrasil.com.br patrick @ freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 20:29:36 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAB7B16A41C for ; Thu, 16 Jun 2005 20:29:36 +0000 (GMT) (envelope-from freebsd@thewambaughs.net) Received: from mxsf25.cluster1.charter.net (mxsf25.cluster1.charter.net [209.225.28.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AC0A43D55 for ; Thu, 16 Jun 2005 20:29:36 +0000 (GMT) (envelope-from freebsd@thewambaughs.net) Received: from mxip15a.cluster1.charter.net (mxip15a.cluster1.charter.net [209.225.28.145]) by mxsf25.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j5GKTYGd011856 for ; Thu, 16 Jun 2005 16:29:35 -0400 Received: from unknown (HELO www.thewambaughs.net) (68.119.105.238) by mxip15a.cluster1.charter.net with ESMTP; 16 Jun 2005 16:29:34 -0400 X-IronPort-AV: i="3.93,204,1115006400"; d="scan'208"; a="1152210073:sNHT18917964" Received: from 65.196.180.68 (SquirrelMail authenticated user freebsd@thewambaughs.net) by www.thewambaughs.net with HTTP; Thu, 16 Jun 2005 15:29:34 -0500 (CDT) Message-ID: <46851.65.196.180.68.1118953774.squirrel@www.thewambaughs.net> Date: Thu, 16 Jun 2005 15:29:34 -0500 (CDT) From: freebsd@thewambaughs.net To: freebsd-multimedia@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: emu10k1 joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 20:29:36 -0000 I have not been able to get my joystick working in FreeBSD. I have skimmed the Handbook and searched the archives of this mailing list to no avail. My joystick is an InterAct ProPad 6--it's a simple analog joystick that plugs into the gameport of the sound card. My sound card is an SB Live!. What do I need to do to get it working? TIA $ uname -a FreeBSD isengard.thewambaughs.net 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Fri Jun 10 15:15:52 CDT 2005 root@isengard.thewambaughs.net:/usr/obj/usr/src/sys/ISENGARD i386 $ pciconf -l -v pcm0@pci0:12:0: class=0x040100 card=0x80641102 chip=0x00021102 rev=0x07 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780' class = multimedia subclass = audio emujoy0@pci0:12:1: class=0x098000 card=0x00201102 chip=0x70021102 rev=0x07 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10000 Game Port' class = input device $ diff -u GENERIC ISENGARD --- GENERIC Sat Apr 2 10:37:58 2005 +++ ISENGARD Thu Jun 2 19:57:47 2005 @@ -1,32 +1,12 @@ -# -# GENERIC -- Generic kernel configuration file for FreeBSD/i386 -# -# For more information on this file, please read the handbook section on -# Kernel Configuration Files: -# -# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html -# -# The handbook is also available locally in /usr/share/doc/handbook -# if you've installed the doc distribution, otherwise always see the -# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the -# latest information. -# -# An exhaustive list of options and more detailed explanations of the -# device lines is also present in the ../../conf/NOTES and NOTES files. -# If you are in doubt as to the purpose or necessity of a line, check first -# in NOTES. -# -# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13 2005/04/02 16:37:58 scottl Exp $ - machine i386 -cpu I486_CPU -cpu I586_CPU cpu I686_CPU -ident GENERIC +ident ISENGARD # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. +device apic +options SMP options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols @@ -70,6 +50,7 @@ # ATA and ATAPI devices device ata +device atapicam device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives @@ -274,3 +255,6 @@ device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) + +options VESA +options SC_PIXEL_MODE From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 21:50:02 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB31F16A41C for ; Thu, 16 Jun 2005 21:50:02 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id E148B43D1F for ; Thu, 16 Jun 2005 21:50:01 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 97727 invoked by uid 0); 16 Jun 2005 18:50:12 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4515. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 1.315879 secs); 16 Jun 2005 21:50:12 -0000 Received: from unknown (HELO ?10.69.69.69?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 16 Jun 2005 18:50:10 -0300 Message-ID: <42B1F3FF.9030105@freebsdbrasil.com.br> Date: Thu, 16 Jun 2005 18:49:51 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <42B1BF4F.6020501@freebsdbrasil.com.br> In-Reply-To: <42B1BF4F.6020501@freebsdbrasil.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 21:50:02 -0000 Patrick Tracanelli wrote: > > Hello there. > > I tried to run a number of SIP softphones (linphone, kphone, etc), and > just found out my problem was the mic recording device, and not the SIP > software. > > I tried to make basic testings on recording, copying from > /dev/audio|/dev/dsp to a file or to /dev/dsp as output. Every single > test returns the same: > > pcm0:record:0: record interrupt timeout, channel dead > > Tried in both 5.4-S and 6.0-CURRENT (from Jun 8th). Any idea what is > causing this? And how to fix it? > > Hardware identifying: > > (eksffa@claire-redfield)~> grep "snd\|sound" /sys/i386/conf/CLAIRE > device sound > device "snd_t4dwave" > (eksffa@claire-redfield)~> cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0x8800 irq 11 (4p/1r/0v channels duplex > default) > (eksffa@claire-redfield)~> pciconf -lv | grep -B4 audio > pcm0@pci0:4:0: class=0x040100 card=0x8158104d chip=0x545110b9 rev=0x02 > hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M5451 PCI AC-Link Controller Audio Device' > class = multimedia > subclass = audio > (eksffa@claire-redfield)~> grep -i pcm /var/run/dmesg.boot > pcm0: port 0x8800-0x88ff mem 0xf0401000-0xf0401fff irq > 11 at device 4.0 on pci0 > pcm0: > pcm0: [GIANT-LOCKED] > > O also tried to set sc->duplex = 1 on /sys/dev/sound/pci/solo.c (around > line 972) but it caused my output device to not work properly as it does > when sc->duplex = 0 and the mic device still did not work anyway. > > Thanks :-) > Complementing. I did some testings reading the code and trying different HZ, added some extra info to the error message, and what I get is: I use to have HZ set to 1000, which returns count as -8, every value for HZ >= 1000 returns pcm0:record:0: record interrupt timeout, channel dead (count: -8, c->flags: 1352 16) If I get HZ back to the common 100 value I get pcm0:record:0: record interrupt timeout, channel dead (count: 0, c->flags: 13521 6) while doing doing (eksffa@claire-redfield)~# cp /dev/audio /tmp/audio.au /dev/audio -> /tmp/audio.au Every other value <= 100 makes count get 0, I tried up to as low as the system doesnt load anymore (around HZ=14). I have no idea on what is causing the problem. Anyone? -- Patrick Tracanelli FreeBSD Brasil LTDA. The FreeBSD pt_BR Documentation Project http://www.freebsdbrasil.com.br patrick @ freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 17 07:22:33 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9CE916A41C for ; Fri, 17 Jun 2005 07:22:33 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28FC043D48 for ; Fri, 17 Jun 2005 07:22:30 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 99017, pid: 99018, t: 1.4567s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 17 Jun 2005 07:18:21 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j5H7MdBi018696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Jun 2005 16:22:39 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j5H7MbOE018695; Fri, 17 Jun 2005 16:22:37 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Fri, 17 Jun 2005 16:22:37 +0900 From: Pyun YongHyeon To: Patrick Tracanelli Message-ID: <20050617072237.GC17221@rndsoft.co.kr> References: <42B1BF4F.6020501@freebsdbrasil.com.br> <20050616181220.GE9461@cnd.mcgill.ca> <42B1C276.5070900@freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42B1C276.5070900@freebsdbrasil.com.br> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on Cc: freebsd-multimedia@freebsd.org Subject: Re: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 07:22:33 -0000 On Thu, Jun 16, 2005 at 03:18:30PM -0300, Patrick Tracanelli wrote: > > > Hi, > > I guess what you are saying is the your device is half-duplex. > > > > Please do a > > sysctl hw.snd.verbose=3 > > cat /dev/sndstat > > > > --Mat > > Here is the output > > (eksffa@claire-redfield)~# sysctl hw.snd.verbose=3 > hw.snd.verbose: 1 -> 3 > (eksffa@claire-redfield)~# cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0x8800 irq 11 (4p/1r/0v channels duplex > default) > [pcm0:record:0]: spd 8000, fmt 0x00000001/0x00000008, flags > 0x00000000, 0x000000 > 00 > interrupts 0, overruns 0, hfree 256, sfree 131072 > {hardware} -> feeder_root(0x00000008) -> > feeder_u8toulaw(0x00000008 -> 0x0000000 > 1) -> {userland} Hmm, I think capture mode works ok. > [pcm0:play:0]: spd 44100/44097, fmt 0x10000010, flags > 0x00003030, 0x00000000, pi > d 657 > interrupts 5793, underruns 2, ready 131072 ^^^^^^^^^^^ This is error condition, playback channel 0 has DMA underruns. > {userland} -> feeder_root(0x10000010) -> {hardware} > [pcm0:play:1]: spd 22050/22042, fmt 0x10000010, flags > 0x00000000, 0x00000000 > interrupts 0, underruns 0, ready 0 > {userland} -> feeder_root(0x10000010) -> {hardware} > [pcm0:play:2]: spd 0, fmt 0x00000000/0x00000008, flags > 0x00000000, 0x00000000 > interrupts 0, underruns 0, ready 0 > {userland} -> feeder_root(0x00000000) -> {hardware} > [pcm0:play:3]: spd 0, fmt 0x00000000/0x00000008, flags > 0x00000000, 0x00000000 > interrupts 0, underruns 0, ready 0 > {userland} -> feeder_root(0x00000000) -> {hardware} What I can't understand is why other playback channel(channel1, channel 2) is active, though not triggered to play. Normally you will use one capture/playback channel. I have no idea how you can see "capture channel dead" as the above output indicates playback problem. -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 17 16:14:30 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89F1316A41C for ; Fri, 17 Jun 2005 16:14:30 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E73B43D48 for ; Fri, 17 Jun 2005 16:14:28 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 41426 invoked by uid 0); 17 Jun 2005 13:14:39 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4515. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 1.911761 secs); 17 Jun 2005 16:14:39 -0000 Received: from unknown (HELO ?10.69.69.69?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 17 Jun 2005 13:14:37 -0300 Message-ID: <42B2F6D8.7080506@freebsdbrasil.com.br> Date: Fri, 17 Jun 2005 13:14:16 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: yongari@rndsoft.co.kr References: <42B1BF4F.6020501@freebsdbrasil.com.br> <20050616181220.GE9461@cnd.mcgill.ca> <42B1C276.5070900@freebsdbrasil.com.br> <20050617072237.GC17221@rndsoft.co.kr> In-Reply-To: <20050617072237.GC17221@rndsoft.co.kr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 16:14:30 -0000 Pyun YongHyeon wrote: > On Thu, Jun 16, 2005 at 03:18:30PM -0300, Patrick Tracanelli wrote: > > > > > Hi, > > > I guess what you are saying is the your device is half-duplex. > > > > > > Please do a > > > sysctl hw.snd.verbose=3 > > > cat /dev/sndstat > > > > > > --Mat > > > > Here is the output > > > > (eksffa@claire-redfield)~# sysctl hw.snd.verbose=3 > > hw.snd.verbose: 1 -> 3 > > (eksffa@claire-redfield)~# cat /dev/sndstat > > FreeBSD Audio Driver (newpcm) > > Installed devices: > > pcm0: at io 0x8800 irq 11 (4p/1r/0v channels duplex > > default) > > [pcm0:record:0]: spd 8000, fmt 0x00000001/0x00000008, flags > > 0x00000000, 0x000000 > > 00 > > interrupts 0, overruns 0, hfree 256, sfree 131072 > > {hardware} -> feeder_root(0x00000008) -> > > feeder_u8toulaw(0x00000008 -> 0x0000000 > > 1) -> {userland} > > Hmm, I think capture mode works ok. > > > [pcm0:play:0]: spd 44100/44097, fmt 0x10000010, flags > > 0x00003030, 0x00000000, pi > > d 657 > > interrupts 5793, underruns 2, ready 131072 > ^^^^^^^^^^^ > This is error condition, playback channel 0 has DMA underruns. > > > {userland} -> feeder_root(0x10000010) -> {hardware} > > [pcm0:play:1]: spd 22050/22042, fmt 0x10000010, flags > > 0x00000000, 0x00000000 > > interrupts 0, underruns 0, ready 0 > > {userland} -> feeder_root(0x10000010) -> {hardware} > > [pcm0:play:2]: spd 0, fmt 0x00000000/0x00000008, flags > > 0x00000000, 0x00000000 > > interrupts 0, underruns 0, ready 0 > > {userland} -> feeder_root(0x00000000) -> {hardware} > > [pcm0:play:3]: spd 0, fmt 0x00000000/0x00000008, flags > > 0x00000000, 0x00000000 > > interrupts 0, underruns 0, ready 0 > > {userland} -> feeder_root(0x00000000) -> {hardware} > > What I can't understand is why other playback channel(channel1, > channel 2) is active, though not triggered to play. Normally you > will use one capture/playback channel. > I have no idea how you can see "capture channel dead" as the > above output indicates playback problem. > Probably the underruns might be caused by a too low HZ value, when I sent this output. It does not get underruns with HZ=100 or =1000, here follows some outputs: (root@claire-redfield)~# cp /dev/audio /tmp/audio.au /dev/audio -> /tmp/audio.au (root@claire-redfield)~# cp /dev/dsp /tmp/au.au /dev/dsp -> /tmp/au.au (root@claire-redfield)~# cp /dev/dspr0.0 /tmp/audio.au /dev/dspr0.0 -> /tmp/audio.au (root@claire-redfield)~# dmesg | tail -3 pcm0:record:0: record interrupt timeout, channel dead (count: -8, c->flags: 135216) pcm0:record:0: record interrupt timeout, channel dead (count: -8, c->flags: 135216) pcm0:record:0: record interrupt timeout, channel dead (count: -8, c->flags: 135216) (root@claire-redfield)~# grep "over\|under" /dev/sndstat interrupts 0, overruns 0, hfree 256, sfree 131072 interrupts 0, underruns 0, ready 0 interrupts 0, underruns 0, ready 0 interrupts 0, underruns 0, ready 0 interrupts 0, underruns 0, ready 0 I have no idea on whatever should be done. Should I ask -CURRENT? -- Patrick Tracanelli From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 17 23:21:41 2005 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.ORG Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4DE416A41C for ; Fri, 17 Jun 2005 23:21:41 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: from smtp832.mail.sc5.yahoo.com (smtp832.mail.sc5.yahoo.com [66.163.171.19]) by mx1.FreeBSD.org (Postfix) with SMTP id 98D1443D1F for ; Fri, 17 Jun 2005 23:21:41 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 39150 invoked from network); 17 Jun 2005 23:21:41 -0000 Received: from unknown (HELO ?63.198.35.122?) (jinmtb@sbcglobal.net@63.198.35.122 with plain) by smtp832.mail.sc5.yahoo.com with SMTP; 17 Jun 2005 23:21:41 -0000 Message-ID: <42B35B68.7000708@lbl.gov> Date: Fri, 17 Jun 2005 16:23:20 -0700 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.ORG References: <4283E307.2030203@lbl.gov> <20050512232303.GA17086@locust.cns.vt.edu> <428BA4C9.1000306@lbl.gov> In-Reply-To: <428BA4C9.1000306@lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Problem of recording sound on TTOM878A Super FM/TV Tuner Capture Card X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 23:21:41 -0000 One problem was found by using this card for capturing: no sound can be recorded in either TV or FM mode. Sound works fine during real-time play. When using fxtv to save audio into any audio format file (wav, au, aiff ...), the sound file contains mostly 0xFx or 0x00 and some 0x01-0x03. This card is a so-called GENERIC card, which has no manufactory name and no any technical support information. Can anyone tell if this is a detective card, or this is the problem for fxtv (or bktr driver) to deal with this card? Thanks, -Jin > http://www.censuspc.com/cart/product.php?productid=1612&cat=0&page=1 > I bought this card and it works well with fxtv under both FreeBSD 4.11 > and 5.4, > except bktr does not detect its configuration. I need manually to set > the tuner code > > sysctl hw.bt848.tuner=4 # =9 works too > > and everything works. Below is the kernel message. Actually, it has > Conexant fusion 878A chipset: > > bktr_mem: memory holder loaded > bktr0: mem 0xee800000-0xee800fff irq 10 at device 14.0 > on pci0 > bktr0: Card has no configuration EEPROM. Cannot determine card make. > bktr0: Pinnacle/Miro TV, Temic NTSC tuner