Hmmm..
Something like:

// VideoObject = {globalStartTime:n, videoLength:n, seekTo:n};
// currentSeekTime = totalVideoLength * seekPercentage;

for (var i:int = 0; i < videoObjArr.length; i++)
{
        var vid: VideoObject = videoObjArr[i] as VideoObject;
        var seekPoint:int = currentSeekTime - vid.globalStartTime;
        
        if (seekPoint > 0 && seekPoint < vid.videoLength)
        {
                vid.seekTo(seekPoint);
        }
        else
        {
                vid.clear();
        }
}
This is off the top of my head... but seems reasonable. You will need to know the total video length, the length of each video and where they start relative to the total length.


Nick Velloff, CTO
MRN, Salt Lake City
[EMAIL PROTECTED]
http://www.velloff.com


On Jul 3, 2007, at 8:45 PM, sunil_gupta20801 wrote:


Hi,

How would you go for a common seekbar in that case? if you have say n flv's
with different or same start time and different or same duration, And
requirement is to seek for say 15 minute in the recorded conference.

I tried and it's very complex logic, but yet it's not working as expected.


Thanks
Sunil



Nick Velloff wrote:

Hey,

I agree that 1 flv would be the best scenareo.
Possible solution:
1. convert the raw flv's to .mov files using a linux video format
utility (i think there are a lot of them)
2. use something like cinelerra (http://heroinewarrior.com/
cinelerra.php3) to create a new video and place the .mov files in the
correct places.

Step 2 would probably be very difficult. Im not even completely sure
the software allows command line editing.

I thought about making a client side player. Perhaps I will make one
in Apollo so they can just enter their account info and their
recorded sessions will appear.



On Jul 3, 2007, at 7:56 PM, sunil_gupta20801 wrote:


Hi,

Even I have the same requirement, I was not able to find the
solution for
that, I generated different flv's for all users in the conference,
and on
client side i have created a Recording player, that dynamically
show the
video windows in the same order it was being recorded, Although the
player
part is not yet complete, I am having dificulties implementing the
common
seekbar.
      it's the best solution if we somehow can get the single flv
out of a
conference for all the users.


Nick Velloff wrote:

I would like to be able to record multiple streams to 1 flv.
Essentially I would like to record a multi user video chat session in which different users join at different times, but what gets produced in the end is one flv file with all of the streams embedded in a grid
like fashion.

I was hoping to  be able to use some tool on Linux or Java to
accomplish this. The trickiest part is the tool would need to be able to insert the various video data at different times, so that it will
sync up.

This may not be possible to automate as I don't know of any command
line video editing tool.

Any thoughts?

Nick


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org



--
View this message in context: http://www.nabble.com/Recording-
splicing-multiple-streams-to-1-flv%2C-possible--
tf4021032.html#a11423726
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org



--
View this message in context: http://www.nabble.com/Recording- splicing-multiple-streams-to-1-flv%2C-possible-- tf4021032.html#a11424066
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to