Reading video size without onMetaData on live stream.

Hi,
I am a Flash developer and practically know nothing about
FMS.
We encountered a situation when our encoder (not Adobe's one)
doesn't inject metadata into a live stream. So, there is no
onMetaData on the stream. When stream is in 16x9, our players don't
resize the stream according to it's ratio and always display it in
4x3.
Is there a way to read width and height of the video even
though there is no metsdata? Perhaps a method that can be invoked
via responder similar to getStreamLength.
Video is streamed via Akamai.
Interestingly enough when we view the same stream in Akamai
player - video is resized to the proper dimensions/ratio AFTER a
few seconds. Obviously Akamai has a mechanism to detect video
dimensions.
Any help will be greatly appreciated.
Thank you.

My ignorance is the problem.
AS3 Video class has videoHeight and videoWidth properties
that can be used in case onMataData is not called.

Similar Messages

  • How to connect flash video player(like youtube)  to live streaming video the programm like                             

    How to connect flash video player(like youtube) to live
    streaming video the programm like webcamXP?
    Or through a browser to look in a videoplayer video from
    other usual personal computer with the program for a video
    broadcasting from the web chamber.

    you can use google to search for tutorials on skinning the component.

  • How to play live streaming video which is being streamed via http or rtsp

    I am building an application which needs to display live mpeg2 video; the source of the live stream is over e network, e.g,http://xxx.xxx.xxx.xx:8080.
    To see if QT had this capability, In QT for Open URL, I tried, rtsp://xxx.xxx.xxx.xx:8080 and http://xxx.xxx.xxx.xx:8080, but I am not able to see any video. (I tried setting my QT options per posts I have read)
    Also, I'm able to see the live stream using Windows Media Player and VLC. (I used VLC to stream the video over the network and I tried streaming several formats but still could not see video in QT; when using rtsp, status of QT says negoiating and never transition from this state)
    Any advice on this topic?
    Thanks in advance

    QuickTime will not play MPEG-2 content, streaming or otherwise, without the addition of the extra-cost MPEG-2 Playback Component. Even with that component, QuickTime cannot play all MPEG-2 streams. Read the FAQ carefully for details.

  • I have no sound when watching videos or live streams which works fine with IE or Linux on the same system

    I have no sound when watching videos on you tube or live streaming. If I switch to Linux everything is fine in firefox on this system but nothing with firefox in windows. If I use internet explorer everything is fine again, which seems to me to say that the problem lies within firefox 36. Can anyone help with this problem?

    Tried that with the same result. I can't understand why it works with Linux (Ubuntu) and not Windows. IE works as well but I prefer to use Firefox, so I guess I'll just have to switch browsers when playing videos - weird.

  • Blur Effect in live Streaming publish through camera

    Hi Guys
                   I am currently working on a video chat application throgh FMS.live Stream is playing and publishing perfectly on both end.but the thing is that i have to apply blur effect on that live stream on a particular portion.u mean just like (thieves face) or some moving object.can it possible to apply blur on that live streaming .if yes then please tell me.thanks in advance.i am totally confused
    Thanks and Regards
    Vineet Osho

    Hello,
    There are no in box components that will allow you to transmit captured video from a Windows Phone device to Azure Media Services. You will need to create you own implementation. You can do this by creating a custom Media Foundation sync that can plug into
    the MediaCapture element's pipeline. You will then need to modify the captured and compressed video to align to one of the two protocols that Azure Media services can use. At this time Azure Media services can use either Smooth Streaming or RTMP for ingestion.
    You will need to create your own packager (or find compatible packager code from a 3rd party) to package the MP4 encoded data into the necessary format.
    Here is an example of how to create a custom Media Foundation sync (please note you must write your Media Foundation components using C++ MoCOM. We do not support Media Foundation components written in managed languages):
    Real-time communication sample
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Acquiring and buffering a video signal without additional software

    Hi
    I have a generic USB capture box to which I am inputting an RCA video signal only (no sound).
    Am I able to display the video feed in Labview and continuously buffer 30 seconds of it?
    The idea is that when an input trigger fires the buffered video is saved and the live stream continues to save another 30 seconds. Once the trigger has been fired the video does not need to be displayed. When the recording is finished the program continues to monitor and wait for another input.
    I have been told that activex will work, but I don't have any idea how to implement it.
    I am using Labview 8.0 and as this is at University I don't have access to any labview plugins.
    Any help will be very greatly appreciated.
    Mike

    Hi Mike,
    Thanks for using our discussion forums.  In
    regards to your USB device, we do offer an NI IMAQ driver for USB which can be
    found here http://zone.ni.com/devzone/cda/epd/p/id/5030
    .  Though it is not supported by our application
    engineers, this will allow you to perform very basic image acquisition with
    your camera.   
    If you are able to use our Vision products in the future, a
    simple way to save a buffered video in LabVIEW is just to build an array of
    images until you reach 30 seconds (you can calculate this based on your
    frames/sec rate).   In a case structure, we can subset the most
    recent items into a sub array and save that to file depending on the data
    type.  In regards to triggering, we can
    software trigger this configuration using another case structure in the while
    loop so that when it fires the “buffered” image video will be saved.  
    If you would like to use ActiveX you can learn more about
    this application with LabVIEW at our Developer Zone tutorial http://zone.ni.com/devzone/cda/tut/p/id/2983
     .  I hope this gives you a good start.
    Regards,
    Vu Doan
    Applications Engineer
    National Instruments

  • Live streaming h.264 not showing video

    I'm using FMLE 3.1 to stream live video encoded with H.264 format with  FMS 3 and Flash player 10 + AS 3 to connect to the stream.
    When I connect to the stream, just the audio is played. I'm able  even to get the metadata information about the video, but I just receive  the audio.
    I already tried some stuff like
    1. "Flash 10 won't play live stream H.264 after iTunes install"  http://forums.adobe.com/thread/505620. I tested it in a complete  different environment than mine, but the same result.
    2. I've tried some format to play method, but this is just to play  files
    ns.play("mp4:saple.f4v");
    ns.play("mp4:sample");
    3. Also read "How do you watch and record a live h.264" http://www.flashcomguru.co.uk/forum/forum_posts.asp?TID=4649 , but I  don't get even to play the stream at first place.
    This is the code I'm using 
    import flash.media.Video;
    var video:Video = new Video(720, 480);
    var ncVideo = new NetConnection();
    this.ncVideo.addEventListener(NetStatusEvent.NET_STATUS,  onNetStatus);
    this.ncVideo.connect("rtmp://localhost/livecast", "user");
    var customClient:Object = new Object();
    customClient.onMetaData = metaDataHandler;
    function onNetStatus(e:NetStatusEvent) {
         if (e.info.code == "NetConnection.Connect.Success")
                createNetStream();
    function createNetStream(){
         var ns = new NetStream(this.ncVideo);
         ns.client = customClient;
          ns.addEventListener(NetStatusE vent.NET_STATUS, onNsStatus);
         ns.play("livestream", -1);
          this.video.attachNetStream(ns) ;
         this.addChild(video);
    function onNsStatus(e) {
         trace("onNsStatus " + e.info.code);
    function metaDataHandler(infoObject:Object):void {
         trace(infoObject.width + " - " + infoObject.height);
    Another detail is that when I record the video to a file for  instance "sample.f4v", I put this video in the FMS but when I connect to  this stream I receive the "FileStructureInvalid" error message.
    I went from changing the extension to .flv http://www.adobe.com/devnet/flashplayer/articles/hd_video_f  lash_player_04.html to the solution to flatten the files http://www.flashcomguru.com/forum/forum_posts.asp?TID=4006 but this is  not the case because I'm using FMS to stream the recorded video.

    Please note that this  forum category is for help with the Flash Player and  NOT for users seeking assistance with  programming Flash and/or Flex. If you are seeking assistance with programming,   click here and choose the  proper category to post in.

  • Live stream video doesn't work on Stickam

    I am usign Safari 5.0.6 on Leopard. Stickam live streams won't load. The rest of the page loads but not the live video. Other live streams on other web pages load fine but not on Stickam. Is it a problem with my setup or stickam? It works on my ipod touch. I don't understand.
    Any help would be appreciated. Thanks

    1. System Preferences > Other/ Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
         Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
        http://get.adobe.com/flashplayer/?PID=7105813 
        Follow the prompts.
        Quit Safari.
        Restart computer. Relaunch Safari.
    2.  Enable Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.

  • Video live stream won't play

    My Maxx plays some live news videos and sometimes it does not depending on the site. I tried different video players like the MX and others to no avail. I tried on chrome
    And other browsers.
    Not sure which way to go with this.
    Any ideas would be much appreciated.

    I went to a Verizon store (agent) yesterday after work and tried the S4. They didn't have a live S5, and it did play the sites I normally use. The iPhone was able to live stream it also. I think its the Razor Max that's missing whatever it needs to play those videos.... plug ins, etc....
    Its mind boggling with all these phones out there.
    Anyway, thanks for your input, Suzy.

  • Could you play a live stream from safari to apple tv without going through itunes?

    could you play a live stream from safari to apple tv without going through itunes?

    There is no way to stream Safari content, with or without iTunes, to your AppleTV.
    The only way would be to use a mirroring feature given that you have an AppleTV 2nd gen or newer and a 2011 or newer MBP running mountain lion.
    If not, some third party software like AirParrot can also gives you way to mirror your MBP display on the TV.

  • Live Streaming from Video File

    Hi everyone,,, im newbie in programming streaming video with flash....ater reading documentations i tried the instructions on doc, i got a question that i've not been solved. How to make a "live streaming" from "video file". It likes a live streaming from camera but it uses video file  as the source.... many thanks

    Do you mean you have video file but you want to publish it as live stream , am i right? If yes following is the solution, but before that let me clarify you will need server to do it , i mean there is no way Flash client (i.e. .swf file running in Flash Player) can publish file from local disk.
    Now let me tell you how to do it from server:
    Place your video file under "streams" folder of your application i.e. say "myVideo.flv" under  <FMS root>/applications/myApp/streams/_definst_
    Now write following code in your main.asc file (this file would be under <FMS root>/applications/myApp )
    var mystream;
    application.onAppStart = function(){
         mystream = Stream.get("livestream");
         mystream.play("myVideo",0,-1,true);
    This will publish "myVideo" file as live stream under name of "livestream". Client would have to subscriber using NetStream and
    use ns.play("livestream",-1,-1)
    You might have to write some extra code if you want to loop same file else once play of recorded file gets over , live publish will automatically stop.
    let me know if this solves your problem

  • Tutor/live streaming surf video

    I'm looking for a tutor in the Santa Cruz Ca or bay area. I want to be able to do live streaming video on the web. Film surfing in the day, edit it & show it at night on the web.
    I'm currently taking a HTML class & have asked the professors at my college, but no one could help me.
    The language & everything about this, is new & foriegn to me.
    thank you pat

    Yes, TeraGlobal Communications has live, streaming video using Java Media Framework. See http://www.teraglobal.com/ and download the TeraMedia demo for Windows.

  • Problem with live streaming video after system updates

    Dear all,
    I hope you can assist me on this.
    Yesterday, I downloaded the following automatic updates: iLife Support 9.0.4, Remote Desktop Client update 3.4, Mac OS X Update Combined 10.6.7, Airport Utility 5.5.2.
    After that, I could NO MORE watch live streaming channels. To be precise, l can properly hear the sound, but not see the video.
    I wish to underline the fact that before installing the automatic updates listed above, I had a clear sound and video of all live streaming sites.
    I downloaded the latest versions of JAVA and Flash, but unfortunately they didn't solve the problem.
    Therefore, I am quite sure the live streaming disfunction has to do with the system automatic updates. Is there any way to uninstall yesterday's updates without compromising the various softwares and OS performance?
    What else could be if not related to the system updates?
    Looking forward to hearing from you. Thanks in advance.

    Stan,
    I hadn't heard of gspot before.  I downloaded it and it looks like a nice, handy tool.  Thanks.
    After running it, I didn't see anything that caught my eye as unusual (corrupt file, unknown codec, etc.)  I have posted a screenshot at the following URL if you care to look.
    www.cbvideo.com/gspot/gspot-out.jpg
    Now, let me add to the mystery.  I was just able to burn it without incident with Encore 1.5 and the same chapter mark locations.  There are only two things I can think of that would be possible causes.  1) something quirky about CS3, even though I've not had any prior problems in two years with it for my business OR 2) the file had become corrupted when moving from the capture computer (the older computer with 1.5) to the newer computer (with CS3).  As the file seems to be okay on the 2nd computer (plays fine in WMP and imports into both Premiere and Encore), I'm leaning toward #1.
    I have been able to successfully work around the problem to finish this job for the client, but I'd still like to know what's going on for future reference.  If anyone has other ideas, please let me know.
    Robert

  • How to create encrypted HTTP Live Streaming Videos?

    Does Compressor4 have any features (or scripts that can be run post-compression) to create encrypted HTTP Live Streaming Videos?
    It works great for creating UNencrypted ones, but I need to make some encrypted ones also.

    I found it out: You have to use "New Batch From Template" and choose “HTTP Live Streaming". Then you have to create a new folder where the output goes to in the "Information" window. There is also a checkbox which instructs Compressor to create a "readme.html".
    Then a folder for every quality setting is created, where all the .ts files go to and the playlist files as well. Works like a charm, as soon as you found out how to do it.

  • When I import my Sony video, which is in m2ts format, the file size is a few times larger.  This affects the volume of clips for creating the blu-ray or DVD discs.  How can I squeeze the file size without sacrificing the quality of output?

    When I import my Sony video, which is in m2ts format, the file size is a few times larger.  This affects the volume of clips for creating the blu-ray or DVD discs.  How can I squeeze the file size without sacrificing the quality of output?  Is there any other ways of achieving this?

    wongrayd wrote:
    Thanks.  I do not have the experience on burning discs from iMovie for the movie after editing (ie for video discs players).  It seems that i cannot find the relevant command in the tool bar for this purpsoe.  Would you please show me the way?
    The command is gone because iDVD has been discontinued by Apple. After Apple discontinued iDVD they removed the iDVD burning link from iMovie. I still use iDVD sometimes, only because I have an old copy.
    wongrayd wrote:
    You have mentioned about Handbrake as a converter.  What is the RF no. (under Constant Quality) meant?  It seems that the smaller the no. is, the better quality will be.  What is the optimal no.? or should we use the Average Bitrate? Again, what is the best rate?  Furthermore, which format is more suitable or the best: H264 or mpeg 2/4?
    I don't know what RF means. When I have used HandBrake, I've used presets that apply to what I want to do, so I don't know the meaning of each individual setting. However, it appears that many of them are listed in the HandBrake User's Guide that is linked from the Help menu in the program:
    https://trac.handbrake.fr/wiki/HandBrakeGuide
    wongrayd wrote:
    For iMac, except iMovie, what other software is the best for the amateur?  I have read Photoshop.  Can this support m2ts files and user friendly?
    Photoshop is not amateur-level software, and although it can edit a video, it cannot burn a DVD. Unfortunately, because I still use iMovie, I haven't tried anything else. You might want to read the reviews of various DVD-burning applications in the Mac App Store.
    And maybe another forum member will jump in and help us here!

Maybe you are looking for

  • [SOLVED] Thunar 1.6 doesn't drag-and-drop with the right mouse button

    Hallo all. It might be something I've done (though I did delete my ~/.config/Thunar directory before upgrading), but Thunar doesn't let me drag-and-drop with the right mouse button, thus stopping me from copying something instead of moving it, etc. H

  • SQL query optimization by changinf the WHERE clause

    Hi all, I need to know about the SQL query performance improvement by changing the WHERE clause. Consider a query : select * from student where country ='India' and age = 20 Say, country = 'India' filters 100000 records and age = 20 filters 2000 reco

  • RoboHelp 5 & Word 2003

    Below is a macro, which disables the enter key while completing a form, that is contained within a 2003 Word Document. When the document is opened through WebHelp this error is produced: Runtime error 4605 : This command not available. However, if yo

  • Dialog popup promting user to accept one of the options

    I have a VI consisting of three sub VI's which perform the same application. I would like the program to pop up a dialog box asking the user which subvi he would like to proceed with. The program should lead to the appropriate sub vi and continue upo

  • Battery life drops after Mountain Lion and then hard drive crashes. Coincidence?

    On October 20, I purchased and downloaded Mountain Lion for my 2009 MacBook Pro. I soon began seeing a decrease in battery life. When hovering over the battery icon to check the time left, I noticed it said "Service Battery". The notebook otherwise s