Hi
if anybody can offer words of wisdom to escape the firepit, gratitude and 
virtual beers will rain on you ...

I need to record some v4l video with an audio feed. I do this:
#!/bin/sh
/usr/bin/transcode -q 2 \
 -x v4l2 \
 -g 640x480 \
 -i /dev/video0 \
 -p /dev/dsp \
 -N 0x1 \
 -Q 5 \
 -w 1000 \
 -y ffmpeg,tcaud \
 -F mjpeg \
 -o /home/jam/recording.avi

I had a mother board that would not accept the audio input. I changed the MB, 
made sure I was stopping transcode with sigterm not with sigkill (avidemux 
chokes on faulty index avi files) and finally had *everything* working 
perfectly.

reboot

disaster, no audio. No matter what I do, no audio (pasuspend, padsp, no pulse)
distro was ubuntu karmic.

rm -fr .pulse
ha ha you should be so lucky, no change !

I install (actually dual boot) SuSE 11.1 and lo and behold SOUND plays. So no 
hardware issues are present.
Actually the problem with S11.1 is that the hardware gets configured to output 
/dev/dsp input to the speakers. When I record I play my recording with mplayer 
with a 1 sec delay. I can hear both streams 1 sec apart. The mplayer solution 
works better than the resample options that I've tried (to monitor what's 
being recorded)

So after 3 months of buggering around I'm back in the starting box. <sigh>
All I want to do is record my /dev/video0 and /dev/dsp. Any distro, pulse, no 
pulse (the single nice pulse feature is a VU meter while recording) anything, 
anybody please <sob>
James

Reply via email to