[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-multimedia
Subject:    FreeBSD 5.1  TV/FM capturing in console
From:       "Alexander V.Fatykhov" <hightower () mail333 ! com>
Date:       2006-11-23 10:36:22
Message-ID: 0e2601c70eeb$39ab4ea0$a439cc54 () Alex
[Download RAW message or body]

Hello All!

I have TV/FM tuner AverTV on bt878A chipset
I've compuiled kernel with bktr support:

dmesg:
bktr0: <BrookTree 878> mem 0xf7000000-0xf7000fff at device 10.0 on pci2
bktr0: [GIANT-LOCKED]
bktr0: Detected a MSP34255?-?31 at 0x80
bktr0: AVer Media TV/FM, Philips FR1236 SECAM FM tuner, dbx stereo, msp3400c
stereo.

pciconf:

bktr0@pci2:10:0:        class=0x040000 card=0x00031461 chip=0x036e109e
rev=0x11 hdr=0x00
    vendor   = 'Conexant (Was: Brooktree Corp)'
    device   = 'Bt878/Fusion 878A Mediastream Controller'
    class    = multimedia
    subclass = video
none1@pci2:10:1:        class=0x048000 card=0x00031461 chip=0x0878109e
rev=0x11 hdr=0x00
    vendor   = 'Conexant (Was: Brooktree Corp)'
    device   = 'Bt878/Fusion878A Video Capture (Audio Section)'
    class    = multimedia



I can listen radio via  fmio -d bktr -f 100.5 (for example), but I cant
capture video!!!!

# mencoder -tv
driver=bsdbt848:device=/dev/bktr0:input=1:freq=191.25:width=768:height=
576 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts
cbr:br=64 -vop pp=lb,crop=
720:544:24:16 -o output.avi tv://

MEncoder 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

File not found: 'frameno.avi'
Failed to open frameno.avi
START
Forcing audio preload to 0, max pts correction to 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: bsdbt848
 name: Brooktree848 Support
 author: Charles Henrich
 comment: in development
[V] filefmt:9  fourcc:0x59565955  size:768x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [pp=lb]
Opening video filter: [crop w=720 h=544 x=24 y=16]
Crop: 720 x 544, 24 ; 16
==========================================================================
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Packed UYVY to Planar YV12 using MMX2
videocodec: libavcodec (720x544 fourcc=34504d46 [FMP4])
Selected video codec: [rawuyvy] vfm:raw (RAW UYVY)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.

3 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
...
1 duplicate frame(s)!
3 duplicate frame(s)!
1 duplicate frame(s)!

Flushing video frames

CBR audio: 8000 bytes/sec, 209 bytes/block
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Video stream:   37.947 kbit/s  (4743 bps)  size: 14230 bytes  3.000 secs  51
frames
Audio stream:   63.998 kbit/s  (7999 bps)  size: 23823 bytes  2.978 secs 

_______________________________________________
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"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic