Sorry I did not read all of your mail as carefully as I should, but you
may need to use your mixer to turn on recording for the line in.

in kmix its the red button - there is one per channel.


On Sun, 19 Sep 2004 22:26:23 +0200
"rg.tmp" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I am desperately trying to grab audio from TV, but nothing works. I am a
> *not so young* Unix sysadmin, but I don't know much about multimedia.
> Could somebody at least help me in finding clues ?
> 
> Tell me if I am not posting on the right list. Generally, I can find
> solutions on my own or with Google, but here I really don't now where to
> search ...
> 
> here are my technical configuration and tests :
> 
> (shortly)
> Mandrake 10 on i686
> kernel 2.6.3-16mdk
> bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
> 
> the PCTV audio output is connected through an external wire to the audio
> line-input (on the motherboard)
> 
> (all tests performed without sound server, but starting artsd does not
> seem to change anything)
> 
> every TV viewer works (i.e., I can see and hear the TV within a window):
> xawtv, xawdecode, zapping, tvtime and mplayer
> 
> If I try to grab TV, I succeed in grabbing the video, but never the
> audio : tools used :
> ffmpeg
> xawdecode
> mplayer
> 
> I read somewhere that the module btaudio could help : I loaded it with
> modprobe, but I still did not get the sound.
> 
> When I discovered lavrec (one hour ago) here is what I got :
> 
> [EMAIL PROTECTED] ~/tmp]$ lavrec tst.avi
> **ERROR: [lavrec] Error initializing Audio: Audio task died. Reason:
> Error setting mono/stereo
> ++ WARN: [lavrec] Not ready for capture (state = 0)!
> Press enter to start recording>Segmentation fault
> 
> [EMAIL PROTECTED] ~/tmp]$ lavrec -v 2 -R l -U tst.avi
>    INFO: [lavrec] Recording parameters:
>    INFO: [lavrec] Output format:      AVI
>    INFO: [lavrec] Input Source:       Auto detect
> 
>    INFO: [lavrec] Decimation:         4
>    INFO: [lavrec] Quality:            50
>    INFO: [lavrec] Recording time:     -1 sec
>    INFO: [lavrec]  
>    INFO: [lavrec] MJPEG buffer size:  256 KB
>    INFO: [lavrec] # of MJPEG buffers: 64
>    INFO: [lavrec] Audio parameters:
>    INFO: [lavrec] Audio sample size:           16 bit
>    INFO: [lavrec] Audio sampling rate:         44100 Hz
>    INFO: [lavrec] Audio is MONO
>    INFO: [lavrec] Audio input recording level: Use mixer setting
>    INFO: [lavrec] Level of correction for Audio/Video synchronization:
>    INFO: [lavrec] Lost frame compensation and frame drop/insert
> --DEBUG: [lavrec] Maximum size per file will be 1739 MB
>    INFO: [lavrec] Using read(2) system call for capture
> **ERROR: [lavrec] Error initializing Audio: Audio task died. Reason:
> Error setting mono/stereo
> ++ WARN: [lavrec] Not ready for capture (state = 0)!
> Press enter to start recording>Segmentation fault
> 
> 
> Now, may the output of testec be of help ? (with or without btaudio
> loaded)
> 
> [EMAIL PROTECTED] ~/tmp]$ testrec -R l
> 
> Audio parameters:
> 
> Audio sample size:           16 bit
> Audio sampling rate:         44100 Hz
> Audio is MONO
> Audio input recording level: 100 %
> Don't mute audio output during recording
> Recording source: l
> 
> Error: Error initializing Audio
> Error: audio sample size not 8 or 16
> 
> [EMAIL PROTECTED] ~/tmp]$ testrec -a 8 -R l
> 
> Audio parameters:
> 
> Audio sample size:           8 bit
> Audio sampling rate:         44100 Hz
> Audio is MONO
> Audio input recording level: 100 %
> Don't mute audio output during recording
> Recording source: l
> 
> Error: Error initializing Audio
> Error: audio sample size not 8 or 16
> 
> 
> 
> here is the full dmesg listing from bttv :
> 
> bttv: driver version 0.9.12 loaded
> bttv: using 4 buffers with 2080k (520 pages) each for capture
> bttv: Bt8xx card found (0).
> PCI: Found IRQ 5 for device 0000:02:09.0
> PCI: Sharing IRQ 5 with 0000:00:1f.3
> PCI: Sharing IRQ 5 with 0000:00:1f.5
> PCI: Sharing IRQ 5 with 0000:02:09.1
> bttv0: Bt878 (rev 17) at 0000:02:09.0, irq: 5, latency: 32, mmio:
> 0xe0000000
> bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
> bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
> bttv0: gpio: en=00000000, out=00000000 in=00fff3ff [init]
> bttv0: i2c: checking for MSP34xx @ 0x80... not found
> bttv0: pinnacle/mt: id=4 info="PAL+SECAM / mono" radio=no
> bttv0: using tuner=33
> bttv0: i2c: checking for MSP34xx @ 0x80... not found
> bttv0: i2c: checking for TDA9875 @ 0xb0... not found
> bttv0: i2c: checking for TDA7432 @ 0x8a... not found
> tvaudio: TV audio decoder + audio/video mux driver
> tvaudio: known chips:
> tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 
> (PV951),ta8874z
> tda9887: chip found @ 0x86
> tuner: chip found @ 0xc0
> tuner: type set to 33 (MT20xx universal)
> tuner: microtune: companycode=4d54 part=04 rev=04
> tuner: microtune MT2032 found, OK
> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: PLL: 28636363 => 35468950 .. ok
> 
> my sound chipset is ICH2 810 Chipset AC'97 Audio Controller : trying to
> configure artsd, it does not seem to support full-duplex (following a
> suggestion of the mplayer doc) I don't know whether it can be important
> ...
> 
> I perfomed all these tests using the sound card OSS driver - I changed
> to the Alsa driver (and rebooted), now artsd can be set to full-duplex,
> but I still cannot grab the audio, and testrec still outputs the same
> error ...
> 
> I hope that somebody could lead me towards the solution ...
> 
> Robert
> 

-- 
Nick Rout <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to