Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-26-2008, 09:37 PM   #1
kdittyr
Senior Member
 
Join Date: Jan 2006
Posts: 104
Default Injecting cue points into flv's

Hey, everyone, the company I work for needs the ability to insert cue points at certain points into the 8-9000 videos that we currently have for our website. I have seen a few projects that allow you to inject cue-points, but only allow it to be done one at a time (and no source code). Since we need to put them in at five seconds into the video and ten seconds before the end it seems like it would be a rather simple thing (in theory) that could be made batch-able.

That being said I have scoured the web looking for answers on how to do it... everything seems to point to using a byteArray to load the data, then inject the cue points based on the loaded metadata and then save the new flv, but there is no information that I can find about how to do it.

I know how to create a batchable list and save the files afterward (though haven't tried it with flv's), but I don't know how to use the byteArray. I have URLStreamed an flv and then readBytes them into a byteArray, but I have absolutely no idea what to do from there. I am not at my work computer so I don't have an example of my code, but it was really only about ten lines to do that.

These videos are to be used in a custom player that use the Video, NetStream and NetConnection classes so I don't have access to the addASCuePoint of the FLVPlayback class... unless someone knows how to addASCuePoint into a Video or NetStream object.

Is anyone able to point me in the right direction?
kdittyr is offline   Reply With Quote
Old 04-27-2008, 08:17 AM   #2
evride
2006 Man Of The Year
 
evride's Avatar
 
Join Date: Mar 2007
Posts: 880
Default

i can point you to the AS3 forum.

ActionScript Code:
this_forum.parent.parent.y -=500; //get my drift?
__________________
I've curiosity on my side.

Last edited by evride; 04-27-2008 at 08:22 AM..
evride is offline   Reply With Quote
Old 04-27-2008, 04:06 PM   #3
kdittyr
Senior Member
 
Join Date: Jan 2006
Posts: 104
Default

haha, yes, I chose this forum because I have searched through the as3 forum for the past week and haven't found the answer... and figured that since much of this has to do with AIR I would ask here. I also am not a fan of cross posting, and I know many of you aren't either.
kdittyr is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding AS cue points with for loop, syntax issue? dannyhouk ActionScript 2.0 3 03-03-2008 05:39 PM
FLV AS cue points issue with navigation dannyhouk Components 1 02-26-2008 06:51 PM
FLV's and Embedded Cue Points Hollywood_Dave Flash 8 General Questions 1 09-10-2007 04:32 AM
Cue points and flvs...where did it all go wrong? a2thek26 ActionScript 2.0 0 05-04-2007 03:38 PM
[Flash 8] AS, Cue Points, Navigation and subtitles Plaka ActionScript 2.0 0 02-21-2007 02:21 PM


All times are GMT. The time now is 10:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.