請問一個轉檔的 script - Linux

By Dora
at 2008-07-21T23:17
at 2008-07-21T23:17
Table of Contents
讀到第一個 row, mplayer 就停掉了, 出現
No bind found for key 'c'.
[Mixer] No hardware mixing, inserting volume filter.
===== PAUSE =====
按 ctrl-c 得到
MPlayer interrupted by signal 2 in module: pause
怎麼會 pause 呢? 要如何修正?
以下是 script
##############################################################################
a=`TMPDIR=. mktemp`
rm -f $a
mkfifo $a
cat << EOF | while read i; do
rec02.wav 40.5 431.5 a1
rec02.wav 475 461 a2
rec02.wav 938.5 456 a3
EOF
j=(${i[@]})
test ${#j[@]} -ne 4 && continue
lame -t -a --vbr-new -V 9 --nohist $a ${j[3]}.mp3 &
mplayer \
-ao pcm:file=$a \
-ss ${j[1]} \
-endpos ${j[2]} \
${j[0]}
done
rm -f $a
--
No bind found for key 'c'.
[Mixer] No hardware mixing, inserting volume filter.
===== PAUSE =====
按 ctrl-c 得到
MPlayer interrupted by signal 2 in module: pause
怎麼會 pause 呢? 要如何修正?
以下是 script
##############################################################################
a=`TMPDIR=. mktemp`
rm -f $a
mkfifo $a
cat << EOF | while read i; do
rec02.wav 40.5 431.5 a1
rec02.wav 475 461 a2
rec02.wav 938.5 456 a3
EOF
j=(${i[@]})
test ${#j[@]} -ne 4 && continue
lame -t -a --vbr-new -V 9 --nohist $a ${j[3]}.mp3 &
mplayer \
-ao pcm:file=$a \
-ss ${j[1]} \
-endpos ${j[2]} \
${j[0]}
done
rm -f $a
--
Tags:
Linux
All Comments
Related Posts
ubuntu 8.04 玩遊戲時如何切到桌面

By Joe
at 2008-07-21T16:48
at 2008-07-21T16:48
有關webmine安裝問題

By Audriana
at 2008-07-21T15:06
at 2008-07-21T15:06
不同的檔案取相同變數的內容

By Gilbert
at 2008-07-21T14:07
at 2008-07-21T14:07
用學術網路IP 架設 DNS伺服器

By Carol
at 2008-07-21T11:35
at 2008-07-21T11:35
大家應該會覺得很蠢的iptable問題

By Daniel
at 2008-07-20T23:11
at 2008-07-20T23:11