Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 14:24:21 +0200 (CEST)
From:      Holger Lamm <holger@eit.uni-kl.de>
To:        aa8vb@nc.rr.com
Cc:        multimedia@freebsd.org
Subject:   Fxtv: Video grabbing patch
Message-ID:  <Pine.LNX.4.21.0104141422360.18258-100000@ernie.eit.uni-kl.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0104141422360.18258-100000>