Date: Sun, 20 Jun 1999 09:02:07 -0400 From: Randall Hopper <aa8vb@ipass.net> To: Kevin Day <toasty@home.dragondata.com> Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: fxtv -> mpeg Message-ID: <19990620090207.A1125@ipass.net> In-Reply-To: <199906200438.XAA08717@home.dragondata.com>; from Kevin Day on Sat, Jun 19, 1999 at 11:38:42PM -0500 References: <199906200438.XAA08717@home.dragondata.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Day: |I tried recording something from fxtv to make an mpeg... i get as far as it |trying to run mpeg_musicin, and i get: | | >>> Using Audio IFF sound file headers | SmpFrqIndex: 0 is not a legal sample rate | in "/root/whatever/myfile.aiff" | |I can play the aiff file in windows just fine... am I doing something wrong? I'm not sure that I've seen this error before, but this may be a byte-order problem. FreeBSD-versions ago, I found I had to rebuild mpeg_audio from scratch to get the byte order so it was compatible with sox and mpeg_encode. But to nail it down, capture a clip with "MPEG Ready" as a Target (instead of MPEG). This'll leave you with raw capture files and a shell script with a .sh extension). Edit the first line of the script, and change "#!/bin/sh" to " "#!/bin/sh -x". Now, it'll print what its doing, and you can see which command is griping. Run the script and save off the output. E.g.: go.sh >& OUT (csh/tcsh), or go.sh > OUT 2>&1 (sh/ksh/bash) See what you find. Also, check your audio capture format. If you're not, try using Stereo 16-bit 44.1KHz. Another thing to try: see what sox thinks of your AIFF file directly. Grab: wget http://www.ipass.net/~dbhopper/aa8vb/dsp-recplay.tgz compile, then play: sox -t aiff /root/whatever/myfile.aiff -t raw -s -w -r 44100 - | \ dsp-play -r 44100 -b 16 -c 2 Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990620090207.A1125>