[vlc] v4l can't read /dev/dsp with 2.6.17-rc1 kernel

Stone syphyr at gmail.com
Mon Apr 3 22:55:31 CEST 2006


It appears that some changes have been made to the alsa OSS emulation in
2.6.17-rc1 kernels. When I try the following command, I get an error message
from v4l saying, "Invalid argument" when it attempts to read /dev/dsp.  This
works fine with 2.6.16.1 kernels. But, 2.6.17-rc1 seems to have some fixes
in it that I want. I have verified that /dev/dsp exists with the proper
permissions.  There is something else wrong... Thanks.

vlc -vvv v4l:/dev/video0:adev=/dev/dsp:audio=1:norm=ntsc:size=352x240 --sout
'#transcode{vcodec=DIV3,vb=64,acodec=mp3,ab=8,deinterlace}:std{access=http,mux=asf,url=:1234}'


[00000532] v4l demuxer debug: main device=`/dev/video0'
status change: ( new input:
v4l:/dev/video0:adev=/dev/dsp:audio=1:norm=ntsc:size=352x240 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000532] v4l demuxer debug: V4L device dvb 1 channels 0 audios 48 < w <
640 32 < h < 480
[00000532] v4l demuxer debug: setting channel DVB(0) 0 tuners flags=0x0
type=0x2 norm=0x1
[00000532] v4l demuxer debug: v4l device uses brightness: 32896
[00000532] v4l demuxer debug: v4l device uses colour: 33026
[00000532] v4l demuxer debug: v4l device uses hue: 0
[00000532] v4l demuxer debug: v4l device uses contrast: 33026
[00000532] v4l demuxer debug: v4l device uses frame size: 126720
[00000532] v4l demuxer debug: v4l device uses chroma: I420
[00000532] v4l demuxer error: cannot open audio device (Invalid argument)
[00000532] v4l demuxer debug: v4l grabbing started
[00000532] v4l demuxer debug: added new video es I420 352x240
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20060403/5f34a6fb/attachment.html>


More information about the vlc mailing list