Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWFmill Simple rejected 4-bit IMA-ADPCM WAVE file #33

Open
nachanon opened this issue Sep 10, 2015 · 0 comments
Open

SWFmill Simple rejected 4-bit IMA-ADPCM WAVE file #33

nachanon opened this issue Sep 10, 2015 · 0 comments

Comments

@nachanon
Copy link

I have used SWFmill (simple mode) to create a SWF file from 4-bit IMA-ADPCM-encoded RIFF WAVE (.wav) file. As this codec is supported natively in SWF format, it should work.

But instead, SWFmill complained that it does not recognize the codec and its fmt chunk:

$ swfmill simple imaadpcm4play-stereo.xml imaadpcm4play-stereo.lib.swf
Error: Format code in WAVE file is not PCM (17)
Error: fmt_ subchunk size != 16. Is format code PCM?
WARNING: this file is not a valid WAVE file: siren-stereo-imaadpcm4.wav
xmlXPathCompiledEval: evaluation failed
runtime error: element apply-templates
Failed to evaluate the 'select' expression.
$

Test file could be downloaded from http://www.mediafire.com/?09db3whqa5z0kzq
(Run make imaadpcm4play-stereo.lib.swf inside the extracted folder)

The audio file in question is encoded as 44100 Hz 4-bit IMA-ADPCM Stereo.
The SWFmill Simple XML in question is written as follows:

<movie width="320" height="240" framerate="12">
    <background color="#ffffff"/>
    <frame>
        <library>
            <clip id="siren" import="siren-stereo-imaadpcm4.wav"/>
        </library>
    </frame>
</movie>

SWFmill: 0.3.3 (source)
System: Debian GNU/Linux 7.0 Wheezy i386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant