Bernhard Praschinger wrote: > Hallo Hallo! > > So you have tired without audio (-a 0). and as recording size 720x576 ? > You know that the input selection works different for "generic" v4l > cards. So pleas also try other inputs. How the input selections works is > described in the lavrec manpage. > > From the output I would guess that you are not root, please try it once > as root. >
Okay, I tried -a0 and -g 720x576, as root (with sudo), but nothing changes. I also tried all possible PAL input, same results. I don't know why, but I even tried with imput auto detection, and here is the output: $ sudo lavrec -g 768x576 --software-encoding -a0 -d1 -v2 a.avi INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: Auto detect INFO: [lavrec] Decimation: 1 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 disabled --DEBUG: [lavrec] Maximum size per file will be 1739 MB INFO: [lavrec] Auto detecting input and norm ... --DEBUG: [lavrec] Using current input signal settings for non-MJPEG card ^^^^^^^^^ 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] Created 1 software JPEG-encoding process(es) --DEBUG: [lavrec] Queueing frame 0 **ERROR: [lavrec] Error queuing buffers: Invalid argument --DEBUG: [lavrec] Starting software encoding thread Recording time : 0.00.00:00 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors : 000 With input auto detection the "non MJPEG" card hint appears, otherwise not. Below is the output from a similar capture command using transcode. It shows some interesting errors about v4l2, but I cannot interpret them. Anyway, hope this helps you to help me. Best regards. --------------- transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg [transcode] auto-probing source /dev/video0 (failed) [transcode] V: import format | unknown (V=v4l2|A=(null)) [transcode] V: import frame | 768x576 1.33:1 [transcode] V: bits/pixel | 0.181 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x2000 AC3 [48000,16,2] [transcode] A: export format | 0x1 PCM [48000,16,2] 1536 kbps [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7680 (7680.000000) [transcode] A: adjustment | [EMAIL PROTECTED] [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C) tc_memcpy: using sse for memcpy [transcode] V: video buffer | 10 @ 768x576 [import_v4l2.so] v1.3.5 (2005-03-11) (video) v4l2 | (audio) pcm [export_mjpeg.so] v0.0.5 (2003-07-24) (video) Motion JPEG | (audio) MPEG/AC3/PCM[import_v4l2.so]: v4l2 audio grabbing [import_v4l2.so]: v4l2 video grabbing [import_v4l2.so]: resync disabled [import_v4l2.so]: video grabbing, driver = cx8800, card = KWorld DVB-S 100 [import_v4l2.so]: VIDIOC_S_FMT: : Invalid argument [import_v4l2.so]: VIDIOC_S_FMT: : Invalid argument [import_v4l2.so]: Pixel format conversion: UYVY [packed] -> YUV420 [planar] (slow conversion) [import_v4l2.so]: driver does not support setting parameters (ioctl(VIDIOC_S_PARM) returns "Invalid argument") [import_v4l2.so]: checking colour & framerate standards: [NTSC-M] [import_v4l2.so]: receiving 30 frames / sec [import_v4l2.so]: driver does not support cropping (ioctl(VIDIOC_CROPCAP) returns "Invalid argument"), disabled [import_v4l2.so]: 27 buffers available > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: [EMAIL PROTECTED] > www: http://www.lysator.liu.se/~gz/bernhard > > ------------------------------------------------------------------------- > 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 -- 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