Hi John,
Sorry I see you got the same answer I gave ya at the conference. Had another
idea but no clue if it'd work ...loading the flv into a movieclip. (movieclip
has methods for jumping frames) Somehow I don't think the movieclip frames
correlate to the flv itself but maybe it'll spark an idea from someone else
more familiar video.
Cheers,
Stace
import flash.display.MovieClip;
import flash.net.*;
import flash.media.Video;
public class VideoTest extends MovieClip
{
private var videoUrl:String = "http://example.com/test.flv";
public function VideoTest()
{
var connection:NetConnection = new NetConnection();
connection.connect(null);
var stream:NetStream = new NetStream(connection);
var myVideo:Video = new Video(360, 240);
myVideo.attachNetStream(stream);
stream.play(videoUrl);
addChild(myVideo);
}
}
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
john_69_11
Sent: Monday, December 04, 2006 9:26 AM
To: [email protected]
Subject: [flexcoders] Re: flv playback
One of the problems is that I cannot modify the existing flv that I
want to play. You mentioned key frames in this post, I was looking at
the video and netstream objects and I can use those to play an flv,
but they do not seem to have methods to navigate to a specific frame
either. Looking at it again today I noticed the seek method which
says it goes to key frames, are these just the normal frames in a
movie or do you have set those when the video is encoded? Any other
ideas would be welcome
-John
--- In [email protected] <mailto:flexcoders%40yahoogroups.com> , Sönke
Rohde <[EMAIL PROTECTED]> wrote:
>
> Hi John,
>
> You could use CuePoints for this purpose. Encode your video with
navigation
> cuepoints (which sit on keyframes) and you can read out the
CuePoints after
> the FLV is loaded.
>
> Cheers,
> Sönke
>
> > -----Original Message-----
> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>
> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ]
> > On Behalf Of john_69_11
> > Sent: Sunday, December 03, 2006 10:39 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] flv playback
> >
> > I want to be able to play an flv file and provide controls to jump to
> > a specific frame in the flv. Currently i am using the VideoDisplay,
> > but everything it does is based on times (playhead time). I noticed
> > that actionscript 2 had controls such as flvplayback and objects like
> > the videoplayer that provided operations such as these, are there
> > equivalents in actionscript 3? if not does anyone know of
> > another way
> > to do something like this? Thanks for the help,
> >
> > John
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > <http://www.mail-archive.com/flexcoders%40yahoogroups.com>
> > Yahoo! Groups Links
> >
> >
> >
> >
>