Re: NUVrec with audio at 32000?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

b.

-- 
Brian J. Murrell

Attachment: pgpahgZvS7gON.pgp
Description: PGP signature


[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux