Hi,

> Hmm...things you can try:
> 1) Tell pulseaudio not to use the saa7134-alsa soundcard (click on
> sound preferences (top panel, on the right, near the clock) and
> disable saa7134 soundcard).
> 2) Run "cat /proc/asound/card" or "arecord -l" and make sure you're
> using the right device on the MPlayer command line (the
> "adevice=hw.1,0" part).
> 3) Add "audiorate=32000" like this:
> mplayer tv:// -tv
> driver=v4l2:device=/dev/video0:norm=PAL:input=0:alsa:adevice=hw.1,0:amode=1:audiorate=32000:immediatemode=0:chanlist=europe-west

Sound started to work with this command:

mplayer tv:// -tv
driver=v4l2:device=/dev/video0:chanlist=europe-west:alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:volume=100:immediatemode=0:norm=PAL

but after I stopped mythtv-backend ;-)

sudo service mythtv-backend stop

I wasn't thinking that mythtv might be using the same resources.
Things are working better and better with this card. :-)

Sound works (but not that good, some chops) with tvtime also using this command:
arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000  -t
wav - -t alsa hw:0,0
tvtime

I am getting a few: "sox WARN alsa: under-run" but sound works.

Here are the aplay -l and arecord -l, just for the record:
% aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia
CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
2052 drodi...@server ~ % arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 1: Intel ICH - MIC ADC [NVidia
CK804 - MIC ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


> 4) See if MPlayer reports any error with alsa/audio.
>
> Lastly, I think tvtime only works with a patch audio cable (which is
> cable that connects the tv-card "audio out" to the soundcard "line
> in"). So you can try to start tvtime and then run:
>
> arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -
>
> this way you record from the saa7134 audio device and play it back to
> your speakers.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to