Bernhard Praschinger wrote:
> 
> Can you run lavrec in gdb and do a backtrace ? That would help in
> finding the error. Or enable dump files, and do than a backtrace.
> ...

Here is (hopefully) what you asked me for, isn't it?
Best regards.

(gdb) file lavrec
Reading symbols from /opt/bin/lavrec...done.
(gdb) run -v2 -t 3800 -U -w -d2 -q80  -fa %02d.avi
Starting program: /opt/bin/lavrec -v2 -t 3800 -U -w -d2 -q80  -fa %02d.avi
[Thread debugging using libthread_db enabled]
[New Thread -1210648896 (LWP 5379)]
    INFO: [lavrec] Recording parameters:
    INFO: [lavrec] Output format:      AVI
    INFO: [lavrec] Input Source:       Auto detect

    INFO: [lavrec] Decimation:         2
    INFO: [lavrec] Quality:            80
    INFO: [lavrec] Recording time:     3800 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 -1210651728 (LWP 5382)]
--DEBUG: [lavrec] Maximum size per file will be 1739 MB
    INFO: [lavrec] Using read(2) system call for capture
[New Thread -1220105296 (LWP 5383)]
++ WARN: [lavrec] Unable to set negative priority for audio thread.
--DEBUG: [lavrec] We weren't even initialized!
[Thread -1210651728 (LWP 5382) exited]
    INFO: [lavrec] Auto detecting input and norm ...
    INFO: [lavrec] Trying Composite ...
    INFO: [lavrec] Input present: PAL color
    INFO: [lavrec] Trying S-Video ...
    INFO: [lavrec] Input present: PAL color
**ERROR: [lavrec] Input signal on more thn one input source... exiting
[New Thread -1228498000 (LWP 5384)]
[Thread -1228498000 (LWP 5384) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210648896 (LWP 5379)]
0xb7ea612c in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) backtrace
#0  0xb7ea612c in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb7f84dba in lavrec_busy (info=0x3) at liblavrec.c:2537
#2  0x0804ae28 in main (argc=1, argv=0xbfab0744) at lavrec.c:1149
(gdb)


--
Andrea(s)

-------------------------------------------------------------------------
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

Reply via email to