sh/spcファイル1周期のみwavファイルに変換する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* 回答例 / example [#y2c7694d]
#prism(bash){{{
for f in *.spc; do set -x; ffmpeg -hide_banner -loglevel ...
}}}
** SCPとは? / What is SPC? [#fabf4c69]
- [[SPC - Video Game Music Preservation Foundation Wiki>h...
- [[Home of SNES Music ~ SNESmusic.org>http://snesmusic.o...
* 解説 / explanation [#mc4e0bf4]
- spcファイルの中には、永久にループ再生する前提のものがあ...
Some spc files are supposed to be played in a loop foreve...
-- [[format conversion - SPC to WAV command-line - Ask Ub...
- そこで予めspcファイルのID666タグ情報を利用して1周期の長...
Therefore, the length of one cycle is calculated in advan...
- ID666タグの読み取りは espctag コマンドを利用する
Use the espctag command to read the ID666 tag
整形後 / formatted
#prism(bash){{{
for f in *.spc; do # *.spc ファイル全てに対し...
set -x # デバッグ用(無くても良い...
ffmpeg \
-hide_banner \
-loglevel error \
-y \
-i "$f" \
-t "$(espctag -gnL "$f")" \
"${f%.spc}.wav"
set +x # デバッグ用(無くても良い...
done
}}}
* おまけ / other examples [#e7bee6d6]
spcファイルの冒頭6秒のみmp3に変換、最後の1秒はフェードア...
#prism(bash){{{
command ls *.spc | sed 's/....$//' | xargs -P2 -tI@ ffmpe...
command ls *.wav | sed 's/....$//' | xargs -P2 -tI@ ffmpe...
rm *.wav
}}}
終了行:
* 回答例 / example [#y2c7694d]
#prism(bash){{{
for f in *.spc; do set -x; ffmpeg -hide_banner -loglevel ...
}}}
** SCPとは? / What is SPC? [#fabf4c69]
- [[SPC - Video Game Music Preservation Foundation Wiki>h...
- [[Home of SNES Music ~ SNESmusic.org>http://snesmusic.o...
* 解説 / explanation [#mc4e0bf4]
- spcファイルの中には、永久にループ再生する前提のものがあ...
Some spc files are supposed to be played in a loop foreve...
-- [[format conversion - SPC to WAV command-line - Ask Ub...
- そこで予めspcファイルのID666タグ情報を利用して1周期の長...
Therefore, the length of one cycle is calculated in advan...
- ID666タグの読み取りは espctag コマンドを利用する
Use the espctag command to read the ID666 tag
整形後 / formatted
#prism(bash){{{
for f in *.spc; do # *.spc ファイル全てに対し...
set -x # デバッグ用(無くても良い...
ffmpeg \
-hide_banner \
-loglevel error \
-y \
-i "$f" \
-t "$(espctag -gnL "$f")" \
"${f%.spc}.wav"
set +x # デバッグ用(無くても良い...
done
}}}
* おまけ / other examples [#e7bee6d6]
spcファイルの冒頭6秒のみmp3に変換、最後の1秒はフェードア...
#prism(bash){{{
command ls *.spc | sed 's/....$//' | xargs -P2 -tI@ ffmpe...
command ls *.wav | sed 's/....$//' | xargs -P2 -tI@ ffmpe...
rm *.wav
}}}
ページ名: