Merging Streaming Video
- Started
- Last post
- 7 Responses
- ********
Anyone know if it is possible to take two streams of video and make them appear as one in Flash...
I want to be able to 'scrub' along a timeline, but through using 3 streams back to back?
I'm guessing it is something I'd need to do pre-flash, but not sure!
- maximillion_0
you can with three video objects each receiving different streams, code the interface so the scrubber references each stream and performs a seek() on each.
- ********0
back to back? as in one after the other, or overlayed on top of each other?
- maximillion_0
didnt read back to back - you could do it by calcualting the duration of the three streams and then using this val/100 = 1% of the scrubber movement. knowing at which % each video stops and the next starts would allow you to hide/show the next/previous vid
- in theory, i can't see the meta data being precise enough for that to be seamless though.********
- i agree - seek() is never a precise operation on prog download and the meta duration can be out from the actual durationmaximillion_
- in theory, i can't see the meta data being precise enough for that to be seamless though.
- ********0
yep back to back... i can just see it being a major pull on resources swapping videos in and out.
- maximillion_0
you would need the three video objects and stream them upto the point where the buffer is full (then stop playback for all three and start playback on the first vid) - i think yr right - some systems are going to struggle (depending on video size and quality).
- ********0
hmm... 1280 x 720 and collectively more than 30 mins long :)
- maximillion_0
ouch - lower end systems may struggle - also bandwidth will be an issue if the quality is good.
another way would be to stream one after another, it wouldnt be seamless and you would get a preloader for each new video.