Hi Guys

It must be the most frequent plainted cry, sorry! If anybody can offer any 
help, guidence or criticism I would be most grateful.

I've spent the last month trying to build a recording system.
Mostly I fail to record audio, although a few times it has worked.
(the identical same record script and from a clean reboot)

Base distro has been ubuntu (latest ie karmic aka 9.10) suse 11.1 and suse 
11.2. Although pulse audio has complicated the matter it does not have a 
definite effect, some times working, sometimes not.

My video in (always works) is a v4l osprey 100 card.
Audio is line in on the sound card.

This is my reference record script:
#!/bin/sh
# strace -o trace /usr/bin/transcode -q 2 \
# -F mpeg4
/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

always aplay /dev/dsp works (I hear the sound)
pulse has been installed and not installed.

The probe of /dev/dsp is always [ok]

My next step is to build transcode and debug (gdb) to see why the audio is not 
recorded.
Any suggestions before that adventure?
Thanks
James

Reply via email to