Hi.

This problem/question is really not in the scope of this list. You would be
better served on a generalist flash forum.

That being said, the way you could handle it on the client-side is to expose
a ExternalInterface method to js from Flash which will return you what you
need. When you press the stop button, it invokes the js method and passes
the metadata info.

accessing metadata of a video within Flash:
https://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000267.html

ExternalInterface:
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html
http://www.actionscript.org/resources/articles/638/1/Basics-of-using-the-ExternalInterface/Page1.html


Cheers,
Aran

On Fri, May 21, 2010 at 3:24 PM, rosenblatt <[email protected]> wrote:

> Hi,
>
> I record audio/video using a flex recorder. The recorder is embedded
> into a php page and when/before the page is published, I would want to
> access the recording's metadata (duration, etc) so that I can store it
> separately for preview. This saves the cost of hitting the rtmp
> server.
>
> Ideally, I would like to access this on the client side to minimize
> server load. This eliminates the use of ffmpeg like solutions - which
> anyway wouldn't work because the rtmp server is not shared by the web
> server. I guess since the flv object is still on the client side, I
> should be able to access the metadata before user submits the page.
>
> The most optimal solution would have been to attach a javascript event
> to the record/stop buttons of the flash recorder so that the time of
> recording could have been saved in a hidden variable.
>
> I have no idea how to get this into action. Any pointers will be of
> immense help.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to