[Red5] Flash Player 10

Tyler Kocheran rfkrocktk at gmail.com
Thu Oct 16 12:11:57 PDT 2008


Is there Red5 serverside support for reading FP10 Vector types? What are AS3
Vectors read as? ArrayLists?

On Wed, Oct 15, 2008 at 11:23 AM, Andy Shaules <bowljoman at hotmail.com>wrote:

>
> You likely need to parse the payload data inside the audio tag to get these
> values.
>
> you may have to do some math to fill it out, or look up the codec docs and
> figure the hardcoded stuff.
>
> From what I understand, flv is only a wrapper, and the endpoint for the
> codec data, get no flv info, but parses it from the payload. much like aac
> and vp6.
>
>
> ----- Original Message -----
> *From:* Steven Woolley <woobert at gmail.com>
> *To:* red5 at osflash.org
> *Sent:* Wednesday, October 15, 2008 8:52 AM
> *Subject:* Re: [Red5] Flash Player 10
>
> To be more specific about what's needed (hopefully all that's needed) to
> get the speex out of the .flv and into an ogg container using ffmpeg:
>
> ogg/speex requires a header per the spec:
>           Field        Type   Size
> ---------------------------------------
>       speex_string     char[]   8
>      speex_version     char[]  20
>    speex_version_id     int     4
>       header_size       int     4
>            rate         int     4
>           mode          int     4
> mode_bitstream_version  int     4
>       nb_channels       int     4
>           bitrate       int     4
>        frame_size       int     4
>            vbr          int     4
>   frames_per_packet     int     4
>      extra_headers      int     4
>         reserved1       int     4
>         reserved2       int     4
>
> The question is whether this is in the flv, or if some of it is, and some of it is just constants that need to be hardcoded.  This was the latest response from the bug report I filed for ffmpeg:
>
> https://roundup.mplayerhq.hu/roundup/ffmpeg/issue608
>
> Who here knows the .flv container well enough to help out on this?
>
>
> On Wed, Oct 15, 2008 at 10:32 AM, Steven Woolley <woobert at gmail.com>wrote:
>
>>
>>
>>   This makes me come to the question :
>>> 1/ Is red5 supporting streaming using speex ?
>>>
>>
>> Search the list for a previous thread on this.  Red5 already "supports"
>> speex, in that you can record a stream from a microphone that has set the
>> codec to Speex.  You can stream it back to the player as well, since red5
>> doesn't care about what's really in there.  HOWEVER (and this is frustrating
>> me to no end!) you can't do anything with the speex, I've found no way to
>> actually extract the speex stream from the resulting .flv.  ffmpeg can't do
>> it, mplayer can't do it, red5 can't do it, and Adobe a) hasn't updated the
>> flv format docs for 10 (http://www.adobe.com/devnet/flv/), b) hasn't
>> responded to any email or bug report queries and c) hasn't posted anything
>> about how to extract the speex audio stream (even using their own FMS!).
>>
>>
>>
>>>
>>> 2/ If yes, then do you really think that it is going to improve audio
>>> streaming and audio communication ?
>>>
>>
>> I think it will, for 2 reasons.  It automatically deals with audio level
>> recognition (you can set the voice activity detection level in flash to 0,
>> meaning a constant recording stream and the codec only sends enough data to
>> say "nothing's being recorded now").  Secondly, there are no licensing costs
>> for using it!  That means you don't have to pay nelly moser some
>> extortionary cost just to get your recorded audio out of the stream (ie, if
>> you want to process it or convert it to another format for another type of
>> player), assuming the issues above are ever resolved.
>>
>> So, someone who's more in the know on this, please lets get this resolved!
>>  According to the responses to the feature requests I've posted to the VLC
>> and ffmpeg and mplayer, we're missing some "extra information" needed to put
>> the speex audio stream in an ogg container so something useful can be done
>> with it.  That info is presumably in the .flv but, afaik, no one knows
>> where!
>>
>> I'm more than willing to help with this, but I'm out of leads.
>>
>> Anyone have any ideas?
>>
>>
>  ------------------------------
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20081016/350c054e/attachment.html 


More information about the Red5 mailing list