$ swfextract spewer.swf
打印:
[-s] 25 Sounds: ID(s) 1, 873-896
所以我跑:
$ 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
并将文件命名为output.adpcm 但是sox无法将其转换为mp3。如何将其转换为mp3 / wav或任何其他“可播放”格式?
答案 0 :(得分:0)
来自https://github.com/alexgirao/adpcm_swf的这个程序adpcm_swf2raw可以完全按照您的意愿执行,您只需要这样:
$ swfextract -s 0883 -o 0883.adpcm Spewer.swf
声音是ADPCM,格式:22050样本/秒,16位,单声道
$ 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
享受!