Date: Fri, 1 Mar 2002 14:13:36 -0600 From: "Mike Meyer" <mwm-dated-1015445617.c83b9f@mired.org> To: Charles Henri-Pierre <Henri-Pierre.Charles@teaser.fr> Cc: multimedia@freebsd.org Subject: Re: Record TV with fxtv Message-ID: <15487.57584.771009.433960@guru.mired.org> In-Reply-To: <20020301210624.A2725@asus.hpc.yi.org> References: <20020301210624.A2725@asus.hpc.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Charles Henri-Pierre <Henri-Pierre.Charles@teaser.fr> types: > Hello, > I try to record TV program with fxtv, the compression fail with this message : > ======FRAMES READ: 54 > ::STATUS:: 0 > ::EXEC:: sox -t raw -s -w -c 2 -r 44100 test.AUDraw -t aiff -s -w test.aiff && > mpeg_musicin -l 2 -p 1 test.aiff test.mp2 > >>> Using Audio IFF sound file headers > Sound data is not PCM in "test.aiff". > ::STATUS:: 1 > > Command Failed: > sox -t raw -s -w -c 2 -r 44100 test.AUDraw -t aiff -s -w test.aiff && > mpeg_musicin -l 2 -p 1 test.aiff test.mp2 > Conversion Aborted. > > Any idea ? Here are my patches to fxtv_cnvt.sh. It fixes this problem. It also changes the bit rate to one suitable for using with VCDs, which is part of the point of recording from the TV for me. Mailing VCDs back and forth beats mailing cassettes or VHS tapes back and forth hollow. <mike ==== //depot/hosts/guru/usr/X11R6/lib/X11/fxtv/fxtv_cnvt.sh#3 - /usr/X11R6/lib/X11/fxtv/fxtv_cnvt.sh ==== @@ -181,8 +181,8 @@ # Do we need an intermediate file? if [ $mpeg_enc = YES ]; then + out_soxfn="$out_fnbase.wav" + out_soxfmt="WAV" - out_soxfn="$out_fnbase.aiff" - out_soxfmt="AIFF" else out_soxfn="$GAout_fn" out_soxfmt="$out_fmt" @@ -200,7 +200,7 @@ # Generate MPEG-2/3 encode pipe if [ $mpeg_enc = YES ]; then if [ $out_fmt = MPEG2 ]; then + cmd="$cmd && $PATH_MPEG_MUSICIN -l 2 -p 1 -b 224 $out_soxfn $GAout_fn" - cmd="$cmd && $PATH_MPEG_MUSICIN -l 2 -p 1 $out_soxfn $GAout_fn" else cmd="$cmd && $PATH_MPEG_MUSICIN -l 3 -p 2 $out_soxfn $GAout_fn" fi -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?15487.57584.771009.433960>