[MPlayer-users] mplayer/mencoder+bsdbt848

José M. Fandiño ati-aiw at fadesa.es
Thu Dec 19 12:51:01 CET 2002


Hello list,

Is possible to use the bsdbt848 driver for TV capture?

I did some test but thet didn't work, I attach the output
of a session, perhaps somebody can tell me what the problem 
is.

thanks,

# mencoder -v -v -tv on:driver=bsdbt848:width=768:height=576:channel=66 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame \
-lameopts cbr:br=64 -vop pp=lb,crop=720:540:24:18 -o output.avi


MEncoder 0.90rc1-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 4)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Reading /home/users/fan/.mplayer/codecs.conf: 44 audio & 110 video codecs
File not found: 'frameno.avi'
Reading config file /home/users/fan/.mplayer/mencoder: No such file or directory
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
success: format: 0  data: 0x0 - 0x0
s->pos=0  newpos=0  new_bufpos=0  buflen=0
Detected TV! ;-)
 name: Brooktree848 Support
 author: Charles Henrich
 comment: in development
Selected norm: pal
Selected channel list: europe-east (including 133 channels)
Requested channel: 66
Selected channel: 66 (freq: 831.250)
Current frequency: 13300 (831.250)
Current frequency: 13300 (831.250)
==> Found video stream: 0
==> Found audio stream: 0
  TV audio: 2 channels, 16 bits, 44100 Hz
START
[V] filefmt:9  fourcc:0x59565955  size:768x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [pp=lb]
[expand] query(Planar YV12) -> 1
[expand] query(Planar I420) -> 1
[expand] query(Planar IYUV) -> 1
Opening video filter: [crop=720:540:24:18]
Crop: 720 x 540, 24 ; 18
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred csp: Packed UYVY)
[PP] Using external postprocessing filter, max q = 6
vo_debug: query(Packed UYVY) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
vo_debug: query(Packed UYVY) returned 0x0 (i=0)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
get_path('codecs.conf') -> '/home/users/fan/.mplayer/codecs.conf'
*** Try to upgrade /home/users/fan/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Can't find codec matching selected -vo and video format 0x59565955!
==========================================================================
Exiting...


----------------------------------------------------

# grep release /home/users/fan/.mplayer/codecs.conf
release 20021016

----------------------------------------------------

X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Rage128 Video Overlay"
    number of ports: 1
    port base: 55
    operations supported: PutVideo PutImage
    supported visuals:
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26

    [snip]

    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

 ---------------------------------------------------------


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 #1: Mon Dec 16 22:52:06 CET 2002
    root at damocles.olimpus:/usr/src/sys/compile/NUCLEO
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (1410.21-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory  = 805224448 (786352K bytes)
config> q
avail memory = 779567104 (761296K bytes)
Preloaded elf kernel "kernel" at 0xc03c9000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03c909c.
Preloaded elf module "splash_bmp.ko" at 0xc03c90ec.
Preloaded elf module "vesa.ko" at 0xc03c9190.
Preloaded splash_image_data "/boot/pantalla.bmp" at 0xc03c922c.
Preloaded elf module "agp.ko" at 0xc03c927c.
netsmb_dev: loaded
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc03ab362 (1000022)
VESA: ATI RAGE128
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1750
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 5046 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xb800-0xb80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <VIA 83C572 USB controller> at 4.3 irq 10
viapropm0: SMBus I/O base at 0xe800
viapropm0: <VIA VT82C686A Power Management Unit> port 0xe800-0xe80f at device 4.4 on pci0
viapropm0: SMBus revision code 0x40
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <VIA VT82C686A> port 0xa000-0xa003,0xa400-0xa403,0xa800-0xa8ff irq 9 at device 4.5 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x9400-0x941f irq 10 at device 9.0 on pci0
ed0: address 00:02:44:17:3a:fa, type NE2000 (16 bit) 
pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 10.0 irq 9
bktr0: <BrookTree 878> mem 0xde000000-0xde000fff irq 10 at device 13.0 on pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
iic0: <I2C general purpose I/O> on iicbus0
iicbus1: <Philips I2C bus> on iicbb0 master-only
iicsmb1: <I2C to SMB bridge> on iicbus1
smbus2: <System Management Bus> on iicsmb1
smb2: <SMBus general purpose I/O> on smbus2
iic1: <I2C general purpose I/O> on iicbus1
smbus3: <System Management Bus> on bti2c0
smb3: <SMBus general purpose I/O> on smbus3
bktr0: AVer Media TV/FM, Philips PAL tuner.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 13.1 irq 10
atapci1: <Promise ATA100 controller> port 0x7800-0x783f,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 mem 0xdb800000-0xdb81ffff irq 9 at device 17.0 on pci0
ata2: at 0x9000 on atapci1
ata3: at 0x8400 on atapci1
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pca0 at port 0x40 on isa0
ad0: 4112MB <SAMSUNG SV0432A 010> [8912/15/63] at ata0-master UDMA33
ad2: 38166MB <ST340823A> [77545/16/63] at ata1-master UDMA100
ad6: 38166MB <ST340810A> [77545/16/63] at ata3-master UDMA100
acd0: CDROM <CD-52X ATAPI> at ata0-slave UDMA33
acd1: DVD-ROM <TOSHIBA DVD-ROM SD-M1612> at ata1-slave UDMA33
acd2: CD-RW <Hewlett-Packard CD-Writer Plus 8100> at ata2-slave PIO3
Mounting root from ufs:/dev/ad0s2a
-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z
------END GEEK CODE BLOCK------




More information about the MPlayer-users mailing list