Flash :: Record / Splice FLV Clips?
Jan 25, 2011
I'm working on an application for a company that wants to create a service for their users. This company currently offers videos that are around 1.5 hours in length, and the service they want to integrate is the ability for the user to 'record' clips of this larger video to create, essentially, a highlight reel. The end result of this service would be a 3 minute video of the user's favorite parts of a huge 1.5 hour long video. Make sense?
For the sake of simplicity in asking my question, imagine the user interaction to be very basic. The user watches the video, he/she can press 'record' to record a clip of the master video. Now... I'm already aware of FLVslicer by Thibault at ByteArray, but I've thought surely there is some other approach to recording / splicing / merging FLV clips than just this guy's framework.
And so finally, my question is: do any of you have insight as to how I might investigate the best way to create this functionality aside from using FLVslicer?
View 2 Replies
Similar Posts:
Dec 11, 2009
Recording audios and trimming them with flash.whats the best way to go 'bout it. Is there any available component that i can use or do i have to create something from the scratch. If I have to build something from the scratch what's best way to go about it?
View 1 Replies
Aug 10, 2011
I'm trying to remove items from an array but its not working like its supposed to.Here is my code:
for(var i:uint = 0;i<OrderModel.getInstance().orders.length; i++){
if (OrderModel.getInstance().orders[i].time == hour){
OrderModel.getInstance().orders.splice(i, 1);[code]....
it deletes all the items but 1. I allways have one item left wich should be deleted but it isnt.
View 2 Replies
Jul 12, 2010
I am trying to replace an Object inside my nested array (colArray) by using splice, the object acts as my player and will need to maneuver around the Array it's in. The Problem is splice doesn't appear to be showing anything in return, it comes up with an error saying: Cannot access a property or method of a null object reference.What am i doing wrong ? And how would i go with moving my playerObject around the array?
var gridContainerMC:MovieClip = new MovieClip();
var gridSize:Array = [col,row]; //Rows, Columns
var gridArray:Array = new Array();
var col:Number = 44;
[code]....
View 2 Replies
Feb 4, 2011
I have an array with many values pushed into it (happen to be names of objects). I am using a for loop to check all of the objects (by index number) for collisions, etc. Periodically, depending on a condition, I want to remove the currently checked object's name from the array list. I noticed that there is a problem if I immediately splice the checked name from the list. Namely, the list gets shorter, which is what I want, but not until I'm done checking all objects. Is it a good idea to solve the issue by incrementing i-- after the splice? I do this so that the object that used to be next in the list doesn't get skipped.It seems to work very well but I want to know if this is a lame/problematic solution and if there are any better ways of dealing with it
for (i=0;i<myarray.length;i++){
var ob=myarray[i]
//any old condition
[code].....
View 7 Replies
Apr 11, 2012
I develop failover fms application with server-side action script. But i have a problem that FMS can't continue to record stream with record mode "append".
Environment: FMS 4.5.1 r484 on CentOS 5.5/6.0
Goals:
I have 2 same data streams in failover application and republish primary to livepkgr application.
I have to store of last 10 hours intact recorded video (DVR).
Failover app logic:
1. I create NetConnection and NetStream to livepackager;
2. When primary stream is connected it attach the primary stream to livePackager NetStream
3. If primary stream is disconnected it reattach the backup stream to livePackager NetStream
Problem: I have testing environment. It stop primary stream every 5 min, and started primary stream 5 min after stopping.
It work's, fine, but after a few hours testing LIVEPACKAGER falls. It can't record a stream, NetStream.Record.Start -> NetStream.Record.NoAccess -> NetStream.Record.Stop
Search a solution: I try to relaunch recording process and have no success. try to shutdown/start livepackager, it's same, try to restart server, same no success.
I cant stream.clear() or record with mode "record" cause it clears my dvr cache, I cant clean stream directory in livepackager application.
[Code]....
View 5 Replies
Aug 2, 2006
where am I wrong trying to remove non integers ?
vergelijk = [undefined, NaN, 1.076, 0.175, more Numbers..]
clean = function () {
for (c=0; c<vergelijk.length; c++) {[code].........
View 4 Replies
Jan 7, 2010
I have been reading a bunch of things to try to understand it but I am currently having some intelligentcy difficulties...
Note: splice() with regards to arrays
View 2 Replies
Jan 13, 2010
If I have an array
[Code]....
Then secondPosition is them temp[5] instead of temp[6]...since one has been removed from the array. I have been writing:
temp.splice(firstPosition,1);
temp.splice(secondPosition-1,1);
I don't think this is right...especially if secondPosition is at the beginning of the the "temp" array (i.e. temp[0]). Is there a way to remove two items at once from an array, if they are not side-by-side??
View 1 Replies
Mar 2, 2011
From what I know the whole idea behind having collection classes is introduce extra wrapper methods which will be handy for developers.
Then why does ArrayCollection in Flex not seem to have some methods that array has.
ArrayCollection does not have a copy, concat, join or splice methods which return a new array so we need to do the copy manually?
View 1 Replies
Jul 17, 2009
Currently my code is this[code]...
What I am trying to do is splice the array at the right time in my code so it will disappear from my array- and the affect would be the returnRandom() function won't return that same item ever again. [url]...
View 4 Replies
May 4, 2010
Is it me or the indexs in the array are not valid after using splice?
Code:
var arr:Array=new Array(3);
arr[0]=porsh;//car objects..not implemented here just for exemple
[code]....
View 3 Replies
Oct 26, 2007
i am loading in and xml file based on the structure below...
[Code]...
So what i am trying to do is to Splice the array into 2 parts, all the question ID's that are A and all that are B for for example are placed into 2 new array's like so:
[Code]...
but i am having problems with the code below trying to splice them and seperate them,
[Code]...
View 4 Replies
Jun 2, 2009
I am working on a basic game in order to practice my AS3 coding skills. The point I am at is that when my enemies (Falling vertically down) touch the bottom of the stage I want to make all enemies in all of my arrays be removed. Now, the code below works perfect for that description of what I want, but it does not remove everything at the same time. Instead it does not remove all of them at the same time, and it's very noticable. As in there is about a 3-4 second gap between when the first dissapears and when the last does.
So will I need to completely optimize my entire project, or is that any way I can do this process that is more efficient? Also what are your thought on just changing all of the enemies y coordinates to -100 or something at first, and then removing them while they are off the stage?
[code]...
View 4 Replies
Sep 30, 2009
have an array that's loosely packed - is there a way to splice (or otherwise cut out) an object from the array?
View 1 Replies
Oct 31, 2006
i am trying to splice a string between line breaks.
I have text called in using load vars and a text file. The text file called in has a few lines:
line one text
line two text
line three text
I would like to be able to splice that string so that i can create a string just using the second line of text.
View 4 Replies
Mar 11, 2009
I am trying to remove an element from an array by using splice like:
Code:
myArray[1].splice(2,1);
This works & finds the element I am looking for but it doesn't really remove the element but it will just insert a blank object instead. Am I doing something wrong here. How would I "really" remove the element, meaning that the Array would become shorter?
View 8 Replies
Jan 19, 2011
I have a video and I want to crop part of it and have it play somewhere else on the screen.
Is there a way to do this, possibly by overriding the draw function of flash.media.Video?
View 4 Replies
May 19, 2011
i get the above error when I try to use splice on this code:[code]I'm not that great at actionscript, do I have to import something for it to work?
View 3 Replies
Oct 18, 2009
is array.splice equal to displaycontainer.removechild?
View 1 Replies
Jan 23, 2010
I have an unordered ever-changing array that looks something like this:
12,23,1,4,11
I just want to basically tell the code to remove a specific item, let's say "23". But since the array is constantly changing length, I can't use splice.I also can't have any gaps, such as "12,,1,4,11". It must return "12,1,4,11".And on a related note, can I then check if this array has the same content of numbers as another array (and do I have to put them both in numeric order before it can perform the check, or doesn't it matter that they're not in the same order, as long as they have the same contents)?
View 8 Replies
Jan 15, 2009
For loop generates clips containing clips. I need to access a specific clip (look_back) within the parent clip generated by the loop. Not sure how to do this.[code]
View 1 Replies
Jan 19, 2011
I want to crop a video and have part of it play somewhere else. Is it possible to do this, possibly by extending Video or MovieClip and changing how it draws?
View 2 Replies
Sep 24, 2009
[Code]....
so my array is longer but u get the point. i want it to whenever i click on any letter, cause they are all on buttons, the one i clicked dissapears. i dont know how to work splice with the "i" variable,
View 3 Replies
Jul 21, 2011
I have a drag and drop game. You listen to a sound for exampl "bread" You proceed to drag that mc to a box. If it is the right object I want to remove that mc and splice the array so it doesn't choose that object anymore. However I have notices two things.
When I splice(0) a specific element - then nothing works. When I splice the cuurent indexed element ie: the last element to get right - it doesn't actually remove it from the array. I have highlighted the key code parts.
[Code]....
View 3 Replies
Jun 22, 2011
Can I record the browser using Adobe Flash? something like screenr.com but only for the tab of my website, is it possible?
obviosuly i would like to record all the screen the user is seeing not only the "space" with flash.
View 1 Replies
Dec 21, 2011
I want to record audio from a Swf file, not mic, not from network just a simple swf file in local filesystem. I use SwfLoader, load into my app, and record by:
[Code]...
View 2 Replies
Jan 28, 2009
I've just upgraded to CS4 from CS3, and the AS3 project I'm working on which was compiling perfectly well in CS3, is now failing to compile because of a variety of errors.I can solve some of them by casting:
ActionScript Code:
// before
if(clip.stage != null)
// after
if(DisplayObject(clip).stage != null)
But I'm failing to solve them on errors regarding Arrays:
ActionScript Code:
// measurements is an array in both cases
measurements = measurements.splice(index, 1);
// 1180: Call to a possibly undefined method splice.
for(var i:int = 0; i < measurements.length; i++)
// 1202: Access of undefined property length in package measurements.
I'm surprised than a fresh install is behaving like this. Is there some setting somewhere I've not enabled?I set the flex sdk path to the same one that I'm using in Flash Develop, but no luck.
View 9 Replies
Sep 11, 2009
I want to record my pc's sound use flash to the FMS,that is, when i play a music by Windows Media Player, I can record the sound to the FMS,anyone has an idea?
View 2 Replies
Jan 28, 2010
ANyone know if it is actually possible to record to the adobe DVRCast application through a browser based flash player and not FMLE?
View 1 Replies