Hi there.

Having problems with a Suse 9.1 machine using the basic hauppage card
(Bt878) capturing audio with my avirec.

Commandline:
avirec -m s -n ntsc -t 7200s -c "DivX ;-) Low-Motion" -a
BitRate=350000 -a KeyFrames=30 -d test.avi -g /dev/video0 -G /dev/dsp
-F 15 -d -b 64

Error (after about 10 seconds of capture):
==> hr:0  rest:27  fnum:147 0x2
==> hr:0  rest:28  fnum:148 0x2
read /dev/dsp: Input/output error
==> hr:0  rest:29  fnum:149 0x2
frame rate for audio: 8000
<Lame MP3 encoder> : Setting bit rate to 8000 (64kbps)
 time: 10 frames: 152 cap drop: 2 enc drop: 0Segmentation fault

If I capture without any audio (-m n), the capture goes fine (but no
audio obviously).

The esound daemon is running (turning it off doesn't change things)
and the soundcard does work and I can use several other apps to view
the TV (with audio).

There are no errors or relevant messages in /var/log/messages or /var/log/boot.*

Is the error misleading?  Is the mp3 encoder just kicking-in after 10
seconds of capture and the lame encoder codec failing or something? 
>From the looks of the error message, avirec can't read from /dev/dsp,
but I'm thinking that it should fail right away instead of waiting for
10 seconds to go by.

I'm using the stock Suse (9.0) build of the avifile stuff and I'm
using the windows_all codec bundle from the mplayer site with the
binaries.tgz.tar from the avifile site extracted over the top of the
windows_all stuff.

Any ideas?

- Steve

-- 
Sent from Steve Webb's gmail account.

_______________________________________________
Avifile mailing list
[email protected]
http://prak.org/mailman/listinfo/avifile

Reply via email to