By Date: <-- -->
By Thread: <-- -->

Sound from TV directly over PCI bus (saa7134-alsa?)



Uros Vampl wrote:
> On 2/7/06, Mike Baikov <mike (at) baikov.com> wrote:
> 
>> mike (at) localhost ~ $ LANG="en_US.ISO8859-1" mplayer tv:// -tv
>> driver=v4l2:device=/dev/video0:chanlist=russia:adevice=/dev/dsp2:amode=1:forceaudio:volume=100:immediatemode=0:norm=SECAM
> 
>> [PP] ???????????? ??????? max q = 6.
>> Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
>> AF_pre: 44100Hz/2ch/s16le
>> alsa-init: 1 soundcard found, using: hw:0,0
>> alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
>> Endian
>> AO: [alsa] 48000Hz 2ch s16le (2 bps)
>> Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le...
>> ??? ?c??????...
>> alsa-play: xrun of at least 170.768 msecs. resetting stream,?% 0 4 0%
>> alsa-play: xrun of at least 51.494 msecs. resetting stream?,?% 6 4 0%
>> alsa-play: xrun of at least 316.154 msecs. resetting stream8.4% 16 0 0%
>> alsa-play: xrun of at least 180.196 msecs. resetting stream3.9% 25 0 0%
>> v4l2: 62 frames successfully processed, 11 frames dropped.93.6% 27 0 0%
>> alsa-uninit: pcm closed
> 
> Hi!
> 
> Wow, some crazy audiorate conversions going on there. The solutions I
> can think of are: First and most important, you're missing
> audiorate=32000 in the -tv options. Second try again with
> alsa:adevice=hw.2,0 instead of adevice=/dev/dsp2. Third, add
> -srate=48000 to the mplayer options.
> Also, I would seriously recommend you to switch to mplayer cvs, that
> alone could fix the problems, as mplayer-1.0pre7 is very old.
> 
> Regards,
> Uros
> 
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
> 
Thanks very much, now working fine!

-- 
Mike Baikov <mike at baikov dot com>
GameDot Labs Developer

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list