[MPlayer-users] mencoder sound from alternate source
Chad Granum
granum at sbcglobal.net
Mon Jan 20 01:15:57 CET 2003
I have been using mencoder to rip dvd's and convert rm's to avi's and
all that, it is great. Now I am trying to rip from tv. I get the video
just fine, but the sound will not rip. I hear the sound, it is actually
able to ocme in through 2 sources (internal audio cable, or line in
cable). it will not capture sound. I have tried using alsa, tried
specifying oss device (after alsa-oss emulation) I have the volume and
such set up for alsa like I said I can hear the sound. I tried doing the
bt878 audio driver, it claims i2c registered /dev/dsp2, but when i try
it I get Device not found. I have tried adevice= for alsa but nothing
seems to work for the device id, and I have looked everywhere to find
the device id resulting in failure.
Outputs:
dmesg | grep tv
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips:
tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
i2c-core.o: driver tv card mixer driver registered.
bttv: driver version 0.7.96 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is PCI device 1106:3168 (VIA Technologies, Inc.)
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 00:0c.0, irq: 11, latency: 32, mmio: 0xe3121000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is bd11:1200
bttv0: using: BT878(Pinnacle PCTV Studio/Ra) [card=39,autodetected]
bttv0: i2c attach [client=MSP3451G-A2,ok]
bttv0: i2c attach [client=(unset),ok]
tvmixer: debug: MSP3451G-A2
tvmixer: MSP3451G-A2 (bt848 #0) registered with minor 0
tvmixer: debug: (unset)
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: miro: id=19 tuner=17 radio=fmtuner stereo=yes
bttv0: using tuner=17
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
mencoder -tv
on:driver=v4l:input=0:chanlist=us-cable:norm=NTSC:channel=4:width=640:height=480:forceaudio:alsa
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder CVS-030119-13:18-3.2.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
File not found: 'frameno.avi'
Reading config file /root/.mplayer/mencoder: No such file or directory
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
success: format: 0 data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi <alex at naxine.org>
comment: under development
Selected device: BT878(Pinnacle PCTV Studio/Ra)
Capabilites: capture tuner overlay clipping frameram scales
Device type: 235
Supported sizes: 48x32 => 768x480
Inputs: 3
0: Television: tuner audio tv camera (tuner:1, norm:ntsc)
1: Composite1: audio camera (tuner:0, norm:ntsc)
2: S-Video: audio camera (tuner:0, norm:ntsc)
Using input 'Television'
Selected channel: 4 (freq: 67.250)
[V] filefmt:9 fourcc:0x32315659 size:640x480 fps:29.00 ftime:=0.0345
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 88200->88200 (705.6 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 decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/1ch/16bit ->
44100Hz/1ch/16bit...
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
Pos: 12.4s 373f ( 0%) 28fps Trem: 0min 0mb A-V:0.000 [919:31]]
Writing AVI index...
Fixing AVI header...
Video stream: 919.751 kbit/s (114968 bps) size: 1431165 bytes 12.448
secs 373 frames
Audio stream: 31.850 kbit/s (3981 bps) size: 49504 bytes 12.434
secs
More information about the MPlayer-users
mailing list