swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] how to play .wav file from swf button


From: Norman Khine
Subject: Re: [Swftools-common] how to play .wav file from swf button
Date: Tue, 7 Apr 2009 16:43:11 +0200

On Tue, Apr 7, 2009 at 4:06 PM, Matthias Kramm <address@hidden> wrote:
> On Sun, Apr 05, 2009 at 06:53:17PM +0200, Norman Khine <address@hidden> wrote:
>> Don't think so, how can i check?
>
> Try
>    ldd /usr/local/bin/wav2swf
> to see whether it's linked against LAME.

# Here the output for OSX

$ otool -L /usr/local/bin/wav2swf
/usr/local/bin/wav2swf:
        /sw/lib/libmp3lame.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /sw/lib/libgif.4.dylib (compatibility version 6.0.0, current
version 6.6.0)
        /sw/lib/libjpeg.62.dylib (compatibility version 63.0.0,
current version 63.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.1.10)
        /sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility
version 10.0.0, current version 10.19.0)
        
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
(compatibility version 1.0.0, current version 18.0.0)
        
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
(compatibility version 1.0.0, current version 22.0.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)


> Also, in the source, in lib/modules/swfsound.c, could you change
>
> #ifdef HAVE_LAME
> #define HAVE_SOUND
>
> to
>
> #ifndef HAVE_LAME
> #error "No mp3 support"
> #endif
> #ifdef HAVE_LAME
> #define HAVE_SOUND
>
> and recompile?

Done, after I recompiled, I got this error:

$ wav2swf tfp45.wav -o tfp45.swf
strange error flushing buffer ...


>
>> Also, I have the same error on my gentoo server and SWFTools was
>> simply emerged once.
>>
>> # emerge -av media-gfx/swftools
>>
>> These are the packages that would be merged, in order:
>
> Could you try a
>    ldd /usr/bin/wav2swf
> here too?
# ldd /usr/local/bin/wav2swf
        linux-gate.so.1 =>  (0xffffe000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7fb3000)
        libz.so.1 => /lib/libz.so.1 (0xb7fa0000)
        libm.so.6 => /lib/libm.so.6 (0xb7f7a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7efa000)
        libc.so.6 => /lib/libc.so.6 (0xb7dca000)
        /lib/ld-linux.so.2 (0xb7fd9000)


>
> Matthias
>
>
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]