Date: Wed, 23 Aug 2000 09:44:11 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Cc: "Jason J. Horton" <jason@intercom.com>, multimedia@FreeBSD.ORG Subject: Re: fxtv and video capture Message-ID: <14755.58171.899430.611090@guru.mired.org> In-Reply-To: <20000823152829.A33979@curry.mchp.siemens.de> References: <Pine.BSF.4.21.0008162357510.18789-100000@kaon.intercom.com> <20000818120015.A16438@curry.mchp.siemens.de> <14755.50996.515946.110558@guru.mired.org> <20000823152829.A33979@curry.mchp.siemens.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Andre Albsmeier writes: > On Wed, 23-Aug-2000 at 07:44:36 -0500, Mike Meyer wrote: > > Andre Albsmeier writes: > > > On Thu, 17-Aug-2000 at 00:06:05 -0400, Jason J. Horton wrote: > > > > I am still having trouble getting fxtv to capture TV and > > > > convert it to MPEG audio and video. I set it to MPEG ready, > > > > capture a chunk of TV, then run the shell script that gets > > > > generated. The video part goes just fine, but converting the > > > > audio fails. Here is an example: > > > > > > > > ======FRAMES READ: 2426 > > > > ::STATUS:: 0 > > > > ::EXEC:: rm /usr/local/video/pbs.param > > > > ::STATUS:: 0 > > > > ::EXEC:: sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff > > > > >>> Using Audio IFF sound file headers > > > > Sound data is not PCM in "/usr/local/video/pbs.aiff". > > > > ::STATUS:: 1 > > > > > > > > Command Failed: > > > > sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff > > > > Conversion Aborted. > > > > > > > > Anyone have any ideas? Is there a better program tha sox for the > > > > conversion? > > > > > > sox is okay. Look at > > > > Sox did what it was told to do. The problem is that mpeg_musicin is a > > finicky consumer of aiff files. I change the intermediate format to > > WAV and it works fine: > > Interesting. I had no problems with AIFF as soon as the format was > correct. Well, correcting the format was the idea of going to WAV. The man page on mpeg_musicin says it accepts AIFF "with certain limitations". Rather than try and figure out what those were, I just used WAV. Not sure why it works, but it does. <mike 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?14755.58171.899430.611090>