[Red5] Multiple Streams from one Cam
bowljoman at hotmail.com
Fri Nov 9 15:35:21 PST 2007
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
Behalf Of Claudius Ceteras
Sent: Monday, November 19, 2007 12:32 PM
To: red5 at osflash.org
Subject: Re: [Red5] Multiple Streams from one Cam
> Two streams is possible but in only one quality setting at a time.
>but it doesn't really make sense to send two streams with the same
>settings - does it?
No but that's just how it works.
You got some good ideas except for the "then every 5 - 10 seconds record
0.5s to a 2nd stream". Using server side power sounds promising.
You need at least one key frame, but after that you can draw any one of
As soon as I start looking at the video events, or if somebody else will
come clean with a single method to fire, I(we) can provide my(our) own
bytes to send, including logo, picture in picture from multiple cameras,
color key, luma key, palletized, posterized, AND ill do in any codec you
At that point its no problem to create a .net c# application to play it
hmm.... maybe i can do it like this:
One main stream in high quality, then every 5 - 10 seconds record 0.5s
2nd stream which then gets loaded by the others and act as a
preview/thumbnail. I could also extract a screenshot serverside from
recorded stream and scale it down.
The only problem i see is that this will burst bandwidth usage for a
which could be noticeable in the main stream.
But... wouldn't it be possible to do this on the serverside? I think for
red5 the stream isn't just a stream of bytes, but it can chop it in
as far as i know. couldn't i schedule a procedure for every 10 seconds
then copy one second of the current stream to another file? Would this
possible? One second probably wouldn't be neccessary anyway - one frame
would be enough.
i'm not all too much into encoding, but there are full frames and diff
frames which just send differences to the last full frame afaik. Would i
need to wait for a full frame so an one-frame-flv would be enough to use
as a preview/thumbnail? Is this possible? How do i need to approach
> If this was my project, I would solve the problem of new clients by
> requiring all clients to record 5 or 10 seconds of thumbnail
> quality to
> red5 where they identify the stream/name.
this would be great for pron streams where one could create a teaser ;-)
But for this project i really need a somewhat up-to-date thumbnail
burdening the user with thumbnail recordings.
anyways, thanks for your ideas, they helped a lot.
can anyone answer the above questions?
Red5 mailing list
Red5 at osflash.org
More information about the Red5