Re: Accessing digital audio? [btaudio, et al.]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Stephen Davies wrote:
> 
> On Tue, 11 Dec 2001, Bill Eldridge wrote:
> 
> > My big question is if I run btaudio as
> > digital, what device(s) can I access to
> > get a mixer or sound in recording.  (I'd
> > like to just have the TV card in my machine
> > without additional sound card).  Or is there
> > another way to access the audio portion of
> > the incoming TV signal (analog or digital).
> 
> If you install (only) digital support, it will still come up on /dev/dsp1
> (for your system).  You must use 32000 sample rate.  There is no mixer.
> 
> Steve


Unfortunately, doing it with dsp1 & 32 does locks up:

[root@localhost driver]# ffmpeg -ad /dev/dsp1 -ab 32 
/var/www/html/test1d2.mpg
Output #0, mpeg, to '/var/www/html/test1d2.mpg':
  Stream #0.0: Video: mpeg1video, 160x128, 25.00 fps, 200 kb/s
  Stream #0.1: Audio: mp2, 44100 Hz, mono, 32 kb/s
Input #0, video_grab_device, from '/dev/video':
  Stream #0.0: Video: rawvideo, yuv420p, 160x128, 25.00 fps
Input #1, audio_device, from '/dev/dsp1':
  Stream #1.0: Audio: pcm_s16le, 32000 Hz, mono, 512 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Press [q] to stop encoding

and then nothing.  Doing it with "analog=1" works.

modules.conf has:

# i2c
alias char-major-89     i2c-dev
options i2c-core        i2c_debug=1
options i2c-algo-bit    bit_test=1
# bttv
alias char-major-81 bttv
alias char-major-81-0   bttv
#above bttv btaudio
options bttv            card=10 radio=1 tuner=5 #bttv_gpio=1
#options bttv            card=10 radio=1 tuner=5 #bttv_gpio=1
#below bttv ymfpci
options tuner           debug=1 type=5
options tvmixer         debug=1
#options btaudio                debug=1 analog=0
#options btaudio                debug=1 analog=0 dsp=1
options btaudio         debug=1 dsp1=1 dsp2=2
options msp3400         debug=2
#below bttv msp3400
options tvaudio         debug=1

(Note that it didn't like "dsp=1" with bttv-0.7.87)
/lib/modules/2.4.8-ac12/kernel/drivers/media/video/btaudio.o: invalid
parameter
parm_dsp
/lib/modules/2.4.8-ac12/kernel/drivers/media/video/btaudio.o: insmod
/lib/modules/2.4.8-ac12/kernel/drivers/media/video/btaudio.o failed
/lib/modules/2.4.8-ac12/kernel/drivers/media/video/btaudio.o: insmod
btaudio failed
)

and:

/sbin/lsmod:
[root@localhost driver]# /sbin/lsmod
Module                  Size  Used by
btaudio                 9744   0  (unused)
tvmixer                 3440   0  (unused)
tvaudio                 9344   1  (autoclean)
bttv                   63408   0
i2c-algo-bit            7072   1  [bttv]
videodev                4608   3  [bttv]
tuner                   8528   1  (autoclean)
i2c-core               12768   0  [tvmixer tvaudio bttv i2c-algo-bit
tuner]
agpgart                22080   0  (unused)


-- 
Bill Eldridge
Radio Free Asia
bill@xxxxxxx





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux