Hi, I just bought a DVB-S card which also has an analog input and is perfectly recognized as a v4l2 card. It works with xawtv, though with a slight problem that eventually will be the subject of another post, some day.
I understand, if I'm not much in error, that lavrec should work with v4l and v4l2 cards, only with --software-encoding. But I get this message when I try to do that: $ lavrec --software-encoding -v2 -g 768x576 -i p -f a a.avi INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: BT8x8 1st input PAL INFO: [lavrec] Decimation: 4 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 --DEBUG: [lavrec] Maximum size per file will be 1739 MB INFO: [lavrec] Using mmap(2) system call for capture ++ WARN: [lavrec] Unable to set negative priority for audio thread. ++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could not be enabled. INFO: [lavrec] Auto detecting input and norm ... INFO: [lavrec] Image size will be 768x576, 2 field(s) per buffer INFO: [lavrec] Got 8 YUV-buffers of size 228 KB INFO: [lavrec] Created 64 MJPEG-buffers of size 256 KB INFO: [lavrec] Getting audio ... ++ WARN: [lavrec] Unable to set negative priority for main thread ++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be enabled --DEBUG: [lavrec] Starting software encoding thread --DEBUG: [lavrec] Encoding thread: sleeping for new frames (waiting for frame 0) INFO: [lavrec] Created 1 software JPEG-encoding process(es) --DEBUG: [lavrec] Queueing frame 0 **ERROR: [lavrec] Error queuing buffers: Invalid argument Recording time : 0.00.00:00 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors : 000 I also tried different parameters, but nothing changes. Any hint would be appreciated. Best regards. -- Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users