Playing video from a flash streaming server

Hi I've been trying to insert a video in a flash project that is hosted on a flash media server. I put the address wich by the way is rtmp://p8bezucu.rtmphost.com/testevideo/portfolio.flv and it doesn't work, I'm pretty sure that the address is right, am I misssing something? Thanks a lot

Have you tried dropping the .flv from the source url string? I think if the FLVPlayback component sees .flv it thinks it is a progressive download instead of a stream.

Similar Messages

  • Playing video from a flash media server

    Can anyone point me to code to play streaming video from a Flash Media Server in Flex?

    Can you tell me how are you concluding that you are skipping few seconds when you set higher bufferTime - is it on visual inspection or say based on status messages.

  • C# Playing Video From A Memory Stream Using DirectShow (quartz.dll).

    I have a C# Visual Studio WinForms app that plays video using the QuartzTypeLib (quartz.dll). With the code I've written, I can play any video file from the hard drive. Here's the code at the top that executes when the app starts:
            public const int WS_CHILD = 0x40000000;
            public const int WS_CLIPCHILDREN = 0x2000000;
            public QuartzTypeLib.IMediaControl mc;
            public QuartzTypeLib.IVideoWindow videoWindow = null;
            IMediaPosition mp = null;
    And here's the code that opens the video file:
            private void openMediaToolStripMenuItem_Click(object sender, EventArgs e)
                // Open a media file.
                OpenFileDialog ofd = new OpenFileDialog();
                ofd.Filter = "Video Files|*.mpg;*.avi;*;*.wmv;*.mov";
                ofd.FilterIndex = 1;
                if (DialogResult.OK == ofd.ShowDialog())
                    // Stop the playback for the current movie if a video is currently playing.
                    if (mc != null)
                        mc.Stop();
                    if (pbVideoDisplay.Image != null)
                        pbVideoDisplay.Image = null;
                    // Load the movie file.
                    FilgraphManager graphManager = new FilgraphManager();
                    graphManager.RenderFile(ofd.FileName);
                    mp = graphManager as IMediaPosition;
                    mc = (IMediaControl)graphManager;
                    tsbtnPlay.Enabled = tsbtnPause.Enabled = tsbtnStop.Enabled = true;
                    // Attach the view to the picture box (pbVideoDisplay) on frmMain.
                    try
                        videoWindow = (IVideoWindow)graphManager;
                        videoWindow.Owner = (int)pbVideoDisplay.Handle;
                        videoWindow.WindowStyle = WS_CHILD | WS_CLIPCHILDREN;
                        videoWindow.SetWindowPosition(
                        pbVideoDisplay.ClientRectangle.Left,
                        pbVideoDisplay.ClientRectangle.Top,
                        pbVideoDisplay.ClientRectangle.Width,
                        pbVideoDisplay.ClientRectangle.Height);
                    catch //(Exception Ex)
                        // I'll write code for this when I have a need to.
                    // Now we convert the video to a byte array.
                    FileStream fs = new FileStream(ofd.FileName, FileMode.Open, FileAccess.Read);
                    try
                        // Here we convert the video to Base 64.
                        VideoInBytes = new byte[fs.Length];
                        VideoInBytes = System.Text.Encoding.UTF8.GetBytes(ofd.FileName);
                        VideoInBase64 = Convert.ToBase64String(VideoInBytes);
                    catch //(Exception Ex)
                        //throw new Exception("Error in base64Encode" + Ex.Message); Worry about this later.
    Notice that I have code that converts the video to a Base64 string. I'd like to add code that will allow me to play a video from a memory stream or any other type of stream that might work better. Is that even possible and if so, what code would I need to add
    and where would I put it?

    You should be able to do it by developing a plug-in for the existing DShow filter. For instance, wmv files are being opened/read with the "WM ASF Reader" filter. You can register your own protocol and implement your own plug-in for that protocol
    (e.g. you could name it 'memory', and your URL would look like
    memory://something.wmv). You can register your protocol under the [HKEY_CLASSES_ROOT\memory\Extensions] by creating a new string value with the file extension as a name (.wmv). The value is the WM ASF Readers's
    GUID ({187463A0-5BB7-11D3-ACBE-0080C75E246E}).
    You also need to register your plugin that will be used for a wmv file when used with the 'memory' protocol.
    In [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media\WMSDK\sources] create a new string value with the protocol name and the value is a path to you DLL plug-in. Your plug-in must implement the IStream interface. The plugin DLL exports a single function:
    HRESULT WMCreateStreamForURL( LPCWSTR pwszURL, BOOL *pfCorrectSource, IStream **ppStream )
    MSDN can provide more info on WMCreateStreamForURL() and plugins in general.
    Once you do that, what will happen is this: each time you open a file like "memory://myfile.wmv", the WM ASF Reader filter will load your plugin, call WMCreateStreamForURL() and it will use your custom IStream object for all read/write operations.

  • Captivate 5 will NOT play streaming video from my Flash Media Server

    Recently I have begun attempting to convert older projects to captivate 5. However, once I started loading the videos I quickly realized that they are not playing in captivate 5! I know that these videos stream from the server just fine as I have been running them with other products and I know that the paths are correct because I've been using a web player to test the paths of the videos that will not play. How do I get around the bugs in Captivate and get the video working?

    Looking at this issue, here is what I see:
    Looking at the source code from the URL you supplied
    http://www.uab.edu/smsfiles/video.cgi?OU=CEVS&VIDEO=AD_clip_setup.f4v
    Looks to me that the rtmp server has a different name than the one you provided: streamer: ["rtmp://wwwsms.it.uab.edu:1935/CEVS/"]
    Is the file truly an FLV or F4V?  Looks to me like it is a MP4.  [file : "AD_clip_setup.f4v-lo.mp4"]
    I think this will still boil down to getting the correct format for the URI.
    Just my thoughts.

  • How do I play video from photostream on apple TV?

    PhotoStream is now available on my applet TV and the notes on the upgrade said I could play video from my Photo Stream.  However the Photo Stream on the apple TV only presents photos for viewing.  Any idea on how to get it to show my videos?

    Welcome to the Apple Community.
    Unfortunately that's not possible.

  • I have just bought a MacBook Air and i cannot play videos from the internet as it asks for a flash player to be installed i try to download Adobe flash player and it will not allow me to do so?

    I have just bought a MacBook Air and i cannot play videos from the internet as it asks for a flash player to be installed i try to download Adobe flash player and it will not allow me to do so?

    Ziatron is correct that Flash does not work on an iPad, but it does work on a Mac. See Adobe Flash Player 11.2.202.160.

  • Is there a software like flash player for ipad.what software do I exactly need in order to play videos from websites?

    Is there a software like flash player for ipad.what software do I exactly need in order to play videos from websites?

    NKafafi88-
    There may be a couple Apps that may help, but I understand they don't work very well.  The best solution would be to contact the owners of the websites and let them know they need to update their site.
    The alternative I use, is to download the problem video onto my computer, and convert it to M4V or MP4 format using a program like HandBrake <HandBrake>.  Then it can be added to iTunes and synced with the iPad.
    Fred

  • Flash Player 11.6.602.180 installed on Win 7 with IE and can never play videos from

    Hi, I installed Flash Player 11.6.602.180 installed on Win 7 with IE and can never play videos from this site http://w3.newsmax.com/newsletters/uwr/video_hyman.cfm?s=al&promo_code=12CF6-1
    any idea what this site is looking for ? thanks bill m

    What do you see instead of the expected Flash content?

  • Firefox won't play videos from YouTube, Hulu, etc. w/latest Flash version.

    Despite following both Firefox and Flash directions, Firefox won't play videos from YouTube, Hulu, etc. They either never load or they load and freeze within seconds. Before I got the latest versions of Firefox and Flash, I did not have this problem. So there must be a problem in one or both of them. Since I understand from various websites that this is a widespread problem, can Firefox fix this? It's a major flaw in the latest Firefox version.

    '''If you are running Adblock Plus...'''
    While on a YouTube page, right click the ABP icon and "open blockable items".
    When the window opens at the bottom of the page, right click this line: http://s.ytimg.com/yt/swfbin/watch_as3-vfl9DouAr.swf (or some variation) , then "Disable Filter".

  • Play video from input stream

    urgent
    i need to play an mpg file from a jar file but the Manager.createPlayer now only Url object
    is there any other way to play video from InputStream?

    You may want to take a look at this:
    http://www.extollit.com/isdsjmf.php
    I developed a similar implementation of this for a client and it works fine. It's based on using a sequential InputStream as a DataSource for the media player. As you may already know, the Java Media Framework does not seem to support URLDataSource and/or sequential InputStreams.
    This code allows you to play media from nothing more than an InputStream without downloading it all into memory or to a local file. It uses a ringbuffer as a compromise along with some other enhancements.

  • How to create a Playlist in flash Streaming Server

    Hi all,
            am new in the flash streaming server. I download the Flash streaming server and install it its work fine.
    I want know about the following question:
              how to stream the video using playlist?
              What is the format of the playlist?
              can i create a playlist from visual studio.Net and pass the value to the player?
    awaiting your reply,
    Thanks in advance.

    If you have bought Streaming Server License - you want to be able to create any server-side playlists as you cannot write you own customized code on Streaming Server.
    However what you can do is create client-side playlist using client-side code, place all your files in media folder of VOD and use them in your playlist. Playlist is nothing but set of plays which are queued up so you just need to issue NetStream plays with last parameter "reset" set to false - this is so that you do not reset your previous play.
    So it would be like
    ns.play("abc",0,20,true);
    ns.play("xyz",0,30,false);
    ns.play("uvw",0,20,false);

  • Playing mp3 over RTMP (Flash Media Server)

    I've got some mp3 files that are served from a Flash Media Server.  I want to write a Flex application to play them.  Do I need to use NetConnection/NetStream or can I do it with just the Sound class?  I've got a sample app that can connect to the stream with NetConnection/NetStream but I don't know how to connect the netstream data to something that will actually play the sound.
    Will I be able to read the id3 data of the files with this?

    I actually got it working , let me know if that helps
    Create NetStream and attach it to Video Control, then play();
    @return void
      private function connectStream():void {
       // Assign a new Netstream Connection
    if(_nsStream == null){
      nsStream = new NetStream(ncConnection);
      nsStream.addEventListener(NetStatusEvent.NETSTATUS, netStatusHandler);
      nsStream.addEventListener( AsyncErrorEvent.ASYNCERROR,
    handleCatchAllErrors );
      nsStream.addEventListener( IOErrorEvent.IOERROR, handleCatchAllErrors );
      _nsStream.client = {onMetaData:handleMetaData, close:handleCloseStream};
      _nsStream.bufferTime = _videoData.buffer;
       // Assign a new ID3 Netstream Connection
    if( id3ns == null && _videoData.mediaType=="mp3") {
      id3ns = new NetStream(_ncConnection);
      id3ns.addEventListener( AsyncErrorEvent.ASYNC_ERROR,
    handleCatchAllErrors );
      id3ns.addEventListener( IOErrorEvent.IO_ERROR, handleCatchAllErrors );
      id3ns.addEventListener( NetStatusEvent.NET_STATUS, netStatusHandler );
        //HACK: we are required to pass in static duration via XML till we get
    server-side actionscript working
      metadata.duration=videoData.duration;
        id3ns.play(_id3_path);
      id3ns.client = {onId3:handleOnId3};
        _id3Field = new TextField();
      _id3Field.width = _video.width;
      _id3Field.wordWrap = true;
      _id3Field.multiline = true;
      _id3Field.antiAliasType = flash.text.AntiAliasType.ADVANCED;
      //_id3Field.defaultTextFormat = _ccTextFormat;
      _id3Field.selectable = false;
      this.addChild(_id3Field);
       _video.smoothing = _playerData.smoothing;
    video.attachNetStream(nsStream);
        nsStream.play(videoData.file);
      _isPlaying = true;
      createSoundObject();
       this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
    trace("[MEDIA FILE] "+_videoData.file);
    Get MP3 data from ID3 tag
    @return void
    private function handleOnId3( obj:Object ):void{
    if(obj["artist"] != undefined){
      _id3Field.text = "by: "obj["artist"].toString() + "\n";
    if(obj["songtitle"] != undefined){
      _id3Field.text = "title: "obj["songtitle"].toString();
    //if we wan to inject media with other data, add it here
    for( var b:String in obj ) {
      //_id3Field.text += b + ": " + obj[ b ];
      //trace(b + ": " + obj[ b ]);

  • General query regarding the implementation of a Flash Streaming Server

    Hey lads,
    I'm looking at setting up an Adobe Flash Streaming Server at
    work. It will be used primarily to stream training videos across
    our Intranet - we have ~1000 users at the moment, with the capacity
    to expand to ~2000). We are looking at both filming with a camera
    and screencasting (using either
    Camtasia or Adobe
    Captivate) and then encoding to .FLV
    Camtasia can encode directly to FLV, however I'm not too sure
    of the quality, so the Adobe Flash Media Live Encoder looks like a
    good option too. For the time being we will just be concentrating
    on the screencasting though.
    The good thing is i can download a development server for
    free from Adobe which gives me complete access with just a
    restriction on the amount of users that can access the content
    (10).
    From what i can gather the (simple) way it works (and that
    I want it to work) is that you have a standard template SWF
    file containing relevant actionscript (sitting in most probably in
    a html/php/asp/ect file on the webserver), which then calls the FLV
    file from the flash server and streams the content to the clients
    PC. I assume i will pass a variable to the SWF file (the video ID i
    want), and that will then be used to call the corresponding FLV
    file.
    So effectively a YouTube website, i.e:
    watch?
    v=WjK6wNIWzts
    I just wanted to know if anyone had any general tips on how i
    should approach this? Obviously quality vs file size will be a big
    point - deciding on a standard FLV format will be a mission,
    however i do have the benefit of an internal network so can anyone
    recommend some good encoding tips? I was actually thinking of
    encoding a low quality and high quality version, but i don't think
    that's really sustainable/effective.
    There is a bit of documentation around for this, but they
    tend not to answer the basic questions. Am i heading in the right
    direction?
    Thanks for your help :)

    If you are not able to find older version of connector on Metalink then raise an SR with Oracle and give proper Business Justification for the same.

  • Firefox only can't play videos from Hamster web site

    Firefox plays videos from every other site but Hamster. IE and Chrome have no problems playing videos from this site

    Hi .
    Make sure your OS X software is up to date.
    Click the Apple  top left in your screen. From the drop down menu click Software Update.
    Or, open System Preferences > App Store > Check Now
    If your Mac is up to date, most news websites require Flash.
    Back to System Preferences > Flash Player then select the Advanced tab.
    Click: Check Now

  • I am not able to play videos from YoyTube, or videow posted on my blog. That does not happens with explorer, where videos are playing normal

    I am not able to play videos from YouTube, or videow posted on my blog, when I use Fire Fox. That did not happened before the 3.6.14 and allthouhg you informed us that with the 3.6.15 the problem will dissapear, it does not happen. Take into consideration that, with explorer, everything is running fine. I am a long time user o firefox and I donnot want to change. Please give me advise how to solve thiw problem. Tanhks in advance

    Hi, My computer shuts down when I try to do any thing with graphics, ie, watching streamed video or looking at my photo's. this is a recent problem, anyone got any idea's

Maybe you are looking for