Roland Scheidegger wrote:
Not sure if this is really ontopic here, but I don't know what would be a better place to post this. I'm having trouble getting NVrec to work. It just doesn't work at all, not capturing a single frame and requiring a kill -9 to end it (The example below uses DIVX4rec, but I have tried all other NVrec programs too, they show exactly the same behaviour except DIVXrec (this one just crashes, but I have the 0.6 version of avifile installed, so not really surprising)). DIVX4rec -o test.avi Starting NVrec.c, version 20011205 (NVrec-20011205). Error opening "/etc/NVrec.conf" Error opening "/home/zak/.NVrec.conf" v4lgen core init - Device /dev/video v4l1 core init - Size: 384x288 from /dev/video v4l1 core init - could not get enough buffers - using copy mode v4l1 core init - got 8 buffers v4l1 core init - emulating 60 buffers v4l1 core init - trying video format YUV420 v4lgen core init - got capable v4l1 device: BT878(Hauppauge (bt878)). oss core init - 44100 bps, 16 bits, mono, from /dev/dsp oss core init - 3528 bytes per frame (128,9) oss core init - 826 buffer frags required of 512 bytes oss core thread - starting! divx4file core init - file: test.avi (384x288) file core init - frame rate is 25.000000 Got DivX bitrate: 910000 nvrec core - not using any sync() method v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 v4l1 core thread - no place to put new data - discarding 0 ... There is no cpu load at all while those errors appear. This is on a a7v133 with an athlon xp, using kernel 2.4.16 (have tried it with 2.4.14 too). I've tried the kernel version of bttv (0.7.83) and 0.7.85 and I even patched the kernel and tried the new version 0.8.31 - didn't change anything. Watching tv (overlay and grabdisplay mode) with xawtv works fine, even recording using xawtv works fine. I got it to work however on another board (bx chipset, celeron566@850) using a very similar software configuration (same kernel, same bttv versions) so I really don't know what's going wrong. Thanks for your help Roland
Could you please send me a pre-compiled binary (to me personally, not the list!) - I think it may be a compiler issue, miscompiling the various volatile structure manipulations...
-justin