Video creation by using flex as frontend

Hi friends I am Very new to flex I am Here To know the creation of video by using flex as front end.
I using .net is for business logic.
My Requirement is I have A button in front end when i click on my button i have to start capturing of my computer screen like a video.After I click stop button recording will be stoped .
And Another requirement is I have to stored that video in database which is in sqlserver.
i using adobeflexbuilder 3
Please Guide Me With Proper code

Hi
Please go through the documentation in SE37 for the FM.. It is very clear on how you need to work on this BAPI. It is given with examples.
Regards,
Vishwa.

Similar Messages

  • Create Screen Capture / Video Capture / Screencast using Flex?

    Hi there,
    Has there been any update to this conversation: http://forums.adobe.com/thread/420807
    That is, is there any way to record the desktop using Flex?
    Thanks,
    Mike

    hi
    you can do it with AIR using Native Process - see http://gotoandlearn.com/play.php?id=125
    if its not AIR, it cant be done (as Flash Player has no access to your system except file browsing)

  • Audio/Video Streaming  without FMS using FLEX 2

    Hello guys,
    i want to develop a video conferencing application in flex 2
    without using flex media server. I want to know the possibilities
    of it and if possible some tutorials and examples.
    Thanks.
    Nehal.

    Some thinks that where helpful for me:
    http://coenraets.com/viewarticle.jsp?articleId=98
    http://flash-communications.net/technotes/fms2/flex2FMS/index.html
    NOTE: Only try and attach the Video and start the publishing
    of the video after you have a successful NetConnection.

  • Using Flex 2 for dynamic creation of a Flex 2 application at runtime

    We're looking to replace our existing end-user development
    environment and believe Flex 2 may be able to satisfy our
    requirements. However, without spending a month trialing the
    product I thought some existing user(s) could suggest (based on
    personal experience) whether we'd be straining Flex 2 in expecting
    it to be able to provide dynamic runtine generation and execution
    of an application based on the meta-data associated with each
    component. The generation of each component includes automatic form
    and code generation, with end-user tailoring facilities to maintain
    the meta-data (tabs, fields (visibility, location, business rules,
    actions, validation etc.), display format, drill-down, work-flow
    etc.), for use in the next instantiation of each conponent.

    I know of at least one of our customers (not sure if I can
    say which) is doing this. They use Flex to compose MXML files and
    then send that to a server. The server than compiles that into a
    SWF.
    So it is possible, just a lot of work.

  • How to add new room in LCCS for live streaming video  using flex builder

    Hi,
               I have created a video conferencing functionality  using LCCS. Now i want to create a room programatically.
    So that user can create his own room and invite his/her friends.I am looking for solution on this.
    Any guidance on  this

    Quick suggestion : the documentation has a whole section on this =) :
    http://learn.adobe.com/wiki/display/lccs/06DeployingApplications
      nigel

  • How do I save a file to a server using flex and coldfusion?

    How do I save a file to a server using flex and coldfusion?
    On the CF side I might need to use this:
    <cffile action="UPLOAD" filefield="Filedata"
    destination="#expandpath('..\somepath)#"
    nameconflict="overwrite">
    And on the flex side I might need to use something like this:
    var sendVars:URLVariables = new URLVariables();
    sendVars.action = "upload";
    var request:URLRequest = new URLRequest();
    request.data = sendVars;
    request.url = _strUploadScript;
    request.method = URLRequestMethod.POST;
    _refUploadFile = new FileReference();
    _refUploadFile = _arrUploadFiles[_numCurrentUpload].data;
    _refUploadFile.addEventListener(ProgressEvent.PROGRESS,
    onUploadProgress);
    _refUploadFile.addEventListener(Event.COMPLETE,
    onUploadComplete);
    _refUploadFile.addEventListener(IOErrorEvent.IO_ERROR,
    onUploadIoError);
    _refUploadFile.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    onUploadSecurityError);
    _refUploadFile.upload(request, "file", false);
    I just don't know how to put it all together in Coldfusion.

    try this...
    http://cf-creations.co.uk/blog/index.cfm/2008/9/20/Flex--File-Upload-Form--Part-One--Build ing-The-Initial-Form

  • Desktop recording using flex

    Hi,
    I am new to flex. I want to know that is it possible to record remote user desktop screen using flex and to save the recorded video to flash media server?

    Wow, thanks so much Bob - that is some absolutely fantastic information. 
    I converted one of my Presenter courses to a fully functional EXE file in about 5 minutes with the SWF Maestro Exe trial!  I have been trying for years to find a solution to turn my Presenter files into single, flat file and that seems to do exactly what I need.
    Your sample training course is really nice - you did a great job with it!  I know how much work it can be to get the PPT file, transitions and audio to work just right like you have.  I have 15 eLearning files that have hundreds of hours of work on each one!

  • Using flex pitch is there a way to fine tune the start point .i'm using it as a audio to  midi function

    using flex pitch is there a way to fine tune the start point .i'm using it as a audio to  midi function

    Thank you for your reply Karsten but unfortunately this didn't help me so far. Or maybe I'm missing something?
    First the link is a tutorial for iMovie on a Mac. I'm using iMovie on iPad so the steps are inapplicable.
    Second it is only possible for me to manipulate the end part of the sound clip to whichever duration I want. But I can't do the same with the 'beginning' of the sound clip.
    I simply want to place some photos in the beginning of my video with no sound in the background then after like 2 secs I want to start the music clip. For some reason that is not possible! Cause every time I drop the music clip unto my project timeline it automatically place it self along with the first frame in the project! And consequently the photos and music are forced to start together.
    Hope I'm making sense...

  • How to add interface to customlize MXML Component when use Flex Builder 3?

    How to add interface to customlize MXML Component when use
    Flex Builder 3?

    David,
    I don't believe you can add the interface via the creation
    dialog in FlexBuilder 3. You can always manually add the
    "implements" property to your MXML Component root tag. Something
    like this: <mx:VBox implements="com.mycorp.IMyInterface">
    If you want autogeneration of the interface, then create an
    ActionScript class with that interface and then copy the generated
    functions and setter/getters into the script block of your MXML
    component.

  • Change in Database needs to Update Flex  3 FrontEnd

    Hello ,
    I am planning to develop a DashBoard using Flex 3 for my Organization  .
    We are using Oracle as our Database and Flex 3 as FrontEnd .
    I am having a question here , my requirement is that whenever there  is a chnage in Database
    Table , i need to Refelect Data on to FLex .
    Is it possible , please suggest , thanks .

    Anything is possible with enough time and money. The question is: "is the juice woth the squeese". If you send the data as HTTPService/JSON strings then you won't run into issues with structured data like java objects and BlazeDS. However you will have to do a lot of work to dynamicly build the UI based on the info that comes in. That sounds likey our best bet if it has to be dinamic. The JSON can be evaluated into AS3 generic objects and HTTPService makes talking with the server easy.

  • [svn:fx-trunk] 12025: Switching out the old video component for the new video component that uses OSMF .

    Revision: 12025
    Revision: 12025
    Author:   [email protected]
    Date:     2009-11-19 17:48:04 -0800 (Thu, 19 Nov 2009)
    Log Message:
    Switching out the old video component for the new video component that uses OSMF.  Also fixing RSL issue with OSMF because a change in flex-config.xml accidentally got overwritten.  Also fixing a bug caught during the last code review where you would set the volume on the VideoPlayer, but the volumeBar wouldn't be made aware of that change.
    Switching out the video component results in many API changes.  The changes are highlighted below:
    Class name changes:
    - spark.primitives.VideoElement is being renamed to spark.components.VideoDisplay
    - spark.components.mediaClasses.StreamingVideoSource is renamed to park.components.mediaClasses.DynamicStreamingVideoSource
    - spark.components.mediaClasses.StreamItem is renamed to park.components.mediaClasses.DynamicStreamingVideoItem
    VideoDisplay/VideoPlayer event changes:
    The new video component's events are:
    - bytesLoadedChange : org.osmf.events.LoadEvent
    - currentTimeChange : org.osmf.events.TimeEvent
    - durationChange : org.osmf.events.TimeEvent
    - mediaPlayerStateChange : org.osmf.events.MediaPlayerStateChangeEvent
    The old video component's events were:
    - close : spark.events.VideoEvent (removed)
    - complete : spark.events.VideoEvent (replaced with mediaPlayerStateChange)
    - metaDataReceived : spark.events.VideoEvent (replaced with mediaPlayerStateChange)
    - playheadUpdate : spark.events.VideoEvent (replaced with currentTimeChange)
    - progress : flash.events.ProgressEvent (replaced with bytesLoadedChange)
    - ready : spark.events.VideoEvent (replaced with mediaPlayerStateChange)
    VideoDisplay/VideoPlayer property changes:
    Renames:
    - maintainAspectRatio:Boolean has been renamed to scaleMode:String and rather than true/false, it now access 4 values: none, zoom, letterbox, and stretch.  See the enum class org.osmf.display.ScaleMode.
    - playheadTime:Number has been renamed to currentTime:Number
    - playWhenHidden has been renamed to pauseWhenHidden, and it's "tense" has been reversed.  So playWhenHidden = true correlates to pauseWhenHidden = false.  Also, before we would only pause when the video component was explcitly set to visible=false, but now we detect if the video components or any of it's ancestors have been hidden.
    - totalTime:Number has been renamed to duration:Number
    New properties:
    - bytesLoaded:Number This is a new property not available on the old video component
    - bytesTotal:Number This is a new property not available on the old video component
    - loop: Boolean this was a property added a while ago on the old video component but not in the original video player spec
    - mediaPlayerState: this is a new property that details the state of the video component.  See org.osmf.media.MediaPlayerState for all the possible values.
    - seekToFirstFrame:Boolean (pending PARB approval) - This is a new property available on VideoDisplay/VideoPlayer.  When autoPlay = false, if seekToFirstFrame is set to true, then we will connect to the server to start downloading the video, figure out the size of the video and resize appropriately, and show the first frame of the video.  If seekToFirstFrame is false, then no connection to the server is made, there's no implicit size for this video, and the first frame will not be show automatically.  By default the value of this property is true.  In the old video component, when autoPlay = false, we always has the same behavior as seekToFirstFrame = true.  Now it is controllable through this property.  Eventually, (not for Flex 4.0), we will most-likely have support for a thumbnail source or a splash screen so the video's preview will show up without making an unneeded connection to the server.  The property name may change depending on PARB.
    Other changes:
    - autoRewind: The default of autoRewind is now true instead of false
    - enabled: before we paused the video when the video component was explicitly set to enabled = false.  Now we pause the video when the video component or any of it's ancestors have been disabled.
    VideoPlayer-only changes:
    - videoObject:flash.media.Video property is now a new property on VideoPlayer.  It was previously only on VideoDisplay.
    - The skin states for the old VideoPlayer were: connectionError, disabled, disconnected, loading, playing, stopped, connectionErrorAndFullScreen, disabledAndFullScreen, disconnectedAndFullScreen, loadingAndFullScreen, playingAndFullScreen, stoppedAndFullScreen.  The new skin states are: uninitialized, loading, ready, playing, paused, buffering, playbackError, disabled, uninitializedAndFullScreen, loadingAndFullScreen, readyAndFullScreen, playingAndFullScreen, pausedAndFullScreen, bufferingAndFullScreen, playbackErrorAndFullScreen, disabledAndFullScreen
    DynamicStreamingVideoItem property changes:
    - bitRate:Number renamed to bitrate:Number
    DynamicStreamingVideoSource property changes:
    - initialIndex has been added to DynamicSteramingVideoSource
    - live:Boolean has changed to streamType:String which accepts values: live, recorded, any.  See the enum class org.osmf.net.StreamType for more info.
    - serverURI:String renamed to host:Object
    - streamItems:Array has changed types to streamItems:Vector.
    ScrubBar property changes (THESE CHANGES ARE NOT DONE YET, BUT SHOULD BE DONE SOON)
    - bufferedStart will be removed
    - bufferedEnd will be renamed to loadedRangeEnd.  This property name still may change depending on PARB.
    - bufferedArea skin part needs to be renamed.  Probably will be renamed to loadedArea.  PARB still deciding.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: Kevin
    Tests run: checkintests
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/flex-config.xml
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
        flex/sdk/trunk/frameworks/projects/wireframe/build.xml
        flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mx ml
        flex/sdk/trunk/frameworks/spark-manifest.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamItem.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamingVideo Source.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.png
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin2.mxml

    I've got that same problem: iPod Touch 2nd Gen, Apple Component Cables, and an HD TV.
    The funny thing is, the cable works fine with an iPod Classic (160 GB) but not for the iPod Touch. Can anyone explain why that is?

  • Three Layer Architecture, Can we do it using Flex?

    If we have COM objects or .NET objects residing on an Application Server, can we invoke them using Flex?
    or
    Does Flex itself provide facility to create a middle layer components?
    thanks
    ninja-e
    software development services
    web development

    Hi,
    Flex cannot directly invoke any COM or .NET objects on the server. I don't that even LCDS (Live Cycle Data Services) is able to do that directly, since it's Java based.
    Having said that you can access your COM or .NET objects using ColdFusion or by means of some custom Java code that would hook up the gateways with the Flex frontend. Another alternative would be to use WebORB which supports deployment directly on .NET and is able to publish .NET objects as remote services to be consumed by Flex.
    Hope this sheds some light on the matter.
    Rui

  • Can I use Flex with Adobe Media Encoder to automate encoding?

    I am thinking about learning Flex assuming I can do the following.
    Can I use Flex to automate the process of converting/encoding videos from many formats to FLV format?
    If so, what encoder do I use for this process? Flash media encoder?
    Can Flash Media Encoder interface with Flex (PHP/XML/ActionScript) to automatically with presets configuered convert/encode videos that have been uploaded and placed into a folder into FLV format?
    Thanks.

    Guys,
    I have developed a simple script ( batch file  *.bat)) that will  check if encoding is still being done ( every 60+ secs ) and if the process is over, it will shutdown the  PC. I tried to keep the code very very simple so that others can improve it.
    For now , i have tested this on Windows 7 SP1 -  64 bits  and it wokrs well.
    Here is the code, copy  and paste it into notepad - i named it AutoPowerOff-AdobeMediaEnCoder.bat
    ..........copy code below ..........
    @echo off
    echo.
    date /t
    time /t
    echo.
    :StartMonitoring
    echo.
    echo.
    echo.
    color 0f
    echo Start monitoring Adobe Media Encoding Process
    echo Check every 60 secs via KeepMonitoring
    ping 127.0.0.1 -n 60 > nul
    Goto Check
    :KeepMonitoring
    echo.
    echo.
    echo.
    color 0f
    echo Continue Monitoring Adobe Media Encoding Process - every 60s
    ping 127.0.0.1 -n 60 > nul
    Goto Check
    :Check
    echo.
    echo.
    echo.
    color 0e
    echo Checking If Encoding Process Over ?
    echo.
    echo.
    color 0a
    tasklist | find /i "PProHeadless.exe"
    IF ERRORLEVEL 1 GOTO AutoPowerOFF
    IF ERRORLEVEL 0 echo. && echo Encoding Still In Progress && GOTO KeepMonitoring
    :AutoPowerOFF
    echo.
    echo.
    echo.
    color 0c
    echo Process  PProHeadless.exe does not exist anymore
    echo Assume Encoding DONE
    echo PC Poweroff Initiated
    echo.
    echo.
    echo ShutDown PC After 60 sec
      shutdown /s /t 60
    :END
    ....... end of code ..............
    If some of you can check it out on other platforms and report back, i can maintain this thread.
    Regards,
    Marco.

  • Altering video playback speed using stage.framerate

    Hi All,
    I'm trying to programatically change the speed at which an
    flv file plays, eg. so I can do slow-motion, or fast-motion video.
    From what I have read, I think I should be using
    stage.framerate = x, but I cannot get this to work.
    I think I might be missing something very obvious (I am new
    to flex / flash) so please feel free to test the obvious.
    I have included below the flashlog output, and attached the
    single .as file.
    The behavior that I would expect (and that I want) from this
    is for the video to play at ~4x speed.
    The observed behavior is that it plays at normal speed.
    I have also tried 'vid.stage.framerate = 100'
    What am I doing wrong?
    thanks,
    tom saffell
    flashlog output
    ===========
    24
    100
    0
    Error #2095: flash.net.NetStream was unable to invoke
    callback onMetaData.

    Thanks again Luigi.
    I got it to work !
    I'm using flex builder, not Flash, so I had to embed the
    video another way.
    I converted the flv to an SWF using SUPER/ ffmpeg, then used
    the code below to load the swf. (credit to shadowmint)
    It works ! Beware, this only works with *no sound* in the
    swf. The first time i did it with sound the framerate could not be
    altered.
    Still, this all feels a little hacky to me, so one more
    question:
    4. In your research, did you investigate how easily all this
    can be done in Silverlight?
    (im not yet married to the flash solution, even though the
    penetration is better..)
    cheers
    tom

  • Live Streaming H.264 Video on iOS using AIR

    We would like to build an AIR app that plays Streaming H.264 Live/VOD videos that would work through AIR on the iOS platform.
    I've seem some traffic on the forums that RTMP will work to iOS - but additionally heard that video applications that use RTMP streams will be rejected by the Apple App store.
    I have seen that progressive H.264 will work - but that's not streaming or live.
    HLS would work if we use the StageWebView object; however, that provides us little control/monitoring over the video inside of it; and it's not "really" integrated as a video player.
    For OSMF there seems to be a 3rd-Party plugin which will allow OSMF to read HLS streams - but (from what I've heard) is incomplete because it doesn't play adaptive nor is it completely updated for OSMF 1.6.1.
    I would love to be wrong here - but is there currently a way to play a Streamed H.264 Video to iOS that is non-RTMP?
    I've seem little information as to if F4M streamed files played via OSMF will work on iOS.
    Thanks for the info in advance.
    -Will

    I pasted a stripped down version of my test app below, that attempts to playback an m3u8 file. This works for me on an IPad2.
    Remember to test on the device itself otherwise wont work.
    Dependencies:
    1. Air 3.1
    2. OSMF 1.6.1
    3. Flex SDK 4.6.0
    renderMode="direct"
    HTH
    - Abey
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   backgroundAlpha="0"
                   backgroundColor="#000000"
                   addedToStage="onViewActivate(event)"
                   applicationDPI="160">
        <fx:Script>
            <![CDATA[
                private var nc:NetConnection;
                private var ns:NetStream;
                private var video:Video;
                private var currentVidUrl:String;
                protected function onViewActivate(event:Event):void
                    nc = new NetConnection();
                    nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus, false, 0, true);
                    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityErrorHandler, false, 0, true);
                    currentVidUrl = "http://fmsserver/hls-vod/sample.mp4.m3u8";
                    nc.connect(null);
                private function onNetStatus(evt:NetStatusEvent):void
                    switch (evt.info.code) {
                        case "NetConnection.Connect.Success":
                            ns = new NetStream(nc);
                            var client:Object = {};
                            client.onMetaData = onMetaData;
                            client.onCuePoint = onCuePoint;
                            client.onBWDone = onBWDone();
                            ns.client = client;
                            nc.client = client;
                            var v:Vector.<StageVideo> = stage.stageVideos;
                            if (v.length >= 1) {
                                var stageVideo:StageVideo = v[0];
                                stageVideo.viewPort = new Rectangle(0, 0, mediaContainer.width, mediaContainer.height);
                                stageVideo.attachNetStream(ns);
                            else {
                                video = new Video();
                                video.width = mediaContainer.width;
                                video.height = mediaContainer.height;
                                mediaContainer.addChildAt(video,0);
                                video.attachNetStream(ns);
                            if (currentVidUrl) {
                                ns.play(currentVidUrl);
                            break;
                        case "NetStream.Publish.BadName":
                            break;
                        default:
                            break;
                private function onSecurityErrorHandler(event:SecurityErrorEvent):void
                protected function onMetaData(item:Object):void
                protected function onCuePoint(item:Object):void
                protected function onBWDone():void
            ]]>
        </fx:Script>
        <mx:UIComponent id="mediaContainer"
                        height="100%"
                        width="100%"/>
    </s:Application>

Maybe you are looking for

  • HP LASERJET M1136 MULTIFUNCTION PRINTER-----SCANNER NOT WORKING

    I HAVE RECENLTY PURCHASED HP LASERJET 1136 MFP. PRINTER IS WORKING FINE, BUT SCANNER IS NOT WORKING. HOWEVER PHOTOCOYING ACTION IS PERFECT. I GUESS THERE IS SOME ISSUE WITH THE DRIVER THING. CAN ANYONE PLEASE ASSIST ME FOR THIS??? I HAVE PREVIOUSLY O

  • Facing error in creating ObjectInput/output stream socket

    hi I am Jatandar and i am implemeint client server program which will be using object Input/Output stream to pass data through sockets . The problem is the i m getting error when the cleint connects to the server here is the server and client code ,

  • Imessage is not connected to my number?

    On my send and recieve on imessage my phone number is not connected... All I can connect are emails but I want people to recieve my number on imessage not my email. Called my service provider and Apple but neither could help? Please help! I have an I

  • Burned iPhoto Library to CD, said 'Successful' but CD empty??

    Just burned my iPhoto Library to a CD-RW (finally)...burn showed as successful, however, the new Library does not show in the list as a disk? moved the disk icon from the desktop to the library list & shows as 'empty'...did I miss a step? wanted to m

  • 10046 trace event - Missing privileges

    Hi, Version 11201 Please advice what privileges are missing : SQL> ALTER SESSION SET events '10046 trace name context forever, level 12'; ERROR: ORA-01031: insufficient privileges Thanks