How to stream a video using stage video?

I need to use stage video in my project. In my project using FMS RTMP we are streaming a video, I have tried with sample code provided in Adobe developer connection 'Getting started with stage video'. it is not working, i don't know what the problem is?
any help pls
thanks in advance
ayathas

I took this below code from a tutorial but opposite of this tutorial, I want the swf to take the video from the domains server where it was published from...
Not from a internet hyperlink adress, but how ?
function connect():void {
04
    nc = new NetConnection();
05
    nc.client = this;
06
    // STEP 2
07
    // note null
08
    nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
09
    nc.connect(null);
10
11
12
function startVideo():void {
13
    video = new Video(640, 385);
14
    video.x = video.y = 20;
15
    addChild(video);
16
    video.attachNetStream(ns);
17
    // entire url is passed into play() method
18
    ns.play("http://www.mydomain.com/videos/interstingVideo.flv");
19

Similar Messages

  • Does anyone know of a good online video instruction on how to put together a photo slideshow in the new iMovie version. I found uTube videos using imported videos, but I want to use photos in iPhoto.

    Does anyone know of a good online video instruction on how to put together a photo slideshow in the new iMovie 11 version. I found uTube videos using imported videos, but I want to use photos in iPhoto. I'm very familiar with how to do this in the pervious version, but it's no so intuitive in the new version.

    Has anyone tried this one.. I am not sure if I am allowed to post information about other products... so if I am not please delete this part of my message.
    New Trent Arcadia Pack IMP70D 7000mAh?

  • NO AUDIO during playback after converting the VIDEO using Creative Video Conver

    I have a ZEN 2GB/4GB/8GB/6GB/32GB.
    I tried to convert video from a dvd using Creative Video Converter.
    The video is fine but there is no audio during playback.
    What am I doing wrong?

    "If this is the case, the original video file may be in a format that contains muxed (multiplexed) audio and video, and cannot be exported with audio."..."If the format is "MPEG1 Muxed" or "MPEG2 Muxed," the audio portion of the file may not be retained with QuickTime Pro or iMovie."
    I have read that article and I thought it ment that the sound will work after you convert to the MPEG4 format, which I did.
    Are you saying that if it starts out as "Muxed audio" then there is no way to convert it?
    If that is the case then in what situation would you need to use the Videora Converter?
    Thanks,
    Sean

  • No video using S-VIdeo cable and Universal Dock

    We tried using our Universal dock and my husband's Video iPod to view iTunes downloaded shows on our TV for the first time, and despite trying two different S-Video cables, we weren't able to get video (sound worked). Of course the warranty was up three weeks ago.
    Any suggestions? Is it worth buying the special Apple video cable?
    Thanks,
    Natalie
    5th Gen iPod video, Universal Dock connector, S-Video cable Mac OS X (10.4.8) Sony Grand Wega 60" rear projection LCD TV

    Will just add to the above-are you 100% sure the iPod is completely seated in the dock?
    I had experience where I was getting only audio, reseated the iPod and got video.

  • How to stream live url using FMLE

    Hi   All,
    I am new to FMLE.
    I am currenlty using Suse Linux server 10 with wowza server to stream udp unicast to rtmp. So my wowza server output will be of rtmp.
    ex-  rtmp://SERVERIP/App/App.stream
    This is working fine. But now i have a problem with pushing the stream to cdn.
    cdn folks asked me to use FMLE to encode and push stream. How can i use FMLE on linux?
    Can i give my rtmp url as input to FMLE (using new machine with windows server, since FMLE can't be used with Linux) and tell it to push to cdn?
    Please help.
    Thanks
    cb24

    Hi,
    Thanks for the reply.
    Sorry , I haven't understod anything. I am a new biee here.
    My rtmp streaming url is working fine with players. Since i need to put them on cdn, cdn folks asked me to install FMLE, FMS.
    Now the question.
    1. How should be my setup?
      -> Is it something , output of wowza (the rtmp url) is given to FMLE running on windows machine? (i don't think this is possible, since FMLE does not take any urls as input).
    ->What is the use of FMS (Flash media server) ? whether that can be used stand alonely? (without FMLE ?), can i stream the rtmp url from wowza to FMS (since wowza does not support push), can FMS pull rtmp stream? and then it can push to cdn servers?
    Can anybody tell me how should b whole setup?
    Please help.
    Thanks.
    cb24

  • Converting Videos using NOKIA VIDEO MANAGER

    Hi Folks
    Just recievd my N95 Phone
    Very pleased. Been reading about and it says the movie format supported on the NOKIA phone is MPEG4.
    Ok np there.
    I have a HDD (hard disk drive) Camcorder with some movies on there which are watchable on my PC.
    I loaded one of these into the NOKIA VIDEO MANAGER application and it said it converted it (to MPEG4) and transferred it to my PC ok.
    However when I watch it on there , i get sound but no picture ?
    Does this NOKIA VIDEO MANAGER woork ?
    It must see my orinial mpeg ok as it go through the conversion process ?
    I would apreciated if someone can give me some advice.
    Hoem OS IS Vista Home
    Cheers
    Jimmy

    Hi jguilffoy
    For more information on this suject type "N95 mp4 video" into "Search Discussions" at top right of your screen.
    An authority on this subject is "professor" el_loco as it can depend upon bitrates and codecs to plays atisfactorily
    There are software applications to make conversion easier:
    Try: http://www.erightsoft.com/SUPER.html
    This is FREE requiring JRE but download link is a bit of a pain to find on website!
    OR
    Try: http://www.lonelycatgames.com/index.php?chapter=smartmovie
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Stage video capability in flex mobile - the whole truth

    I am finding it confusing to work out the capabilities of different types of Flex. So I have been trying throught trial and error. Hopefully forum members can shed light on this
    In flex mobile apps you can access actionscript. Actionscript contains the stage video classes. Does that mean we can use stage video in a flex mobile app by using the actionscript?
    In an Air app we can access actionscript - does that mean we can do the same in Air.
    I hear stage video is only available for GoogleTv and other tv applications, but is that news out of date, seeing stage video classes are available in actionscript?
    I managed to get stage video working in a Flex "Actionscript" project (on the web, but not on my desktop) - yippee-yai-yo.
    But tried and failed to get it working inside a Flex "Flex" projext, or a Flex "Air" project. Is that because I don't know what I am doing, or because it is not possible?
    Also "IF" Stage Video can work in a pure Actionscript project, which it seems to be able to, does that mean I can use it in a mobile actionscript project and use it across android, iphone, blackberry. Or not...
    All help gratefully received, thank you.

    Unfortunately, I did not find a solution and at that point stopped working with Flex for iPad. If you do find a way to stream secure video I would really appreciate knowing!

  • Is it possible to flip stage video playback horizontally on iOS?

    I'm using stage video in an app to play back some video and it would be useful if I could offer users the option to flip the video along the horizontal axis. 
    i.e. the equivalent of scaleX = -1 on a normal display object. 
    The reason I want to do this is that the video is of people and flipping the video would flip their handedness (so right handers become left handers).
    Is this possible?  It is quite easy to do with 'normal' video (i.e. scaleX = -1) but on iPad I am using stageVideo (primarily to try to maximse performance which I belive stageVideo does) and as it isn't a real display object it doesn't have the necessary scaleX property.
    Does anyone know if this is possible?

    I'm using Flash CS6 and stageWebVideo (not stageVIdeo).  If you're asking if the video window can be changed when the device orientation is changed, this is how I did it:
    // Landscape orientation
    videoFile = MovieClip(root).imagesPath + "31_resources.pdf";
    stageWebView = new StageWebView(); 
    stageWebView.stage = stage;
    if (stageOrientation == "horiz") {
    stageWebView.viewPort = new Rectangle(((resolutionY-940)/2), 210, 940, 430);
    // Then... when changed to Portrait orientation...
    if (stageWebView != null) {
       stageWebView.viewPort = new Rectangle(0, 285, 640, (resolutionY - 285));
    In other words, I change the stageWebView.viewPort rectangle accordingly when device orientation changes.  Not sure if this helps you.

  • Editing VHS Video Imported to iMovie Using Elgato Video Capture

    I have imported video using Elgato Video Capture and want to edit it in iMovie. Specifically I want to permanently delete some of the Event video which is of poor quality. I can mark it as "Reject" but I cannot move the "Reject" to Trash. How can I do this?

    I see the drop down menus. One is "Move Rejected to Trash" and beside it "Hide Rejected". If I click "Hide Rejected", the rejected clips are hidden. If I click "Move Rejected to Trash", nothing appears to happen.

  • How to stream with the player strobe media playback videos using http dynamic streaming?

    Hi..
    please could i have some help about the player strobe media playback?
    i would like to know how to stream with the player strobe media playback videos using http dynamic streaming.
    I have already installed the server,i put my own video in the video on demand folder.i downloaded the player but i don't know how to stream that video with the adobe protocol dynamic streaming.

    http://osmf.org/configurator/fmp/
    Use this configurator, and use the same code it generates with your strobemediaplayback.swf
    Also make sure the domain where strobemediaplayback.swf is being called from and resides, is in your /webroot/crossdomain.xml  file, or it will not work.

  • HT4437 how  can i stream audio to ipad from video playing on the apple tv using air play?

    how  can i stream audio to ipad from video playing on the apple tv using air play?

    I don't know what AppleTV can handle as far as bit rate is concerned, but increase the bit rate as high as it will let you. You are taking DV which is 25Mb/s and compressing it. If you're making an H.264, you should get great results needing no more than 6Mb/s. Bear in mind, the higher the bit rate, the larger the file size.

  • I cant stream HD video using Airplay

    I cant stream HD videos using airplay and a specific iphone app that used to work properly before (Globo.tv).
    HD videos from Youtube app work fine. Any idea on what is going on?
    All softwares are updated to the latest version, wifi is fine, router is an Airport Extreme fully updated.
    My iPhone is a 5S and the Apple TV is the latest one.
    Mirrowing the app using the iPad and playing the Globo.tv app works fine with airplay, but i cant see the video full screen.
    Thanks for any help.
    Fabiano.

    Updating:
    Well, I tried removing and reinstalling the app. Nothing happened.
    But yesterday i realized something: the Globo.tv is an app that provides some unprotected videos and lots of protected. To wach it you must have an account with them. Well, I do. And used to wach all videos with no problems. Well, I realized that at some "point" I now can only Air Play "opened" videos. All others protected with login process, does not work.
    How login works: I need to login at the app once. Then I can wach any video I want.
    Any idea what is going on?
    Another info: I can start waching the video and then click Air Play. It won´t work. If i do the same with an unprotected video, it works fine.
    Thanks!

  • Using a video stream (NOT streaming a video clip) in Flash?

    Hello,
    I need to get a RTSP video stream into Flash but I can't
    figure out if it is possible to do. Also, the stream is encoded
    using H.264 for video and AAC for audio. Any suggestions on how to
    make this fly is more than welcome.
    Best regards from a sunny Stockholm - spring is finally here!
    /Cristian

    Just check it with the .flv files. If it works fine for them
    then your code is fine and you have to search for your format or convert it in flv my any means.
    with Regards,
    Shardul Singh Bartwal

  • How to play a emded video using OSMF?

    Hi all,
    I want to play a emded video using OSMF, the as3 class would be something like this :(of course it does not work)
    [SWF(width = "356", height = "356", backgroundColor = "0x000000", frameRate = "12")]
        public class VideoPlayer4 extends Sprite {
            [Embed(source = '../../../../assets/video/TRAILOR 1280x720.mp4', mimeType = 'application/octet-stream')]
            public var vClass : Class;
            public function VideoPlayer4() {
                var mediaFactory:MediaFactory = new DefaultMediaFactory();
                var mediaElement:MediaElement = mediaFactory.createMediaElement(new vClass());
                mediaPlayer = new MediaPlayer();
                mediaPlayer.media = mediaElement;
                var mediaContainer:MediaContainer = new MediaContainer();
                mediaContainer.addMediaElement(mediaElement);
                mediaContainer.width = 356;
                mediaContainer.height = 356;
                addChild(mediaContainer);
    I have no idea how to do that, please give me some advice.
    Thanks!!

    Hi guys, good news!!
    I found a way to play embed flv using Flash Player 10.1, come & try yourself!!
    package
        import flash.display.Bitmap;
        import flash.display.Sprite;
        import flash.events.*;
        import flash.media.Video;
        import flash.net.NetConnection;
        import flash.net.NetStream;
        import flash.text.TextField;
        import flash.utils.ByteArray;
        public class VideoPlayer6 extends Sprite
           [Embed(source='../../../../assets/video/video.flv', mimeType='application/octet-stream')]
           private var flvClass:Class;
           private var flvData:ByteArray = new flvClass();
           private var connection:NetConnection;
           private var stream:NetStream;
           private var video:Video;
           public function VideoPlayer6()
              connection = new NetConnection();
              connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
              connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
              connection.connect(null);
           private function netStatusHandler(event:NetStatusEvent):void {
              switch (event.info.code) {
                 case "NetConnection.Connect.Success":
                    connectStream();
                    break;
                 case "NetStream.Play.StreamNotFound":
                    trace("NetStream.Play.StreamNotFound");
                    break;
           private function connectStream():void {
              stream = new NetStream(connection);
              stream.client = { onMetaData:function(obj:Object):void { } };
              stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
              stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
              video = new Video();
              video.attachNetStream(stream);
              stream.play(null);
              stream.appendBytes( flvData as ByteArray );
              video.width = 356;
              video.height = 356;
              addChild(video);
           public function stop():void {
              if( video != null ) {
                 removeChild(video);
              if ( stream != null ) {
                 stream.close();
                 connection.close();
                 stream = null;
                 connection = null;
           private function securityErrorHandler(event:SecurityErrorEvent):void {
              trace("securityErrorHandler: " + event);
           private function asyncErrorHandler(event:AsyncErrorEvent):void {
               trace("asyncErrorHandler: " + event);

  • How do you auto reconnect a live video stream broadcast in flash action script 3?

    how do you auto reconnect a live video stream broadcast in flash action script 3?
    so i don't have to ask people to refresh the page if the connection drops
    i copy pasted the live video stream broadcast files and script from here;
    http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html
    http://www.adobe.com/content/dotcom/en/devnet/adobe-media-
    server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles
    /node_1278314297096/file.res/beginner_live_fms3.zip
    i don't know what i'm doing

    Why don't you use several layers with appropriate alpha properties, and move these layers according to the mouse events?

Maybe you are looking for