[MPlayer-users] Can't record tv audio

Paulo Cavalcanti promac at gmail.com
Tue Apr 4 23:15:58 CEST 2006


snd-bt87x is back to life in kernel 2.6.16

However, sox still does no work with it. But the command below should work
(hw:2,1 should be changed for the number of your card. In my case the
capture card is my third one).
The sound is mono and not very impressive. But it works.
You can use it to play sound on the TV with mplayer.
For recording, I do not know how to do it without sox. Sorry, ....

*arecord* -D hw:2,1 -r 128000 -f S16_LE -t wav | *aplay

/Paulo Roma.
*
On 4/4/06, Paulo Cavalcanti <promac at gmail.com> wrote:
>
> snd_bt87x is broken in kernels 2.6.13, 2.614, and 2.6.15. They do not
> create /dev/dsp2 or /dev/audio2, although the modules are loaded. In kernel
> 2.6.16 they seem to be back, but I did not test. A guy from the alsa
> project told me that this problem is fixed in alsa 1.0.11.rc3, and will be
> available in kernel 2.6.17.
>
> I had the same problem you are having now with kernel 2.6.15. I upgraded
> mplayer to a recent cvs version (March 25, 2006) and video4linux to a
> snapshot from March 30, 2006, and got the sound back in mplayer.  But in my
> case, if I used kernel 2.6.14 or below, I  had no problem with mplayer
> sound while watching TV. However, my distro is Fedora 4.
>
> If you are compiling the kernel, I think it is easier for you to compile
> just the video4linux modules from Mercurial, and update the modules.
>
>
> /Paulo Roma.
>
> On 4/4/06, Jorge Peixoto de Morais Neto <JorgePeixoto at redecasd.ita.br>
> wrote:
> >
> > I have tried 2.6.14 but it still does not work. Besides, I compiled
> > 2.6.14 with snd_bt87x support built in (not as a module, but built-in) ,
> > and the command  arecord -D hw:2,1 -r 128000 -f S16_LE -t wav | aplay
> > results only in the message
> > ALSA lib pcm_hw.c:1305:(_snd_pcm_hw_open) Invalid value for card
> > arecord: main:544: audio open error: No such device
> > aplay: playback:2006: read error
> >
> > This error message appears with tvtime running or not.
> >
> >
> > Interestingly, there is no mention to snd_bt87x in dmesg ; nor in
> > arecord -l. Is there something wrong?
> >
> >
> > On Tue, 4 Apr 2006 09:12:55 -0300
> > "Paulo Cavalcanti" < promac at gmail.com> wrote:
> >
> > > What kernel are you using?
> > >
> > > bttv (video4linux module) from kernel 2.6.15 has problems, and you
> > will not
> > > have audio in mplayer/mencoder, indeed. Try an older kernel ( 2.6.14),
> > > or update your video4linux modules to a recent snapshot.
> > >
> > > Since I think you read portuguese, you can check the link below where
> > I
> > > explain how to
> > > make a pixelview card work, get vide4linux from Mercurial repositories
> > (
> > > http://linuxtv.org/hg/),
> > > etc...
> > >
> > > http://orion.lcg.ufrj.br/~roma/LCG_computadores.html#captura
> > <http://orion.lcg.ufrj.br/%7Eroma/LCG_computadores.html#captura>
> > >
> > >  /Paulo Roma.
> > >
> > > On 4/4/06, Jorge Peixoto de Morais Neto <JorgePeixoto at redecasd.ita.br>
> > > wrote:
> > > >
> > > > I have a tuner card working perfectly with tvtime, but I can't get
> > audio
> > > > out of it in mplayer or mencoder ; I can only get the picture. I
> > have tried
> > > > different commands like
> > > > "gmplayer -tv driver=v4l2:norm=pal-m:channel=5 tv://". I have
> > already
> > > > googled a lot and would appreciate some help. Some technical
> > information:
> > > > Distro: latest gentoo
> > > > mplayer version: mplayer-1.0.20060217
> > > >
> > > > kernel compiled whithout oss emulation
> > > >
> > > > The card is a Pixelview Playtv (don't know which exact model).
> > Output of
> > > > lspci:
> > > > 00:0b.0 Multimedia video controller: Brooktree Corporation Bt878
> > Video
> > > > Capture (rev 11)
> > > > 00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio
> > Capture
> > > > (rev 11)
> > > > 00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738
> > (rev
> > > > 10)
> > > >
> > > > I use with the module bttv ; the parameters to bttv are "card=37
> > > > tuner=43".
> > > >
> > > > The audio output of the card is connected to the line in of the
> > sound
> > > > card.
> > > > --
> > > > Software is like sex: it is better when it is free. --Linus Torvalds
> > > >
> > > > _______________________________________________
> > > > MPlayer-users mailing list
> > > > MPlayer-users at mplayerhq.hu
> > > > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> > > >
> > > _______________________________________________
> > > MPlayer-users mailing list
> > > MPlayer-users at mplayerhq.hu
> > > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> >
> > --
> > Software is like sex: it is better when it is free. --Linus Torvalds
> >
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >
>
>



More information about the MPlayer-users mailing list