Albrechts Blog

from time to time I’ll report some stories about software I’m currently using/configuring etc.

Still waiting …

This week our TV (old fashioned PAL device attched to analogue cable TV) crashed. After reading a little bit on that new HDTV and HD Ready and whatever else new devices I’m completely confused. So in the mean time I’m trying to use my TerraTec Cinergy XS USB device (See my HOWTO). The DVB-T part of this USB device works without problems (after following some compile/install steps) — problems occur with the analogue TV part: You’ll get video outut via "xawtv" or "mplayer tv://XY -tv driver=v4l2" immediately, but there is no sound. And if you start to google for a solution, you’ll find many "terratec no sound" reports, but mostly with incomplete or without fixes.

Run first (this is what is missing in most threads):

v4lconf setattr mute 0 

and then run mplayer with audio output as

mplayer tv://XY -tv driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:forceaudio:audiorate=16000

(XY is the channel number, it is assumed that the USB stick is found as second sound card (hw1,0))

or run mplayer without audio 

mplayer tv://XY -tv driver=v4l2

and copy the audio stream with

sox -c 2 -s -w -r 16000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp

to your soundcard, this should also work for xawtv.