all groups > flash (macromedia) > october 2004 >
You're in the

flash (macromedia)

group:

Loading progressive SWF video?


Loading progressive SWF video? dazed_confused
10/27/2004 10:26:18 PM
flash (macromedia):
First of all, don't search for it on Google. It isn't there. I did find a few
Single White Females though...

I'm using Sorenson in the Video Kit. When I squeeze the file the sound is
horrible in FLV. It's great in the SWF version though. So, I thought I would
use the SWF. Problem is, I can't figure out a way to play it. None of the media
components work with SWF. I spent a few hours building a nice control for it
only to finally figure out that you can't use loadMovie with a progressive SWF
- the only kind of SWF you can get out of Sorenson.

I would switch to the FLV but the sound sucks and I can't get the video and
audio to match up even when I set the frame rate in Flash to match the 30 fps
of the original video. And the version that comes with the Kit won't let you
change the frame rate so I don't even know what Sorenson is doing to it. All I
know is that if I set the Flash file to 12 FPS the sound runs faster than the
audio. If I set the Flash file to 30 FPS, the Video runs about double speed.

Why the hell did Macromedia abandon the SWF? Why can't I change anything in
Sorenson? If I had paid the $99 for the Video Kit and found out I can't change
any of the settings in Sorenson I would have been pissed. Thank goodness I got
it with Flash.

Anyone have any suggestions on how I can use the SWF? If I just drop it in
Dreamweaver it plays fine but then I don't have any controls. Anyone know how I
can load it and control it?

TIA
Re: Loading progressive SWF video? urami_
10/28/2004 7:02:25 AM


[quoted text, click to view]

I don't believe there is no such thing as progressive SWF , it apply rather to JPEG
format. SWF will be streaming. Anyhow , not that important.
SWF by default is streaming and it does it same or even better than FLV format.


[quoted text, click to view]

just import the video file to SWF main timeline.
It will stream by default as it loads.
You could as well separate video from audio and import
both separately. Set the audio to stream so it keeps up with
the animation. That's pretty much all you need to have streaming video.


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
Re: Loading progressive SWF video? dazed_confused
10/29/2004 9:36:03 PM
urami_* I wish it was that simple. I tried loading the swf into a timeline
and it works fine on the local machine. When I upload to the server, it doesn't
work. I think it has something to do with the progressive SWF that Sorenson
makes. When I just drop it in Dreamweaver it works fine. But I wanted to build
a front end around the video to make it look a little better. What I need to
know is how to do something similar to loadMovie. That's what I've used in
previous versions of Flash. Probelm is, loadMovie won't work with progressive
video. By the way, to anyone following this thread -- I upgraded the Sorenson
Squeeze. Comes with a ton more presets, does MP3 and you can change the
settings. HIGHLY Recommend!
Re: Loading progressive SWF video? urami_
10/30/2004 7:32:48 AM


[quoted text, click to view]

Sorry , i might not be of much help because I don't use Sorenson.
In fact my only tools are QT PRO player :)
What I do is , export video from QT player as separate track from audio.
Than import audio and video to flash on separate layers. Set audio to stream
and that's it. Look how it streams down.
This sample has player and show progressive download and playback progress. Flash MX ,
no fancy components used :
http://www.flashfugitive.com/ang-zhang/video/

--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
Re: Loading progressive SWF video? dazed_confused
10/31/2004 2:38:21 AM
urami_* That's pretty impressive. Is it on some streaming server or is it just
a plain old server? You said you just set it to streaming? How? In Flash?
Last time I tried seperating the audio from the video they got all out of sync.
I like what you did there. I'd like to learn more.... THanks, dazed.
Re: Loading progressive SWF video? urami_
10/31/2004 11:52:22 AM


[quoted text, click to view]

Plain old server .
See, by default flash is a streaming technology . It plays as it loads.
And this apply to all files. In fact most projects have to be force
not to play by using preloaders. Looping files on few frames till is stop caching
in. It will load entirely even if you place stop action on first frame.

To work with file that stream you need to know that there is propel way of arranging it.
You can't have too much heavy content inside movie clips because the file load frame
by frame and if it gets to frame that has lots of data , it will wait till the frame
is loaded and only then proceed to next, possibly causing stream to hold and lose the effect.

A real stream happen only on main timeline. Movie clip with streaming sound on main timeline
will not have such effect , it will be just a movie clip with sound to the player.


I place the video on one layer and audio on another. Under frame properties ( select frame and
hit CTRL F3 to open it) I set the sound to STREAM , it will than generate pretty accurate wave form
on the timeline. The timeline must be as long as the sound length , otherwise the sound will cut
off. Stream is timeline based and it does not run w/o frames like Event sound.
Make sure when you export video from whatever tool, the frame rates are same as the flash , so the
sound. Follow same setting to make sure it will be accurate.

That's really pretty much it. Due to the sound being lower quality it loads pretty fast
w/o need of any Communication Server or FLV (macromedia native video format).


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
AddThis Social Bookmark Button