From owner-freebsd-multimedia Sun Jun 20 6: 0:34 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 6A7BA14E73 for ; Sun, 20 Jun 1999 06:00:30 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-3-58.dialup.rdu.ipass.net [209.170.134.58]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id JAA29155; Sun, 20 Jun 1999 09:00:27 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id JAA01451; Sun, 20 Jun 1999 09:02:07 -0400 (EDT) (envelope-from rhh) Date: Sun, 20 Jun 1999 09:02:07 -0400 From: Randall Hopper To: Kevin Day Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: fxtv -> mpeg Message-ID: <19990620090207.A1125@ipass.net> References: <199906200438.XAA08717@home.dragondata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199906200438.XAA08717@home.dragondata.com>; from Kevin Day on Sat, Jun 19, 1999 at 11:38:42PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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