How to deinterlace live video using flash as a broadcaster?

I am trying to replicate the deinterlace functionality that is available in FMLE in a simple flash broadcaster that is hosted on my website.
I have built a flash broadcaster (using Flash CS4 and AS2) that connects to my FMS server with the aim that people can stream live video to the site. That all works OK; however, I would like to be able to implement a deinterlace option like that which is available in FMLE. Any clues?

go here: http://www.progettosinergia.com/flashvideo/flashvideoblog2005.htm and scroll until you see the blog entry from the 26th of September.
There is no direct link to the post.. But the solution he provdes should do the trick.

Similar Messages

  • Streaming Live Video using Flash Media Encoder/Flash Media Streaming Server

    We currently get a video feed from local cable channel that gets streamed live to our internet website. It gets encoded first on our Windows 2003 server running Windows Media Encoder and then gets published on another Windows 2003 server running Windows Media Services. We are trying to replace these two servers with another solution and the two things driving this project are:
    1. These two servers are coming to an end of life cycle so we need to replace the hardware and upgrade the OS.
    2. They currently only support Windows compatible file formats. Just like other organizations out there, iPAD users are popping up and they want to view these video streaming from their iPAD.
    That's why we are looking at Adobe Flash Media Encoder3 and Flash Media Streaming Server 4.5. My questions for the experts out there are:
    1. Can Adobe Flash Media Encoder and Adobe Flash Media Streaming Server can replace our current solution?
    2. Do we need both Flash Media Encoder and Flash Media Streaming Server or can Flash Media Streaming Server also can encode video feed?
    3. Can Flash Media Encoder and Flash Media Streaming Server can run on the same server?
    4. Our Windows Media Services server also has few on-demand publishing points along with a live video streaming. Can above mentioned Adobe products support having live streaming publishing point along with on-demand video publishing points?
    5. Does Adobe Flash Media Encoder only support Flash and Quicktime or does it also support .wmv?
    I called the sales to find the answers to these questions but he basically read the features listed on the Adobe product website and couldn't really answer these questions.
    Any help in find the answers to these questions will be greatly appreciated.
    Thanks you.

    FYI - I was able to do it by using the "onFI" handler of the embedded NetStream object.
    myVideo.addEventListener(fl.video.VideoEvent.STATE_CHANGE, onVideoStateChange);
    function onVideoStateChange(evt:fl.video.VideoEvent)
      // trace("State = " + evt.state);
      if ( evt.state == "playing" )
      if (!ns)
      ns = myVideo.getVideoPlayer(evt.vp).netStream;
      ns.client.onFI = onFIHandler;
    function onFIHandler(infoObj:Object):void
      var ts:String = infoObj.st;
      trace("system time: " + ts);
      ExternalInterface.call("updateTimeStamp", ts);

  • How to play live Video Stream with Flex?

    I'm trying to get Flex Builder 3 to play a live video stream with Flash Media
    Server and Flash Live Media Encoder.
    I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
    I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not
    with Flex.
    This code streams pre-recorded Video on Demand flvs, but not live streams:
    If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
    What am I doing wrong?
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:Label text="RTMP FMS 2.0"/>
            <mx:VideoDisplay
                autoBandWidthDetection="false"
                source="rtmp://localhost/vod/Legend.flv"/>
        </mx:HBox>
    </mx:Application>
    Oh and sorry for the double post. I didn't know there was a seperate FMS forum.

    That worked! Thanks  *very* much. Stupid of me to forget to set the live attribute to true. Also removed the .flv. BTW: what video component do you prefer?
    Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:VideoDisplay
                live="true"
                autoBandWidthDetection="false"
                source="rtmp://localhost/live/livestream"/>
        </mx:HBox>
    </mx:Application>

  • Streaming 2 x H264 live videos using smil file?

    Hi,
    I want to be able to stream a live video using Flash Media Live Encoder 3 using two options of 300 kbps and 150 kbps.
    I want to give users a choice of stream quality depending on their available bandwidth to maintain the live feed.
    I have set it up so that the Bit Rates are 300 and 150 and tick marks on: 1 and 2
    my FMS URL is correct
    The stream names are test1 and test2
    in the Stream: box I have written: test1;test2
    Yet I have also tried : mp4:test1.f4v;mp4:test2.f4v and other combinations.....
    The SMIL file has the following:
    <smil>
        <head>
            <meta base="rtmp://live" />
        </head>
        <body>
        <switch>
              <video src="mp4:test1.f4v" system-bitrate="150000"/>
              <video src="mp4:test2.f4v" system-bitrate="300000"/>
        </switch>
        </body>
    </smil>
    The SMIL file is in the same root level as the web page.
    It does not work, I have tested this with prerecorded videos and it works fine, so I thought it should work with 2 live streams also.
    I believe one of the issues might be the Stream: test1;test2
    in Flash Media Live Encoder 3?
    Second related questions:
    Also using Dreamweaver CS5 what is the correct setting to stream an FLV with h264?
    I also tried mp4:test1.f4v in the stream name but it comes back with anerror that the name is wrong.
    any solutions to what I am doing wrong would be appreciated

    Thanks for the response.
    With respect to the second query I had, I do understand that FLV does not support H264, I just used the term FLV to mention it was a flash video I was refering to rather tahn the codec used.
    The first part, I did actually try that option previously, but it still returned an error of "Cannot Connect".
    I used the code generated by the FMS dynamic video page to create the video object.
    I simply changed it in Dreamweaver to: ( Bold text are my edits to the original. ) The original generated vod instead of live.
    <object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ><param name='movie' value='swfs/videoPlayer.swf' /> <param name='quality' value='high' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' /> <param name='flashvars' value= '&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dynamicStream.s mil&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&rtmp://servername/live/test1.f4v&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual &dsSensitivity=100&serverURL=dynamicStream.smil&DS_Status=true&streamType=live&autoStart=true'/><embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer'   flashvars='&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dynam icStream.smil&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://servername/live/test1.f4v&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dy namicStream.smil&DS_Status=true&streamType=live&autoStart=true' type='application/x-shockwave-flash'> </embed></object>
    I think something in this code is causing the connection error.
    Regards

  • Video Pixelation occurs while recording the video using flash player

    Hello,
    I am recording the video using flash player 9 ( using the
    flash media server 2.0 on the back end). Everything used to work
    fine in the past. The quality of the flv video was good. Now
    suddently, I have started seeing the pixelation in the recorded
    video (very poor video quality). Nothing has been changed in the
    code. However on the server side, I am not very sure if there is
    any windows update has taken place and have caused the problem with
    the codec on server.
    However my understanding is that when we record the video
    then flash player use its own codec not the flash media server.
    Can any one help me on how I can get rid of pixelation
    issues?
    Thanks for your help.
    Best Regards
    Pradeep

    Hello Melissa,
    I might not be understanding the question right, but if you
    are using Flash
    Player 6, and the Flash Player 6 video player component, you
    can resize the
    video by resizing the component on the stage (just drag and
    make it larger).
    Let me know if that works for you.
    Jesse H.
    Adobe Community Expert
    My site:
    http://www.jharding.com
    Free Blog Radio:
    http://www.tornadostream.com
    > I'm streaming video using Flash Player 6. The problem I
    am having is
    > that the
    > video will only play at a super small size, something
    like 180 x 60
    > (that's a
    > guess). Is there a way to play the video at the 320
    width that I
    > redered it as?
    > I'm using Flash Player 6 because some code that came
    with my
    > purchased Flash
    > Template does not work unless it's published to Flash
    Plaey 6.
    > Thanks in advance!

  • Hi I want to broadcast recorded video using flash encoder?

    Hi I want to broadcast recorded video using flash encoder, or their is any other way for broadcating recorded media files as live tv?

    Hi,
    You can do server side play of the recorded media file. After that once any one connects to that application, that file will be played as live. Following is the code to do this:
    var streamname="stream_name.flv"; //Name of the recorded media file
    application.onAppStart=function(){
              application.onNCA();
    application.onConnect=function(clientObj){
              application.acceptConnection(clientObj);
              trace("***Connected : "+isConnected);
    application.onNCA=function(){
              trace("onCA "+streamname);
              streamObj=Stream.get("foo");  // foo will be the live stream name
                        streamObj.onStatus = onStreamStatus;
                        trace("here "+streamname.split(".")[1]);
                        switch(streamname.split(".")[1]){
                                  case "mp4":
                                  case "3gp":
                                  case "f4v":
                                            streamPlayName="mp4:"+streamname;
                                            break;
                                  case "mp3":
                                            streamPlayName="mp3:"+streamname.split(".")[0];
                                            break;
                                  case "flv":
                                            streamPlayName=streamname.split(".")[0];
                                            break;
                        trace(streamPlayName);
                        streamObj.play(streamPlayName);
    function onStreamStatus(info){
              trace("Stream "+info.code);
    application.onDisconnect=function(clientObj){
              application.shutdown();
    Anyone connecting to above app will be able to play "foo" as livestream name.

  • HT4437 Transmit live video using AirPlay?

    I have a iPhone 4 and iPod and I want to connect them to transmit live video using AirPlay but I dont have it - how do I install Airplay?
    Having real problems finding the answer to this question.
    Thanks
    Roland7

    Hi Roland7!
    Here is an article that can explain this to you:
    iOS: Use AirPlay to wirelessly stream content
    http://support.apple.com/kb/ht4437
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Can someone tell me how to stream live video?

    Can someone tell me how to stream live video to my ipad?

    Someone could give you better and more exact information but you didn't include the model number of your computer. But I can give you a pretty generic answer. At the top of this webpage you should see Product Support. Click on Laptops and then select which model of Toshiba computer you own, ie Satellite, Tecra, etc. Finally type in the model number of your computer. Select the exact model number and click the red Go button to the right. Click the Downloads tab and look thru the different drivers for this computer. Make sure that the new video driver is newer and has a higher version number than your current video driver. If it does, click the Download button, click the Run button and let it do the installation. Afterwards, reboot the computer so that the latest drivers are fully installed. Try again with that game.

  • How to display live video captured by a webcam on another computer?

    I am now writing a program to display live video captured by a webcam on another computer which is in the same network and I need to make it display on a applet page.
    I have already figured out how to capture live video on my own computer and display it on applet.(thank for people in Java forum). But for a webcam which located on another computer in the same network,what should I do? what technique do I need to achieve that?
    can anyone help me?
    Thank you very much

    Hi AbSoiLoki,
    Thank you for your reply. I have been able to locate a couple of different options here for you to try. There is a previous post for a different printer that is having the same issue with the printer mapping a Z:folder.
    The link here will direct you to a post on the HP Forums with some trouble shooting steps for you to try.  Click Here.
    I have also included another document on How to stop printers from grabbing drive letters, Click Here,
    Please let me know if this has been able to help you resolve the issue.
    I worked on behalf of HP

  • How to make a music video using flash

    am trying to make a music video for a uni project, one of the things I'm trying to do in the video is to fade in a word at a time in whilst keeping them all aligned properly as a sentence - is there an easy way to do this?
    Any other hints or tips on how to make a video but one especially for music would be much appreciated !! I'm just using Adobe Flash and NOT Adobe Premier, thank you !!

    no, they would need to be created dinamically as the possibilities are unlimited,
    I was thinking of saving the inputs in variables (starting in a) with previous value 0 following this logic:
    if (a==0) {a=36}
    else if (b==0) {b=36}
    else if (c==0) {c=36}
    where 36 is the frame where this button clip starts.
    then, when the user is done i would do this at the end frame of each clip
    if (a=/=0) {frame=a; a=0; goto frame}
    else if (b=/=0) {frame=b; b=0; goto b}
    my only problem here would be how do record the video...

  • LIVE VIDEO USING MULTIPLE CAMERA

    iam trying live video streaming using Flash lite + FMS3 +
    Flash Media Encoder
    if i use multiple camera how to switch it..?

    Almost every frame grabber displays live images on the screen. I use the
    falcon board and control it by it's dll. I give it a handle to a window
    by LV to show it there. The DLL supports me with a pointer to the pixel
    data as well does IMAQ vision. That's all I need to move a frame into an
    IMAQ picture for further processing.
    Detlef
    Paul schrieb:
    > Does someone know how i can watch a live image from my camera in
    > labview ? i have imaq, but i don't know if i would be easier using an
    > active x component.
    > thanxs
    >
    > --
    > [email protected]
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.

  • How to control SWF Video using JavaScript?

    Hi,
    I'm developing a web page which will use Flash Videos. I need
    to control the video without using a typical skin. The current tool
    I'm using to convert my wmv to SWF FLV is Coffee Cup. A hex edit
    suggests this is a Version 8 SWF.
    I am trying to write some javascript to control which Frame
    is displayed. I have seen code such as movie.TGotoFrame(...); and
    movie.GotoFrame, movie.StopPlay() etc. Unfortunately I cannot seem
    to use these methods. Eventually I suspected that my SWF simply did
    not make these methods available and when I run my video in my web
    page a RightClick shows a Context Menu that has no Reverse,
    Forward, Back options. Other SWF videos do have these options
    (obviously). This seems to prove that nothing I could code would
    make the GotoFrame work (ie no Forward (by one frame) option in
    menu suggests it could never work from javascript).
    Some Questions
    Is there a tool to examine a SWF to see what methods are
    available to javascript control? (expose the API) and is there a
    setting required in the <object> setup to enable javascript
    interaction?
    Is there something about SWF V8 files that is the problem or
    is likely that the CoffeeCup Web Video Player can only make
    partially functioning SWF Videos?
    What is the difference between GotoFrame and TGotoFrame and
    have these perhaps been superceeded by something else (there is an
    Adobe page which suggests they are only available up to Version 5
    (not sure if that means Version 5 of SWF files or Version 5 of the
    FlashPlayer - to add to my confusion).
    I'm not currently a Flash type developer and have no tools to
    speak off and don't know ActionScript. I'm thinking of heading in
    the Flash direction but not sure how to move forward.
    Cheers
    Stuart

    Thanks Alex,
    quote:
    You need to learn to move forward :)
    I have a Greek friend who when I asked him how he was getting
    on with his dissertation project stated "in Greece we have a saying
    - every start is different".
    In this case my start is to dip a toe in the Flash water and
    not get scalded.
    Anyhow,
    One clarification from the CoffeeCup forum helped me to
    understand that my SWF used an external FLV and that may explain
    why the rightclick context menu did not have the more movie
    specific Back, Forward etc. Sounds plausible. So assume external
    FLV.
    quote:
    it is very easy to add a small script into the root timeline
    of your SWF file
    A little hand holding here would be appreciated. I have
    downloaded the Flex SDK. Can I use this free tool to do what you
    suggest? Using MXML and ActionScript. If so, a little bit more info
    would help.
    quote:
    That's all, it should work. Of course, you can tell me that
    your movie
    already has an onEnterFrame() eventhandler at the root
    timeline.
    What's a problem? Just create an empty movieclip and add this
    script
    into its frame 1 (it maybe the only frame). But do not forget
    to
    change "this.xxxx" to "_root.xxxx" within such script.
    Hhhmmm. A bit stumped. I've had a look at the SWF using
    FlashDig. I noticed what appears to be Assembly Language (Push,
    Pops, Jumps etc) and presumably in amongst all of that may be an
    onEnterFrame. Perhaps linked to a DefineFunction2 node.
    Unfortunately the SWF is very large (60K) and there is no
    search/find tool so that makes finding functions a bit harder than
    expected. Struggling a little with the concept of _root and Level0
    etc.
    I assume you are suggesting manually building a replacement
    SWF (empty movieclip?) if the onEventHandler happens to be used for
    something else. Presumably set/getVariables only interacts with
    this function so if it is 'booked' in my SWF I would be in a spot
    of bother with your suggested approach?
    I wonder if you are assuming I have some sort of Flash tool.
    Possibly like this one shown in this tutorial
    WebWasp
    Panorama tutorial
    Note. The panorama is actually close to what I eventually
    want to do except I intend to make a video of a scene by rotating
    clockwise by 360 degrees. Then add buttons onto the SWF (or DHTML)
    which communicates with the SWF to move forward or back through the
    video. Moving forward would be like a clockwise rotation and moving
    back would create anticlockwise rotation. This explains the need to
    GotoFrame (or similar). From that perspective I don't need to
    become a Flash guru (for now) and can't justify buying all the
    expensive flash tools for this one (apparently) simple task: Frame
    by Frame control of an external FLV via the SWF.
    Note. I've started using SWFObject. Might this library help?
    In summary.
    How do I add the onEnterFrame ActionScript sample (or
    something similar) into a SWF using only the Flex SDK command line
    tools or similar in order to control an external FLV?
    Cheers
    Stuart

  • How do I view videos using html5 on iPad 2

    Trying to access a news website and it requires html5. Apple website states iPad has it, but the website states I don't have it. Is there something I most do to enable or activate html5?

    The video on that site uses Flash not HTML5. From the page source
    "The ABC7/WJLA Live Player requires
    <a href="http://get.adobe.com/flashplayer/">Adobe Flash Player</a>"
    The error message is telling you the page does not support HTML5 video which your iPad does support.
     Sorry Illaass. I meant to respond to the original poster not to you.

  • Live Video Without Flash Media Encoder

    How to create server side script in FMS3 to make Live Video
    Without FME

    Why ask in the Flash Player forum; wouldn't it be more logical to post in the Flash Media Live Encoder forum?

  • Stream live video - use http or rtmp protocols from player code?

    I'm trying to stream live video for the first time. I've installed FMIS 3.5 without Apache 2.2. I'm confused on the RTMP/HTTP protocol usage,
    I can only have port 80 opened on our FMIS 3.5 box.
    1. I've created a new directory under "C:\Program Files\Adobe\Flash Media Server 3.5\applications" called "livedev" as my publishing point.
    2. Question:
         Do I need to copy main.asc, Application.xml, allowedHTMLdomains.txt, allowedSWFdomains.txt to this directory as well?
    3. Question:
         Using FMLE 3 - FMS URL parameter which protocol do I need to use, does it matter 'http' or 'rtmp'? - http://localhost/livedev or rtmp://localhost/livedev
         Does RMTP use port 80.
    4. Question:
         In my Flash Player code. I dragged an instance of FLVPlayback component, what URL do I need for the 'Source' parameter?
         Which protocol do I need to use, does it matter 'http' or 'rtmp'? - "http://localhost/livedev/livestream" or "rtmp://localhost/livedev/livestream"
    Thanks,
    Dave

    A:
    2.  You don't need to copy main.asc unless you have logic in there that you want on your new application.  It's a text file so you can open and read it, get familiar.  allowedDomains is up to your security policy, but if you want it to apply to that application then yes.  Finally the Application.xml in there is an override of the default one in the server's conf directory - so you only need to include it if you plan on overriding settings from the default.
    3.  Chosing which type dictates whether or not you're doing HTTP (not streaming) or RTMP (streaming) however you've added a complication that you're only allowed to use port 80 - which RTMP does not by default.  FMLE doesn't support HTTP push to FMS, so the FMS URI must be fomr form of RTMP* so you're left with some good choices
    Use RTMP over port 80 like so rtmp://myServerName:80/appName/ <- notice the coded port number
    Use RTMPT which automatically uses port 80 and will get around most proxies that demand HTTP traffic - however there's more performance overhead than RTMP (think maybe 25% more overhead for a wild guess on my part)
    I dunno the answer for your FLVPlayback component but I'm going to take a guess that the issue is about the same here and you should use the same parameter that you're using for your RTMP ingest.  At worst I'm pretty sure that it will work and that's not so bad.
    Asa

Maybe you are looking for

  • I'm incapable of fading shape's in CC

    I need to learn how to slowly fade a rectangle from black to nothing in flash CC but no matter what I try it doesn't seem to work. This is for an assignment and I can't seem to figure it out. Any help would be much appreciated. 

  • Verizon lies about me calling to terminate contract

    I phoned a Verizon CSR to terminate my service at the end of my two year contract. I arranged a new calling plan for my wife to run through till the end of her contract and ended the call. I notified family, parishioners and co-workers of our new hom

  • Unable to set Public Folder Permissions

    I have created a Public Folder Mailbox and Public Folder. When I go to set permissions via the EAC, the "User" field is grayed out...when I Browse for a user I can search and select a user, but that user is not carried over to the User field where yo

  • Scheduled PowerShell Task

    I'd like to schedule a PowerShell task, have it pull 1 column of data from MySQL database and execute another PowerShell command on that data.  Is this possible?  Would you be kind enough to provide some sample code as I am new to both PS & MySQL. Or

  • IMessage Fallback if data unavailable?

    When I sent a message to my iPhone from another iPhone it uses IMessage, but when I disable wifi (to simulate I am out of reach of an Internet connection) it doesn't sent the message as an SMS.... The sender doesn't necessarily know if I do or don't