Date: Wed, 23 Jun 1999 19:39:59 -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: <19990623193959.A1438@ipass.net> In-Reply-To: <199906230526.AAA16220@home.dragondata.com>; from Kevin Day on Wed, Jun 23, 1999 at 12:26:22AM -0500 References: <19990620090207.A1125@ipass.net> <199906230526.AAA16220@home.dragondata.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Day:
|> But to nail it down, capture a clip with "MPEG Ready" as a Target (instead
|> of MPEG).
|> Run the script and save off the output.
|
|Here's what I get..
|
...
|::EXEC:: sox ... && mpeg_musicin ...
|SmpFrqIndex: 0 is not a legal sample rate
|>>> Using Audio IFF sound file headers
|in "/root/myfile.aiff".
Yep. I just captured a clip, installed the FreeBSD mpeg_audio package, and
got the same error.
::EXEC:: sox ... mpeg_musicin -l 2 -p 1 t.raw.aiff t.raw.mp2 && rm t.raw.aiff
SmpFrqIndex: 0 is not a legal sample rate
in "t.raw.aiff".
However if I use the mpeg_musicin exec I compiled on my machine straight
from the mpeg_audio package, it works just fine.
This is the problem I was thinking of. There is/has been something screwy
about the FreeBSD mpeg_audio port for years. It won't swallow an AIFF file
output by sox. Adding a simple -x to sox isn't sufficient to marry them
together either.
Just grab mpeg_audio and build yourself an executable, and you should be
fine. See Appendix A in the fxtv README file for a HOW-TO:
/usr/X11R6/lib/X11/fxtv/README
|> Another thing to try: see what sox thinks of your AIFF file directly.
|>Grab:
|> sox -t aiff /root/whatever/myfile.aiff -t raw -s -w -r 44100 - | \
|> dsp-play -r 44100 -b 16 -c 2
|
|I'm not able to reach that site now, but i'll try again in a little bit. :)
Don't worry about it. It's mpeg_audio that's tripping you up.
|Also, I'm not sure if I mentioned this the first time or not, but Windows
|and QuickTime are able to read the aiff file just fine.
Interesting. So likely the SOX-generated AIFF file is in fact valid, and
mpeg_musicin is just limited in what AIFF formats it'll accept.
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?19990623193959.A1438>
