Brian J. Murrell wrote:
On Mon, May 13, 2002 at 09:06:26AM +0200, Justin Schoeman wrote:
Just tag "-r 32000" to your command line.
That was what I thought too, but this function:
void nuvfile_core_overrides(char **args)
{
nvcore_add_arg(args, "-b");
nvcore_add_arg(args, "16");
nvcore_add_arg(args, "-r");
nvcore_add_arg(args, "44100");
nvcore_add_arg(args, "-s");
return;
}
overrides the -r 32000 on the command line if I am not misreading the
source, no?
Oops - I forgot about that! NuppelVideo is hardcoded to 44100 sps - it
is a file format limitation.
If you start recording early, it will be OK - the audio stretcher should
match the desired stream rate within a few 10s of seconds... (It will
sound a bit odd at the start though.)
Anybody want to write some code to precalculate the stretch factor when
the sound card can't give the desired rate? ;-)
-justin