[Red5devs] entry point to recieve raw rgb from camera

Walter Tak walter at waltertak.com
Mon Jul 7 09:42:43 PDT 2008


Have you considered making a bitmap-copy of the video-object on the 
Flash-client and sending that bitmap as an array to Red5 so you can process 
it there the way you would like to ? This will be slower than having the 
player encode the data with Sorenson but might suit your needs...

This is theory but you could try this:

1. define a video-object
2. attach a webcam to the video-object
3. [.draw] the video-object onto a bitmap
4. use [.getPixel32] to convert the bitmap to an array
5. send the array (in steps) to Red5

Regards,
Walter


----- Original Message ----- 
From: "Teemu Keinonen" <tkeinonen at gmail.com>
To: <red5devs at osflash.org>
Sent: Sunday, July 06, 2008 11:08 AM
Subject: Re: [Red5devs] entry point to recieve raw rgb from camera


> The thing is, i want to get RGB data _before_ it's Soerensoned. Is
> this possible?
> I take it that client sends RGB, not ready-made squeezed video, or am i 
> wrong?
>
> On Sat, Jul 5, 2008 at 11:05 PM, Dominick Accattato
> <daccattato at gmail.com> wrote:
>> If you look at the FLV package you can look into the tags that represent 
>> a
>> FLV file.  You should be concerned with the body which has encoded 
>> sorenson
>> data.  You can take that and feed it to FFMpeg.
>>
>> On Fri, Jul 4, 2008 at 6:25 PM, Teemu Keinonen <tkeinonen at gmail.com> 
>> wrote:
>>>
>>> Yes, i'm very familiar with ffmpeg. But what i'm looking for is some
>>> pointers to
>>> where to get the RGB data from to feed to ffmpeg. What
>>> interface/implementation
>>> is the place to start looking/learning from?
>>>
>>> On Sat, Jul 5, 2008 at 12:12 AM, Dominick Accattato
>>> <daccattato at gmail.com> wrote:
>>> > you have to use FFMpeg.  In addition if you are unfamiliar with
>>> > developing
>>> > with FFMpeg, you can always look into professional open source
>>> > development
>>> > and use Infrared5's (www.infrared5.com) consulting services to help
>>> > build
>>> > your project.
>>> >
>>> > On Fri, Jul 4, 2008 at 9:11 AM, Teemu Keinonen <tkeinonen at gmail.com>
>>> > wrote:
>>> >>
>>> >> Hi all and thanks in advance!
>>> >>
>>> >> I want to have access to raw video rgb data recieved from a client
>>> >> publishing camera stream.
>>> >> What is the best place to tap to this data, i'm sure it's available
>>> >> somewhere, at some point?
>>> >>
>>> >> - Teemu Keinonen
>>> >>
>>> >> _______________________________________________
>>> >> Red5devs mailing list
>>> >> Red5devs at osflash.org
>>> >> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>> >
>>> >
>>> >
>>> > --
>>> > Dominick Accattato, CTO
>>> > Infrared5 Inc.
>>> > www.infrared5.com
>>> > _______________________________________________
>>> > Red5devs mailing list
>>> > Red5devs at osflash.org
>>> > http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>> >
>>> >
>>>
>>> _______________________________________________
>>> Red5devs mailing list
>>> Red5devs at osflash.org
>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>
>>
>>
>> --
>> Dominick Accattato, CTO
>> Infrared5 Inc.
>> www.infrared5.com
>> _______________________________________________
>> Red5devs mailing list
>> Red5devs at osflash.org
>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>
>>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.4.6/1538 - Release Date: 7/7/2008 
> 7:40 AM
>
> 


-- 
I am using the free version of SPAMfighter for private users.
It has removed 362 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len





More information about the Red5devs mailing list