I ran lavrec inside gdb. Here's the result... # gdb lavrec GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -R l -U -v 2 -f a -i S -d 2 -l -1 record%02d.avi Starting program: /usr/local/bin/lavrec -R l -U -v 2 -f a -i S -d 2 -l -1 record%02d.avi Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1211193664 (LWP 7156)] INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: S-Video SECAM INFO: [lavrec] Decimation: 2 INFO: [lavrec] Quality: 50 INFO: [lavrec] Recording time: -1 sec INFO: [lavrec] INFO: [lavrec] MJPEG buffer size: 256 KB INFO: [lavrec] # of MJPEG buffers: 64 INFO: [lavrec] Audio parameters: INFO: [lavrec] Audio sample size: 16 bit INFO: [lavrec] Audio sampling rate: 44100 Hz INFO: [lavrec] Audio is MONO INFO: [lavrec] Audio input recording level: Use mixer setting INFO: [lavrec] Level of correction for Audio/Video synchronization: INFO: [lavrec] Lost frame compensation and frame drop/insert [New Thread -1211196496 (LWP 7159)] --DEBUG: [lavrec] Maximum size per file will be 4193280 MB INFO: [lavrec] Using read(2) system call for capture [New Thread -1220645968 (LWP 7160)] --DEBUG: [lavrec] We weren't even initialized! [Thread -1211196496 (LWP 7159) exited] INFO: [lavrec] Auto detecting input and norm ... **ERROR: [lavrec] Error getting channel info: Invalid argument ++ WARN: [lavrec] Not ready for capture (state = 0)! [New Thread -1229034576 (LWP 7161)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211193664 (LWP 7156)] 0xb7e4b097 in pthread_join () from /lib/tls/libpthread.so.0 (gdb) bt #0 0xb7e4b097 in pthread_join () from /lib/tls/libpthread.so.0 #1 0xb7f1afe1 in lavrec_busy (info=0x3) at liblavrec.c:2518 #2 0x0804b046 in main (argc=1, argv=0xbfa80be4) at lavrec.c:1190 Any idea? :-/ Nicolas. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users