I've been trying to capture with my DC30+ under linux but the card fails to do 
anything.  I've had this card working under windoze for a couple years now, but 
windorks has a really nasty problem of suddenly having the audio 500ms out of sync 
(while windorks goes out to lunch).  I'd rather have this working under linux any day.

My main goal is to set up shell scripts to capture from the command line and then I'll 
dump the video files over the network to another system for processing.  I have no 
interest in TV playback or editing on this box.

(on a quick side note, is it possible to capture audio with the DC30's audio chipset?)

The main error I get from lavrec is:
"Error syncing on a buffer: Timer expired"

Before I get too deep into trouble shooting, I'd like to go over the compile and 
install steps to make sure I'm not missing anything.

This isn't the first time I've tried all this.  The system has had Red Hat 8 and 9 on 
it but is currently running Debian Sarge.  I've also tried this in 2 different 
computers with the same results.  One has that damned VIA chip set y'all hate so much. 
 The current system has an Intel fw82371eb PCI controller, Pentium 2 400, 192megs RAM.

I've gotten my bt878a card to work, but those systems aren't fast enough to do real 
time encoding from a card that only dumps raws.  This is why I want the DC30+ to work.

My DC30+ (although it more matches dc10old or dc30 straight)
PCI Controller:  zr36057
MJPEG Codec:  zr36050
Video Front End:  zr36016
TV Decoder:  vpx3220a
TV Encoder:  adv7176ks

Here are the steps I use from my compile notes.  auto-apt seems to intercept file 
calls to see if the files exist or not before allowing the program to run them.  If 
the file is missing, it will check it's db to see if it has a match.  If it does, it 
will install the missing package before the program is allowed to run it.  From the 
program's point of view, it won't be missing any packages it tries to access.  This is 
really helpful to make sure I don't have a small error that gets lost on the screen.

according to:
http://linux.bytesex.org/v4l2/build.html
kernel 2.6.x already has v4l2 stuff, just activate it.
Zoran drivers claim to be 0.9.5.  Selected as modules.

Used the kernel from kernel.org.  Rebuilt kernel.  Booted into new kernel.

jpeg-mmx-0.1.5.tar.gz
auto-apt run ./configure
auto-apt run make
NO make install (why is this?)

mjpegtools 1.6.2
auto-apt run ./configure --with-jpeg-mmx=/scratch/jpeg-mmx-0.1.5
auto-apt run make
auto-apt run make install
ldconfig (/usr/local/lib already in path)
NO:  mpeg z/alpha, libdv PAL
note:  jpeg-mmx on the command line seems to be ignored in this version.

load modules: (my card matches both, but sticker claims to be "DC30+")
modprobe zr36067 card=0
or
modprobe zr36067 card=3
(both of these give the same results)

On my VIA box: (not currently installed in)
xawtv only shows one field (with the other field being black lines).
comparison:  my bt878a card will show both fields in xawtv.

On the Intel box:
Debian is being a pain again and doesn't want to start X11.  This doesn't overly 
bother me because I want to capture using shell scripts anyway.  Xawtv will load over 
an SSH X11 redirection network connection to another box on my LAN but doesn't show 
anything.  I can't say I'm surprised about this.  DC30+ doesn't share an interrupt on 
this box.

basic lavrec test:
lavrec --format=a --input=n --quality=50 --decimation=2 --audio-bitsize=0 -v2 
test1.mjpeg.avi

I've done other variations of lavrec with the same results:
starts up, hangs immediately, errors out with:
buffer errors
error syncing on a buffer:  timer expired
sometimes:  broken jpeg format

An output avi file of 2k will be created.

------------------------

What am I missing here?  Is it time to copy and paste debugging info in now?

Thanks,
B++



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to