From owner-freebsd-multimedia Wed Aug 23 7:44:52 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from guru.mired.org (zoom2-129.telepath.com [216.14.2.129]) by hub.freebsd.org (Postfix) with SMTP id DAA3237B422 for ; Wed, 23 Aug 2000 07:44:47 -0700 (PDT) Received: (qmail 95001 invoked by uid 100); 23 Aug 2000 14:44:11 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14755.58171.899430.611090@guru.mired.org> Date: Wed, 23 Aug 2000 09:44:11 -0500 (CDT) To: Andre Albsmeier Cc: "Jason J. Horton" , multimedia@FreeBSD.ORG Subject: Re: fxtv and video capture In-Reply-To: <20000823152829.A33979@curry.mchp.siemens.de> References: <20000818120015.A16438@curry.mchp.siemens.de> <14755.50996.515946.110558@guru.mired.org> <20000823152829.A33979@curry.mchp.siemens.de> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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.