From owner-freebsd-ports@FreeBSD.ORG Sat Jul 5 17:30:38 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A73237B401 for ; Sat, 5 Jul 2003 17:30:38 -0700 (PDT) Received: from rcooley.dyndns.org (lsanca1-ar17-4-61-193-218.lsanca1.elnk.dsl.genuity.net [4.61.193.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79CDF43FFB for ; Sat, 5 Jul 2003 17:30:37 -0700 (PDT) (envelope-from rcooley@spamcop.net) Received: from spamcop.net (ryan@localhost [127.0.0.1]) by rcooley.dyndns.org (8.12.8/8.12.8) with ESMTP id h660UYeU017757; Sat, 5 Jul 2003 17:30:34 -0700 (PDT) Message-ID: <3F076DA9.2050209@spamcop.net> Date: Sat, 05 Jul 2003 17:30:33 -0700 From: rcooley User-Agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.4b) Gecko/20030604 X-Accept-Language: en-us, en MIME-Version: 1.0 To: riggs@rrr.de Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: FreeBSD Port: MPlayer bsdbt848 tv-in doesn't work X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2003 00:30:38 -0000 I sent this message to freebsd-questions, but didn't recieve any responses at all. I'm having quite a problem trying to get MPlayer to display TV on FreeBSD. I've tried it on 4.7, 4.8, and 5.1, with the exact same results everywhere. When I try to play it, I get nothing but a blue window. When I try to encode/dump it, MPlayer/Mencoder exit with an error of: "Couldn't find matching colorspace - retrying with -vop scale..." "Sorry, selected video_out device is incompatible with this codec." "Can't find codec matching selected -vo and video format 0x59565955!" and "Exiting..." I can assure you that there is no videocard problem. I have tried two different AGP cards (ATI Rage128 and Nvidia GeForce4), and XV, SDL, GL, etc, all work perfectly for anything other than TV-viewing. Besides, a videocard problem wouldn't account for my inability to record/encode. I have /modules/bktr_mem.o and bktr.o loading at startup (/boot/kernel/bktr_mem.o and bktr.o for FreeBSD 5.1), and FXTV works quite well with it. I've had it working fine under a couple different Linux 2.4.xx distros with Mplayer, albeit using v4l, not bktr. On FreeBSD 4.7, I have gone so far as to having written a script that tried every possible combination of "hw.bt848.card=" and "hw.bt848.tuner=", and trying to get mplayer to encode a few seconds of video using each setting. That just leaves me with a buch of 0B output files. The card in question is a K-World "KW-TV878RF-PRO". My DMESG is below. The command-line I typically use to launch mplayer is: "mplayer -tv on:driver=bsdbt848:input=0:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=11", although I've tried plenty of minor variations by now, such as trying all the different "outfmt=" settings, just about every resolution, etc. This is something I really need to be able to do, but this has been quite a stumbling block so far. It doesn't help that every result I find searching through google is someone saying how well MPlayer works at displaying TV (D'oh!). Any help you can offer is appreciated. DMESG for FreeBSD 4.7: Copyright (c) 1992-2002 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 4.7-RELEASE #0: Fri Jul 4 03:11:01 PDT 2003 root@Neptune:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(TM) XP 2000+ (1666.74-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400000 real memory = 268419072 (262128K bytes) avail memory = 253861888 (247912K bytes) Preloaded elf kernel "kernel" at 0xc071b000. Preloaded elf module "linux.ko" at 0xc071b09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f1f10 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 2.0 on pci0 isa0: on isab0 ohci0: mem 0xef000000-0xef000fff irq 9 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ohci1: mem 0xee800000-0xee800fff irq 9 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xb800-0xb80f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x13f6, dev=0x0111) at 5.0 irq 10 pci0: (vendor=0x1102, dev=0x0002) at 9.0 irq 10 pci0: (vendor=0x1102, dev=0x7002) at 9.1 pci0: (vendor=0x109e, dev=0x036e) at 10.0 irq 5 pci0: (vendor=0x109e, dev=0x0878) at 10.1 irq 5 dc0: port 0x9000-0x90ff mem 0xee000000-0xee0003ff irq 9 at device 11.0 on pci0 dc0: Ethernet address: 08:00:08:00:08:00 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci2: on pcib1 orm0: