xawtv - wintv-pvr usb2 "can't play audio stream"

Hi all,

I tried to set up my wintv-pvr today by using the how-to on this website:

Set up Hauppauge WinTV-PVR USB2 - openSUSE

I get the error message “cant play audio stream” on the start of xawtv. I tried the troubleshooting methods outlined in the howto to correct the problem but it doesn’t work.

I have only one sound card on the system, sb audigy and it is the only device configured in yast.

In accordance with the instructions I have tried restarting alsa.

Also, lsof shows that the /dev/dsp is not open but it does exist.

Also, sound works fine otherwise.

I have also tried launching xawtv with the dspdev parameter set to /dev/dsp … this also doesn’t help.

Any help that any of you could provide would be appreciated. Assume my knowledge of systems tools is low, so if you need some information let me know how to get it.

thanks.

ran xawtv -debug 255 -hwls

This is xawtv 4.0-pre, running on Linux/x86_64 (2.6.25.20-0.1-default)

probing dvb devices …
open(/dev/dvb/adapter0/frontend0): No such file or directory
open(/dev/dvb/adapter0/frontend0): No such file or directory
open(/dev/dvb/adapter1/frontend0): No such file or directory
open(/dev/dvb/adapter1/frontend0): No such file or directory
open(/dev/dvb/adapter2/frontend0): No such file or directory
open(/dev/dvb/adapter2/frontend0): No such file or directory
open(/dev/dvb/adapter3/frontend0): No such file or directory
open(/dev/dvb/adapter3/frontend0): No such file or directory

probing vbi devices …
open(/dev/vbi0): No such file or directory
open(/dev/vbi1): No such file or directory
open(/dev/vbi2): No such file or directory
open(/dev/vbi3): No such file or directory

probing video devices …
ioctl: VIDIOC_QUERYCAP(driver=“pvrusb2”;card=“WinTV PVR USB2 Model Category 2”;bus_info=“usb 2-4 address 3”;version=0.8.0;capabilities=0x1070011 [VIDEO_CAPTURE,VBI_CAPTURE,TUNER,AUDIO,?,READWRITE]): ok
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
[v4l2] /dev/video0 WinTV PVR USB2 Model Category 2 usb 2-4 address 3
ioctl: VIDIOCGCAP(name=“WinTV PVR USB2 Model Category 2”;type=0x7 [CAPTURE,TUNER,TELETEXT];channels=4;audios=0;maxwidth=720;maxheight=480;minwidth=48;minheight=32): ok
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
[v4l] /dev/video0 WinTV PVR USB2 Model Category 2

probing dsp devices (playback) …
[alsa] plughw:CA0106,0 CA0106 / CA0106
[alsa] plughw:CA0106,1 CA0106 / CA0106
[alsa] plughw:CA0106,2 CA0106 / CA0106
[alsa] plughw:CA0106,3 CA0106 / CA0106
open(/dev/dsp1): No such file or directory
open(/dev/adsp1): No such file or directory
open(/dev/dsp2): No such file or directory
open(/dev/adsp2): No such file or directory
open(/dev/dsp3): No such file or directory
open(/dev/adsp3): No such file or directory
[oss] /dev/dsp /dev/dsp
[oss] /dev/adsp /dev/adsp

probing dsp devices (record) …
open(/dev/dsp1): No such file or directory
open(/dev/adsp1): No such file or directory
open(/dev/dsp2): No such file or directory
open(/dev/adsp2): No such file or directory
open(/dev/dsp3): No such file or directory
open(/dev/adsp3): No such file or directory
[oss] /dev/dsp /dev/dsp
[oss] /dev/adsp /dev/adsp

probing mixers …
[alsa] hw:CA0106 CA0106 /
open(/dev/mixer1): No such file or directory
open(/dev/mixer2): No such file or directory
open(/dev/mixer3): No such file or directory
[oss] /dev/mixer mixer00

more debugging …

xawtv -debug 1

