Re: [Vnc2swf-users] How to record with audio, and why does it sometimes not work?
Status: Alpha
Brought to you by:
euske
From: Neal H. <nh...@do...> - 2007-09-27 14:32:57
|
This is likely the wrong group for this, because I don't think its a vnc2swf problem -- but just in case anyone has experienced it: At random times, the sound recorder fails to start. I'm using a Fujitsu Lifebook Table, T-4220 (I think). Gutsy Gopher Ubuntu (pre-Beta), with updates faithfully applied every day. 4 lectures a week for 3 weeks, so far. Almost always I have the tablet PC on, in my office. I shut the lid (so it goes into suspend mode), go to lecture, plug in a bunch of stuff, resume from suspend, and restart X (so it sees the projector plugged into VGA; I think you are supposed to be able to do this with xrandr, but haven't tried yet). I run a shell script that basically does: p=/files/local/src/Python/pyvnc2swf-0.9.3/pyvnc2swf/vnc2swf.py rec="rec -c1 -r11025 -u -1 -q $f.wav vol 5 db" x11vnc -viewonly -wait 100 -defer 100 & python $p -n -o $f.swf -r 4 -S "$rec" localhost:0 Every once in a while, I get this in the log file I keep: ... 26/09/2007 13:05:34 Using raw encoding for client 127.0.0.1 ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave rec stio: Failed reading `default': cannot open audio device ... And of course, no sound is recorded. Yesterday, at the start of a lecture, it did this 4 times in succession, and I even rebooted once in between. I gave up, and they get a slient movie (considering yesterdays lecture, that might be a blessing, ;-)) After lecture, suspend tablet, go back to my office, and it works fine. I can't seem to make it fail in my office when I can do something about it. Help! -- Neal Holtz http://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nh...@do... |