On Sat, Aug 16, 2008 at 08:17:10PM +0700, John Francis Lee <[EMAIL PROTECTED]>
wrote:
> I have managed to create an swf with audio embedded and it works very
> nicely when loading the file on my computer.
>
> But when I put the file on a web server and load it over the wire I end
> up canceling the link before I see the movie because it takes too long
> to download.
>
> So I need to make a flv movie and have the swf download and show it,
> streaming the data "just in time". At least I think that is how it works.
>
> Is that how it works? And can I do it with swftools?
swftools doesn't have flv support. Instead, use e.g. mencoder:
mencoder file.avi -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames \
-ffourcc FLV1 -oac mp3lame -of lavf -ovc lavc \
-lavcopts vcodec=flv:acodec=mp3:vbitrate=500:abitrate=56
-srate 22050 \
-o file.swf
Greetings
Matthias