After some failed attempts to get a dc-20 working, I want to give it a
try with a dc-30. :-)
I have a 2.6.14.2 kernel with alsa. The device is working with xawtv.
But when I try to record with lavrec it segfaults:
/usr/bin/lavrec -f a -i P -d 2 test.avi
**ERROR: [lavrec] Error initializing Audio: Audio task died. Reason:
Error mapping audio buffer - Input/output error
++ WARN: [lavrec] Not ready for capture (state = 0)!
Segmentation fault
When I add the -U option I get this error:
/usr/bin/lavrec -f a -i P -d 2 -U test.avi
++ WARN: [lavrec] Unable to set negative priority for audio thread.
++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could
not be enabled.
**ERROR: [lavrec] Error reading audio: Audio task died. Reason: Error
Sound driver returned partial fragment!
- Input/output error
Segmentation fault
Here is some gdb information:
(gdb) run -f a -d 2 -U test.avi
Starting program: /usr/bin/lavrec -f a -d 2 -U test.avi
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1210644816 (LWP 11850)]
[New Thread -1210647632 (LWP 11853)]
[New Thread -1220101200 (LWP 11854)]
[Thread -1210647632 (LWP 11853) exited]
++ WARN: [lavrec] Unable to set negative priority for audio thread.
++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could
not be enabled.
**ERROR: [lavrec] Input signal on more thn one input source... exiting
++ WARN: [lavrec] Not ready for capture (state = 0)!
[New Thread -1228493904 (LWP 11855)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210644816 (LWP 11850)]
0xb7e99197 in pthread_join () from /lib/libpthread.so.0
(gdb) bt
#0 0xb7e99197 in pthread_join () from /lib/libpthread.so.0
#1 0xb7f23101 in lavrec_busy (info=0x3) at liblavrec.c:2537
#2 0x0804af10 in ?? ()
(gdb)
I also tried to record sound with record, and this works fine.
Any idea?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users