Audio 使用swfextract从swf(游戏)中提取音乐,但无法转换/播放。ADPCM

Audio 使用swfextract从swf(游戏)中提取音乐,但无法转换/播放。ADPCM,audio,flash,Audio,Flash,印刷品: $ swfextract spewer.swf 所以我跑: [-s] 25 Sounds: ID(s) 1, 873-896 并获得名为output.adpcm的文件 但sox无法将其转换为mp3。如何将其转换为mp3/wav或任何其他“可播放”格式 有一个程序adpcm_swf2raw可以做你想做的事情,你只需要这样做: $ swfextract -s 873-896 spewer.swf Sound is ADPCM, format: 22050 samples/sec, 1

印刷品:

$ swfextract spewer.swf
所以我跑:

[-s] 25 Sounds: ID(s) 1, 873-896
并获得名为output.adpcm的文件
但sox无法将其转换为mp3。如何将其转换为mp3/wav或任何其他“可播放”格式

有一个程序adpcm_swf2raw可以做你想做的事情,你只需要这样做:

$ swfextract -s 873-896 spewer.swf 
Sound is ADPCM, format: 22050 samples/sec, 16 bit, mono
(…and so on…)
Sound is ADPCM, format: 22050 samples/sec, 16 bit, mono
声音为ADPCM,格式:22050采样/秒,16位,单声道

$ swfextract -s 0883 -o 0883.adpcm Spewer.swf
享受吧

尝试大胆地打开它(例如,以原始方式导入)。
$ adpcm_swf2raw -i 0883.adpcm -o 0883.raw

$ sox --rate 22050 --channels 1 --bits 16 --encoding signed-integer --endian little --type raw 0883.raw 0883.wav

$ play 0883.wav