Hi Bernhard,
Which CPU do you have ?
Do video programms like xawtv work ?
Which input do you want to use ?
What does really work ?
What is the output of lavrec ?
Sorry for being unclear: capturing (with lavrec) works perfectly for me,
the only thing that bothers me is the limited buffer size that
heavily limits the bitrate in full resolution capturing.
(Just for the records, I am using a PIII 1GHz, 512MB RAM, and capturing
using composite input)
have you tried recording with a bigger buffer size ?
You mean with the -b switch? Yes, I tried that, but lavrec still reports
a buffer of 128KB, here's a part of the output.
lavrec -f a -i p -d 1 -q 100 -t 10 -w -m -v 1 -a 0 -l 0 -b 512 rec.avi
INFO: [lavrec] Recording parameters:
INFO: [lavrec] Output format: AVI
INFO: [lavrec] Input Source: Composite PAL
INFO: [lavrec] Decimation: 1
INFO: [lavrec] Quality: 100
INFO: [lavrec] Recording time: 10 sec
INFO: [lavrec]
INFO: [lavrec] MJPEG buffer size: 512 KB
INFO: [lavrec] # of MJPEG buffers: 64
INFO: [lavrec] Audio disabled
INFO: [lavrec] Auto detecting input and norm ...
INFO: [lavrec] Image size will be 768x576, 2 field(s) per buffer
INFO: [lavrec] Got 32 buffers of size 128 KB
The resulting file is about 27MB, a way too small.
Hmm, that seems to be a problem with the chipset. I never had a Intel
chipset the last 7 years. That problem was with the DC10. It might not
be a problem with the DC30.
So you might try to change that in the zoran driver, search for Natoma,
you should fined something like that:
if (pci_pci_problems & PCIPCI_NATOMA && zr->revision <= 1) {
zr->jpg_buffers.need_contiguous = 1;
dprintk(1,
KERN_INFO
"%s: ZR36057/Natoma bug, max. MJPEG buffer size is 128K\n",
ZR_DEVNAME(zr));
}
remove at least the zr->jpg_buffers... line than this limit should not
be there. But I don't know what happen when you try to record with a
bigger buffer size.
Nice, that seems to work. lavrec now reports a buffer size of 512KB and
the captured file is around 84MB in size and seems to play without
artifacts or crashes (or whatever would happen). I think this should
prove that the bug is not existant here, right? Great help, thanks a
lot! :-)
I'm just wondering a bit at the file size, as written above the recorded
file is 84MB (250 frames or 10 s, no audio). The maximum bitrate that
can be selected in the windows driver of the dc30 are 7100KB/s which
would lead to a 70MB file (theoretical and practical).
So does the linux driver allow a higher bitrate or is it just some kind
of overhead (20% seems too much) in the file?
mplayer says:
VIDEO: [MJPG] 768x576 24bpp 25.000 fps 70653.1 kbps (8624.6 kbyte/s)
Thanks for your help so far!
Regards,
Malte
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users