All pastes #909507 Raw Edit

Unnamed

public shellscript v1 · immutable
·published 2008-02-19 05:48 UTC
rendered paste body
#!/bin/bashINFILES=( "$@" )yuvstrip (){       read junk       cat       return 0}mkfifo enc.fifoIMGENC_CMD=(ffmpeg -f yuv4mpegpipe -i - -i chantel.wav -shortest -acodec ac3 -ab 224k -ar 48000 -target ntsc-dvd -y out.mpg)"${IMGENC_CMD[@]}" 2>/dev/null < enc.fifo &exec 3> enc.fifofor i in ${!INFILES[@]}; do    ((i==0)) && strip="cat" || strip="yuvstrip"    ffmpeg -i "${INFILES[i]}" -an -f yuv4mpegpipe - | $stripdone >&3