vsound woes

Discuss Applications
Post Reply
User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

vsound woes

Post by Calum » Fri Sep 07, 2007 6:39 am

vsound on fedora 6.

vsound has always been more or less functional for me in the past, but now does not work no matter what i do. I have tried installing several different rpms of it before realising it's simply a bash script and a library. here's what the script looks like: http://www.vsound.org//vsound

Here's how vsound works: http://www.vsound.org/how.php

this is a little beyond me, i'm afraid, simple though it looks.

basically i want it to record audio from a program to a file. here's the command and the error:
[calum@harvey ~]$ /usr/bin/vsound --timing -d vlc http://www.dandelionradio.com/DandelionRadio.asx
About to start the application. The output will not be available
until the application exits.
VLC media player 0.8.6c Janus

(.:5851): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed

(.:5851): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
[00000377] access_http access: Raw-audio server found, mp3 demuxer selected
[00000314] main playlist: stopping playback
Missing file ./vsound5850.au.
This means that the libvsound wrapper did not work correctlty.
Here are some the possible reasons :
- You are trying to record a stream (RTSP or PNM protocol) from
the internet. You will need to use the --timing option.
- The program you are trying to run is setuid. You will need to
run vsound as root.
- Vsound was not properly installed and hence won't work at all.
Now a couple of things, vlc does play this fine on its own (though mplayer doesn't, even when you sort out the stupid IPv6 thing), however one thing i note is that running this command without the -d flag still results in the sound coming out through /dev/dsp which i don't think should happen. Whatever i do, i can't make vsound create the .au file in the first place, that it will then use to create the wav file. Also, that error message is useless! totally nonhelpful.

As far as i can see, and this is a guess at best, but i think vsound is not able to arrest the sound on its way to /dev/dsp and so does not start to create an output .au file in the first place. Does this have something to do with the overridden functions in that library?

help please! how can i make vsound work?

Tux
guru
guru
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Post by Tux » Fri Sep 07, 2007 11:58 am

You sure VLC is trying to use OSS and not ALSA?

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Fri Sep 07, 2007 3:26 pm

i am actually sure it is using alsa.

Should it only work using oss? if so, should i have seen that in the script, and since everything (to my knowledge) uses alsa, how can i sort vlc out to use oss? i suppose it must be in an rc file, i haven't looked for it yet.

thanks for the comment, i have a new direction to go down now!


edit: by the way, tux, hello! i feel like it's been ages since i spoke to you online!

Post Reply