This content has been marked as final. Show 5 replies
The streamed flv plays independantly from the framerate of the swf. If you want to control the speed of playback then an option is to embed the flv in a swf and control the framerate of that swf. Then you can even reverse the play.
I will look into this option.
A couple of quick follow up questions, if you dont mind...
1. Are there any other ways of doing this, besides embedding?
2. Is the embedding solution scalable? I worry that it will make downloads slow and inefficient - is that valid?
3. Can you point me to good examples / tutorials on how to embed an flv into an swf?
2. Well, it sure isn't recommended to embed video but if you want to control the speed of the playback... there is really not much else you can do. Maybe I've missed something in a very dark corner on the web, but as far as I know there are no libraries or custom videoplayer that offer these capabilities (I needed reverse play for a project so I've done extensive research, but... maybe someone else has found something)
3. In Flash, upperright corner of the library panel, select New Video, select embed, drag the video instance to the stage.
Thanks again Luigi.
I got it to work !
I'm using flex builder, not Flash, so I had to embed the video another way.
I converted the flv to an SWF using SUPER/ ffmpeg, then used the code below to load the swf. (credit to shadowmint)
It works ! Beware, this only works with *no sound* in the swf. The first time i did it with sound the framerate could not be altered.
Still, this all feels a little hacky to me, so one more question:
4. In your research, did you investigate how easily all this can be done in Silverlight?
(im not yet married to the flash solution, even though the penetration is better..)
Cool. No, I didn't.