swftools-common
[Top][All Lists]
Advanced

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

Fwd: [Swftools-common] Re: stereo sound(track)


From: Chris Pugh
Subject: Fwd: [Swftools-common] Re: stereo sound(track)
Date: Tue, 13 Jul 2010 04:43:17 +0100

I think you meant that to go to the list Isoef!
As you can see I've taken the loberty of
forwarding it on your behalf. ;o)

Chris.

PS. IMHO.. using attachSound is much neater.





---------- Forwarded message ----------
From: iosif budulai <address@hidden>
Date: 13 July 2010 04:16
Subject: Re: [Swftools-common] Re: stereo sound(track)
To: address@hidden


Hi Russ,

Here is a simple player swfc and actionscript 2.

.flash filename="buttons.swf" fps=24 bbox=900x100 background=grey version=8

.png play "Buttons/play.png"

.png play_r "Buttons/play_r.png"

.png stop "Buttons/stop.png"

.png pause "Buttons/pause.png"

.png gradient "Buttons/gradient.png"

.box back width=85 height=26 line=0 fill=black

.put gradient 10 10

.button bt_play

.show play as=area

.show play as=idle

.show play_r as=hover y=-1

.on_press:

_root.play();

.end

.end

.button bt_stop

.show stop as=area

.show stop as=idle

.show stop as=hover y=-1

.on_press:

_root.stop();

.end

.end

.button bt_pause

.show pause as=area

.show pause as=idle

.show pause as=hover y=-1

.on_press:

_root.pause();

.end

.end

.put bt_play 15 13

.put bt_stop 40 13

.put bt_pause 65 13

.action:

song = new Sound();

song.loadSound("dust.mp3", true);

function play(){

song.start(resume/1000);

};

function stop(){

resume=0;

song.stop();

};

function pause(){

resume=song.position;

song.stop();

};

.end

.end

Hope helps.

Best regards,

Iosif

________________________________
From: Chris Pugh <address@hidden>
To: Russell Lyons <address@hidden>
Cc: address@hidden
Sent: Mon, July 12, 2010 8:30:38 PM
Subject: Re: [Swftools-common] Re: stereo sound(track)

On 13 July 2010 01:07, Russell Lyons <address@hidden> wrote:
> P.S. The soundtrack noise from CS4 was from exporting raw sound; once I
> exported mp3, it was fine. So I have solved my problem by using CS4, but
> that is a huge pain to use. I'd rather use command-line tools, so still
> would like to have my questions answered.
>
> Thanks,
> Russ
>
> On Mon, 12 Jul 2010, Russell Lyons wrote:
>
>> I would like to combine (synchronized) a stereo soundtrack with a swf
>> video.
>> As far as I can tell, .soundtrack is not yet implemented, so I am willing
>> to
>> settle for .sound if necessary. However, when I use that, the result is
>> mono
>> and one channel is very quiet. If I use swfcombine, then there is noise in
>> the background and, even worse, the frame rate (which was 5 and I even
>> tried
>> to force it to stay 5) is changed for the video. (The noise is there even
>> before combining and is produced by ffmpeg in converting from wav; wav2swf
>> produces only mono.)
>>
>> If, on the other hand, I try to use ffmpeg instead to combine my files,
>> then
>> the video swf file cannot be imported since ffmpeg cannot find the codec
>> parameters (even to use ffmpeg, I have to decompress it first with
>> swfcombine, since I don't see how to produce an uncompressed swf using
>> swfc).
>>
>> It sounds like a very simple task that I want to accomplish, but it has
>> turned out very difficult. Even Adobe's CS4 produces noise in the
>> soundtrack.
>>
>> Thanks very much to anyone who can help,
>> Russ

Russ,

Do you really have to combine your soundtrack ( wav/mp3 ) and the video
swf into one large file??  Would it not be better to load/stream/control them
independently?  Might make life a whole lot easier.

You can't mix frame rates in the root movie.  Master takes precedence.

If you'd care show the me and the list exactly what it is you are  trying to do,
then some working examples may well fly back at  you!  ;o)

Regards,


Chris.



reply via email to

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