Brian J. Murrell wrote: > On Tue, May 14, 2002 at 09:58:34AM +0200, Justin Schoeman wrote: > >>I think you need a newer version of bttv-0.8.x. The G_PARM fix went in >>around 0.8.35... > > > OK, I backported the G_PARM fix back to 0.8.33 because I don't want to > have to get into building my own kernels (I just don't have the time > to get into being a kernel maintainer too -- I will upgrade to the > latest bttv 0.8 when my vendor releases a 2.4.19-pre8 based kernel). > > NUVrec now runs and records but the sound is "accelerated" (i.e. > sounds like Alvin and the Chipmunks) and out of sync. Here is the > output from NUVrec: > > $ v4lctl setstation 15; ./NUVrec -norm NTSC -vr 29.97 -d /dev/dsp1 -r 32000 -o >/video/test.nuv > Starting NVrec.c, version 20020510 (NVrec-20020510). > Error opening "/etc/NVrec.conf" > Error opening "/home/brian/.NVrec.conf" > v4lgen core init - Device /dev/video > v4l2 core init - Size: 384x288 from /dev/video > v4l2 core init - trying format YUV420 > v4l2 core init - frame period 33366700ns > v4l2 core init - got 32 buffers > v4lgen core init - got capable v4l2 device: BT878(ATI TV-Wonder). > oss core init - 32000 bps, 16 bits, stereo, from /dev/dsp1 > oss core init - 4270 bytes per frame (64,10) > oss core init - could not set fragment size - will continue with > default: Invalid argument > oss core init - bps=128000, realbps=128000 > oss core init - 62 buffer frags required of 8192 bytes > file core init - file: /video/test.nuv (384x288) > file core init - frame rate is 29.970000 > oss core thread - starting! > nvrec core - not using any sync() method > NVrec: initial sync - audio: 1021381686744615000 video > 1021381686700620000 (delta 0.043995 secs) > > Keep in mind, I also commented out the code in > nuvfile_core_overrides() that overrides any -r parameters and changes > the value to 44100 -- I just wonder if that's there because the NUV > codec has to have audio sampled at 44100.
Yup. If you comment out trhe code, it will record at 3200, but still play bakc at 44100! (the file format does not specify playback rate) -justin _______________________________________________ Video4linux-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/video4linux-list