71e6b78625
Sent back to maintainer, but development seems to be dormant right now. Bump version to 1.03nb2.
59 lines
1.6 KiB
Text
59 lines
1.6 KiB
Text
$NetBSD: patch-ag,v 1.4 2002/12/21 11:10:01 wiz Exp $
|
|
|
|
--- fxtv_cnvt.sh.orig Mon Feb 12 22:18:40 2001
|
|
+++ fxtv_cnvt.sh
|
|
@@ -32,7 +32,7 @@
|
|
#VIDEO_TARGET_FPS="30"
|
|
#VIDEO_STREAM="YES"
|
|
#
|
|
-#IMAGE_TARGET_FMT="YUV" # TIFF|PPM|YUV
|
|
+#IMAGE_TARGET_FMT="YUV" # TIFF|PNG|PPM|YUV
|
|
#
|
|
#CLEANUP_TEMP_FILES="YES"
|
|
|
|
@@ -73,6 +73,10 @@ MPEG_ENC_PARAM_STR_TIFF=\
|
|
'BASE_FILE_FORMAT PPM
|
|
INPUT_CONVERT tifftopnm *'
|
|
|
|
+MPEG_ENC_PARAM_STR_PNG=\
|
|
+'BASE_FILE_FORMAT PPM
|
|
+INPUT_CONVERT pngtopnm *'
|
|
+
|
|
MPEG_ENC_PARAM_STR_PPM=\
|
|
'BASE_FILE_FORMAT PPM
|
|
INPUT_CONVERT *'
|
|
@@ -181,8 +185,8 @@ GenAudioPipe() {
|
|
|
|
# Do we need an intermediate file?
|
|
if [ $mpeg_enc = YES ]; then
|
|
- out_soxfn="$out_fnbase.aiff"
|
|
- out_soxfmt="AIFF"
|
|
+ out_soxfn="$out_fnbase.raw"
|
|
+ out_soxfmt="RAW"
|
|
else
|
|
out_soxfn="$GAout_fn"
|
|
out_soxfmt="$out_fmt"
|
|
@@ -258,6 +262,7 @@ WriteMPEGEncodeParamFile() {
|
|
# Write the frame-format specific part
|
|
case $frame_fmt in
|
|
TIFF) str="$MPEG_ENC_PARAM_STR_TIFF";;
|
|
+ PNG) str="$MPEG_ENC_PARAM_STR_PNG";;
|
|
PPM) str="$MPEG_ENC_PARAM_STR_PPM" ;;
|
|
YUV) str="$MPEG_ENC_PARAM_STR_IYUV";;
|
|
esac
|
|
@@ -277,6 +282,7 @@ WriteMPEGEncodeParamFile() {
|
|
base=`basename $out_fnbase`
|
|
case $frame_fmt in
|
|
TIFF) ext="tif";;
|
|
+ PNG) ext="png";;
|
|
PPM) ext="ppm";;
|
|
YUV) ext="yuv";;
|
|
esac
|
|
@@ -321,6 +327,7 @@ CountFrameFiles() {
|
|
|
|
case $frame_fmt in
|
|
TIFF) ext="tif";;
|
|
+ PNG) ext="png";;
|
|
PPM) ext="ppm";;
|
|
YUV) ext="yuv";;
|
|
esac
|