This content has been marked as final. Show 5 replies
I still cannot solve this problem. i cannot find any documentation about using FLV's directly ont he main timeline without an FLVPlayback controller.
When I tried using the FLV playback controller I found that it wouldnt load my FLV. Neither by changing the component property of contentPath() or using actionscript.
I really need to get this sort or my whole concept and work will be scrapped or I will have to have at least twice the filesize in images.
From testing the b/w using the graphs I noticed that when I reach the frame of my loop that sends the mc.timeline back to the start of the loop the flash is stalling. It stalls so much I can read that it stalls on frame 119 and occassionally frame 118. there is a pause of around 6-800 milliseconds then it moves the playhead.
Anyone used flv on the timeline run into this problem and knows a solution I would be most grateful.
this problem has to have a solution :(
heres the story so far.
Ive done what is said above and ive since gone and made a test.fla to completely understand the entire process of manipulating flv's.
I have my file streaming in no problem when viewed on my webserver.
My only problem is I cannot get it to seek using any methods.
I have the extensions for the FLVPlayer installed but as the code is is in the manual anyway I have been using my own code on the timeline.
I have a debug window showing me when it reads a cuepoint, what metadata is received, what state the movie is in and every other bit of information I need.
It doesnt ever report back that it is in a streaming state.
My only conclusion at this time is that maybe I need to create it as a netStream object even whilst using the FLVPlayer (rendering it rather useless imho).
Im going to go test the netStream method right now but if any of you can come up with any ideas id appreciate it greatly as this problem has held me back for a couple of days now.
It sounds like you are embedding the movie in the timeline. If it has sound this will eventually lose sync, especially if you jump around on the timeline. I don't get why your video has a loop in the middle, but it sounds like something that should be added manually in something like Premiere. Post an example if you want more help, but its the holidays so I may not check back for a bit.
thanks for reply.
I have remade this 4 times now.
version 1: jpegs on the timeline. no lag when looping. code worked fine. filesize 3.2mb
version 2: FLV file embed into the document. 6-800ms lag when seeking back. code works fine. filesize 1.3mb
version 3: FLV loaded into an FLVPlayer Component. everything works fine apart from seek. seek listener never fires.
version 4: FLV loaded with NetConnection(); everything works find apart from seek. seek listener never fires.
I have remade the flv to contain more keyframes with no joy.
My code is pasted here.
FLVPlayer component code
An example is here.
I dont have a listener on the dynamic text that acts as the status_txt so you will have to scroll yourself.
Please excuse my lack of a buffer or anything. reload the page if it stops at an angle. its on my todo list.
Click the movie to start it rotating once its got into position and paused.
Instead of returning to the previous cuepoints or seeking back when using seek() directly it simply doesnt. it carries on even tho it finds the cuepoint.
Really need help to get past this already lengthy hurdle.