From owner-freebsd-multimedia Sat Apr 14 5:24:15 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A93537B496 for ; Sat, 14 Apr 2001 05:24:11 -0700 (PDT) (envelope-from holger@eit.uni-kl.de) Received: from postamt.eit.uni-kl.de (root@postamt.eit.uni-kl.de [131.246.73.100]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id f3ECO2X07389; Sat, 14 Apr 2001 14:24:02 +0200 (MET DST) Received: from ernie.eit.uni-kl.de (fs.eit.uni-kl.de [131.246.12.176]) by postamt.eit.uni-kl.de (8.9.3/8.9.3) with ESMTP id OAA19936; Sat, 14 Apr 2001 14:24:03 +0200 Received: from ernie.eit.uni-kl.de ([131.246.12.176]) by ernie.eit.uni-kl.de (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f3ECOLi18265; Sat, 14 Apr 2001 14:24:21 +0200 X-Authentication-Warning: ernie.eit.uni-kl.de: Host [131.246.12.176] claimed to be ernie.eit.uni-kl.de Date: Sat, 14 Apr 2001 14:24:21 +0200 (CEST) From: Holger Lamm To: aa8vb@nc.rr.com Cc: multimedia@freebsd.org Subject: Fxtv: Video grabbing patch Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm just experimenting with video grabbing by fxtv. Seems that mpegaudio doesn't like sox's AIFF output: (apart from another mpegaudio problem I reported to their maintainer): (20:30) holger@Trinity [/mnt/dos/E/Capture] sox -t raw -s -w -c 2 -r 44100 westernhagen.AUDraw -t aiff -s -w westernhagen.aiff (20:32) holger@Trinity [/mnt/dos/E/Capture] mpeg_musicin -l 2 -p 1 westernhagen.aiff westernhagen.mp2 >>> Using Audio IFF sound file headers Sound data is not PCM in "westernhagen.aiff". [two of the commands the script executes]. I changed the intermediate format from AIFF to WAV and it works. The scripts mentions the sox parameters "-s -w" as "Hack to force 16-bit signed (PCM driver)", but it seems that it doesn't work. Ever had problems with that? Versions are current ports': fxtv 1.03, sox 12.17.1_1, mpegaudio 3.9 Second. If I choose "MPEG 3" as audio output format, mpeg_musicin is also used, which does not support layer 3. Regards, Holger [copy to list & maintainer] --- fxtv_cnvt.sh.orig Wed Apr 11 20:11:59 2001 +++ fxtv_cnvt.sh Wed Apr 11 20:12:25 2001 @@ -181,8 +181,8 @@ # Do we need an intermediate file? if [ $mpeg_enc = YES ]; then - out_soxfn="$out_fnbase.aiff" - out_soxfmt="AIFF" + out_soxfn="$out_fnbase.wav" + out_soxfmt="WAV" else out_soxfn="$GAout_fn" out_soxfmt="$out_fmt" -- Holger Lamm Ev. Krankenhaus Koeln, Weyertal, gGmbH Informationstechnologie Holger.Lamm@evk-koeln.de fon +49/221/479-2006 fax +49/221/479-2323 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message