This is xawtv 4.0-pre, running on Linux/x86_64 (2.6.25.20-0.1-default)
looking for available devices
main: init main window…
x11: color depth: 24 bits, 3 bytes - pixmap: 4 bytes
x11: color masks: red=0x00ff0000 green=0x0000ff00 blue=0x000000ff
x11: server byte order: little endian
x11: client byte order: little endian
main: install signal handlers…
main thread [pid=7341]
main: creating windows …
main: mapping main window …
exec: “setfreqtab” “us-cable”
freqtab: us-cable
queue: “setstation” “0”
main: open grabber device…
using: device configuration “WinTV PVR USB2 Model Category 2”:
bus = usb 2-4 address 3
video = /dev/video0
vbi = [unset]
dvb = [unset]
sndrec = [unset, using default]
sndplay = [unset, using default]
mixer = [unset, using default]
control = [unset]
vid-open: trying: v4l2…
v4l2: open
v4l2: init
v4l2: device info:
pvrusb2 0.8.0 / WinTV PVR USB2 Model Category 2 @ usb 2-4 address 3
v4l2: detected ivtv driver
v4l2: supports mpeg transport streams
v4l2: supports mpeg programs streams
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 36
dsp-open: trying: oss…
dsp-open: ok: oss
dsp-open: trying: alsa…
alsa: init dev=“plughw” record=no
alsa: open
alsa: close
dsp-open: ok: alsa
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr choice: norm
queue: “setattr” “norm” “PAL-M”
queue: “setattr” “norm” “NTSC-M”
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr choice: input
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: tuner cap: STEREO LANG1 LANG2
v4l2: tuner rxs: STEREO LANG2
v4l2: tuner cur: MONO
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr choice: audio mode
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: bright
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: contrast
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: color
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: hue
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: volume
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: Balance
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: Bass
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr int FIXME: Treble
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
add attr bool: mute
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
attr_x11_update_ctrl: mute 1 => 0
queue: “setnorm” “NTSC-M”
queue: “setinput” “television”
blit: init
blit: xv: grabbed port 355
blit: xv: 0x32595559 (YUY2) packed [ok: 16 bit YUV 4:2:2 (packed, YUYV)]
blit: xv: 0x32315659 (YV12) planar
blit: xv: 0x59565955 (UYVY) packed [ok: 16 bit YUV 4:2:2 (packed, UYVY)]
blit: xv: 0x30323449 (I420) planar [ok: 12 bit YUV 4:2:0 (planar)]
blit: gl: init [window=0x2400019]
blit: gl: DRI=Yes
blit: gl: texture max size: 4096
main: enter main event loop…
queue_run: enter
qexec: “setstation” “0”
tuning_handler: enter
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
tuning_handler: station=unknown (3) channel=(null) freq=0
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: freq: 61.250
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
tune analog: 61.25 MHz 3 unknown (3)
tuning_handler: exit
qexec: “setattr” “norm” “PAL-M”
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
attr_x11_update_ctrl: norm 3 => 0
qexec: “setattr” “norm” “NTSC-M”
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
attr_x11_update_ctrl: norm 0 => 3
qexec: “setnorm” “NTSC-M”
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
qexec: “setinput” “television”
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
queue_run: exit
property_eh _NET_WM_NAME
property_eh WM_NAME
property_eh _NET_WM_ICON_NAME
property_eh WM_ICON_NAME
property_eh WM_CLASS
property_eh WM_PROTOCOLS
property_eh WM_NORMAL_HINTS
property_eh WM_CLIENT_MACHINE
property_eh WM_LOCALE_NAME
property_eh _NET_WM_PID
property_eh WM_CLIENT_LEADER
property_eh _NET_WM_USER_TIME_WINDOW
property_eh _NET_WM_WINDOW_TYPE
property_eh _NET_WM_SYNC_REQUEST_COUNTER
property_eh WM_NORMAL_HINTS
property_eh WM_HINTS
property_eh _NET_WM_ALLOWED_ACTIONS
property_eh _NET_FRAME_WINDOW
property_eh _NET_WM_ALLOWED_ACTIONS
property_eh _NET_FRAME_EXTENTS
property_eh _NET_WM_DESKTOP
property_eh WM_STATE
property_eh _COMPIZ_WINDOW_DECOR
property_eh _NET_WM_ICON_GEOMETRY
property_eh _NET_WM_NAME
property_eh WM_NAME
property_eh _NET_WM_ICON_NAME
property_eh WM_ICON_NAME
property_eh _XAWTV_STATION
expose_eh
mpeg_loop: enter (0/0)
v4l2: open
ng_dev_open: opened WinTV PVR USB2 Model Category 2 [refcount 1]
v4l2: close
ng_dev_close: closed WinTV PVR USB2 Model Category 2 [refcount 0]
mpeg: 512k file buffer
mpeg: MPEG1 audio, rate 48000
mpeg: MPEG video, 720x480 [ratio=3:4,rate=30000/1001]
blit: gl: extension GL_EXT_bgra is available
blit: gl: extension GL_EXT_bgra is available
convert-in : 720x480 MPEG video
convert-out: 720x480 12 bit YUV 4:2:0 (planar)
video conv [MPEG video] => [12 bit YUV 4:2:0 (planar)]
alsa: open
ng_dev_open: opened plughw [refcount 1]
alsa: close
ng_dev_close: closed plughw [refcount 0]
can’t play audio stream
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 0
mpeg: wip max=1
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 1
mpeg: wip max=2
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 2
mpeg: wip max=3
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 3
mpeg: wip max=4
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 4
mpeg: wip max=5
mpeg: sync: must wait for data
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 5
mpeg: wip max=6
blit: create xvideo buffer 720x480/[12 bit YUV 4:2:0 (planar)] seq 6
mpeg: wip max=7

Hi,

you could try TV-Viewer. This is an application especially designed for TV-cards with a build in hardware mpeg encoder. Be sure to install the latest beta.

Regards