seek(); in an flv

  • Buck Nasty
  • Novice
  • Novice
  • User avatar
  • Joined: Apr 13, 2006
  • Posts: 21
  • Loc: Philadelphia
  • Status: Offline

Post March 14th, 2007, 6:35 am

I recently built an flv player using the gotoandlearn.com tutorials. It works pretty good. The problem that i am having is that i have have buttons that "seek()" to certain points in the movie but not all of them work right. From what i read you just put in the the number of seconds u want it to jump to so if it was 1 1/2 min. u would put myMC.seek(90);. So for some reason it wont go to the right number of seconds on certain ones i set up. and if i add a few seconds or subtract a few seconds it does nothing. If i do, however add or subtract a large amount of seconds from it it will move it to a different point. but not the point i want it to be at. Below I will give some more info about the flv file etc...

I created the flv file using sorenson squeeze. It is the "med Prog" setting that i used.
The framerate was set to 30 fps when converting
The flv is not on a streaming server
I did not use the flv play back component because the player has to be in flash 7.
the player was published flash 7 as 2.0

Anything input will help. I have looked over this several times and have not found anything online that will help me with this issue.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 14th, 2007, 6:35 am

  • classified
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 23, 2005
  • Posts: 540
  • Loc: Bahrain
  • Status: Offline

Post March 14th, 2007, 8:41 am

there are many ways to do it ...

i use flash 8 to encode flv ...
http://www.zainals.com/xperments/Cues/cue.html

that was one of my experments ...

i think i used something like :
Code: [ Select ]
go.onRelease = function ()
{
  var what = dyno.text;
  rtn_obj = vid.findNearestCuePoint(what.toLowerCase());
  vid.seek(rtn_obj.time);
  trace ("Cue point time is: " + rtn_obj.time);
};
  1. go.onRelease = function ()
  2. {
  3.   var what = dyno.text;
  4.   rtn_obj = vid.findNearestCuePoint(what.toLowerCase());
  5.   vid.seek(rtn_obj.time);
  6.   trace ("Cue point time is: " + rtn_obj.time);
  7. };
m0o , where <<Less is More>>
http://www.zainals.com
http://www.zainals.com/blog
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post March 14th, 2007, 8:52 am

I've found it much easier to place cuepoints also when encoding the flv. Then seek to the cuepoints.

http://livedocs.adobe.com/flash/8/main/ ... 03484.html
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Buck Nasty
  • Novice
  • Novice
  • User avatar
  • Joined: Apr 13, 2006
  • Posts: 21
  • Loc: Philadelphia
  • Status: Offline

Post March 14th, 2007, 9:39 am

Cool, Thanks guys, I am gonna give those suggesstions a shot!
  • classified
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 23, 2005
  • Posts: 540
  • Loc: Bahrain
  • Status: Offline

Post March 14th, 2007, 11:16 am

ATNO/TW wrote:
I've found it much easier to place cuepoints also when encoding the flv. Then seek to the cuepoints.

http://livedocs.adobe.com/flash/8/main/ ... 03484.html


yeah i agree , the code i posted earlier involved cue points ...
m0o , where <<Less is More>>
http://www.zainals.com
http://www.zainals.com/blog
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post March 14th, 2007, 10:55 pm

i noticed that behavior to some flv's too. They don't work as expected when you try to seek().
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • classified
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 23, 2005
  • Posts: 540
  • Loc: Bahrain
  • Status: Offline

Post March 15th, 2007, 12:01 am

IceCold wrote:
i noticed that behavior to some flv's too. They don't work as expected when you try to seek().



heya old git ;)
i see you are closing to 1000 posts , pre- congrats ;)
m0o , where <<Less is More>>
http://www.zainals.com
http://www.zainals.com/blog
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post March 15th, 2007, 12:52 pm

no no no, i will stop on 999
then i'll make a new user :D
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • classified
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 23, 2005
  • Posts: 540
  • Loc: Bahrain
  • Status: Offline

Post March 15th, 2007, 1:23 pm

IceCold wrote:
no no no, i will stop on 999
then i'll make a new user :D


god *&^#*$()*@#$# ...
:lol: :lol: :lol:
m0o , where <<Less is More>>
http://www.zainals.com
http://www.zainals.com/blog

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 34 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.