H264 stream is not encoded properly in AIR 3.2

Hi all,
I'm running latest AIR runtime on my desktop: 3.2.0.2070
My air appliation is compiled with latest air sdk also: 3.2.0.2070
Platform is Windows XP.
The application is aka Cirrus Video Phone Lab app, where streaming is done to another instance of the AIR application.
I do use this code to enable H264 encoding on the outgoing stream:
     var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
     h264Settings.setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3_2);
     outgoingStream.videoStreamSettings = h264Settings;
Once my app is running i do check the VideoStreamSettings.codec on both outgoing and incoming streams:
     trace("outStream codec: "+outgoingStream.videoStreamSettings.codec+"\n");
     trace("inStream codec: "+incomingStream.videoStreamSettings.codec+"\n");
Here is the output:
     outStream codec: H264Avc
     inStream codec: Sorenson
So it appears that incomingStream is using Sorenson?! How is this possible to encode in H264 and decode using Sorenson and see the video?
Or really it is Sorenson which is used for encoing irrelevant of what videoStreamSettings is set to? How about Adobe's claim they support H264 on the Air web page?
Or am I missing something completely?
Thanks,
Sd.
An update:
I've recompiled my test project to use web application and run it on a standalone flashplayer11_2r202_228_win_sa_debug_32bit.exe
Result is the same: outgoing stream prints H264Avc, while incoming does Sorenson.
So, I'm not really sure what's the deal about Adobe's claim about H264 support in AIR3 and FP 11.2? There are no H264 support in both. Period.
Too bad Adobe, too bad... Sorenson has been since FP6 right? It's year 2012 now. I just want to remind you if you forgot about this.
I undersdtand making creative art on the web page with useless claims (http://www.adobe.com/products/air/features.html) is much easier then making
a product which stands for them, but with bugs like that it's better to keep the mouth shut then claim non-existent "features". Please also explain to us
how are we suppose building that "cutting-edge" application running on "billions" of devices? Anyone?

When I try this on a MacBook I observe incomingStream.videoCodec=2048. What does 2048 mean? It's not in the referenced document.
When I try this on iOS and Android, assigning a value to outgoingStream.videoStreamSettings does not work. The value of outgoingStream.videoStreamSettings is null after assignment. When I look at the value of incomingStream.videoCodec on the decoding side I see a value of 2 which I understand to mean Sorenson H.263. So it doesn't look like H264 encoding works on iOS or Android. My code is simple.
outgoingStream = new NetStream(connection);
outgoingStream.client = this;
outgoingStream.addEventListener(NetStatusEvent.NET_STATUS, outputNetStatusHandler);
outgoingStream.addEventListener(NetDataEvent.MEDIA_TYPE_DATA, outputNetDataHandler);
outgoingStream.attachCamera(camera);
var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_3_1);
outgoingStream.videoStreamSettings = h264Settings;
trace("outgoingStream.videoStreamSettings=" + outgoingStream.videoStreamSettings + " " + describeType(outgoingStream.videoStreamSettings));
outgoingStream.publish("test");

Similar Messages

  • Accented characters not encoded properly in Mail since 10.6

    Messages I type that contain accented or otherwise special characters appear fine as long as I'm typing them but get re-encoded in a way that is unreadable by recipients AND by me. I.e, if I go to my Sent folder and check such messages, all accented characters have become unreadable.
    I don't remember ever having that problem with 10.5
    It also does not seem to be a systematic issue. I think I have it more when answering to a message or when transferring a message, as if Mail used the encoding method of the initial sender.
    Anyone else has this problem?

    The general approach at this time is to ask if you've checked for any problematic fonts (all languages) with Apple's Font Book (look in the Applications folder). Find and remove all duplicates also.
    Start there to be sure all fonts that are in play come out with a clean bill of health.
    Don't hesisate to perform wholesale deletion of old and/or little used fonts - be skeptical of anything that has come from Office 2008, including those related to an Equation Editor installation.
    By all means be sure any 3rd party apps AND plug-ins are Snow Leopard compatible.
    An additional measure is to clear the existing font caches:
    http://www.macworld.com/article/139383/2009/03/fontcacheclear.html
    That said, 10.6.2 release notes have this to say about fonts:
    http://support.apple.com/kb/HT3874
    Fonts fixes provided for:
    • an issue with font spacing
    • an issue in which some Fonts are missing
    • font duplication issues
    • an issue with some PostScript Type 1 fonts not working properly
    Good luck in any case.

  • The Unit, Season 4, Episode 9 "Shadow Riders" Audio Not Encoded Properly

    Purchased a season pass for "The Unit" season 4. The most recent episode, 9: "Shadow Riders" has an issue where the audio has not been encoded properly. The episode opens with ambient soundscape and soundtrack, however no dialog is audible. This continues the entire duration of the episode making it unwatchable.
    Apple, please issue an update to this episode that has been encoded correctly.
    (repost of http://discussions.apple.com/thread.jspa?threadID=1803771&tstart=15 -- unsure where to post)

    To report, you have to click on the season pass in your purchase history which then opens up all the individual episodes. Glad apple is on it. Here is the reply I just got which is a little unsatisfactory in that they just say come back in a few weeks.... I'd prefer a look into it, fix it, then e-mail me cycle.
    "I understand that you received a download of "The Unit" that has an issue with the dialogue sound. I'm sorry to learn that this item did not meet the standard of quality you have come to expect from the iTunes Store.
    I have reversed the charge for the purchase. The credit of $1.95 for that episode should be posted within five business days.
    I have also submitted this item for investigation. Apple takes the quality of the items offered on the iTunes Store seriously and will investigate the issue with this item, but I can't say when or if the issue will be resolved. Please try again in a few weeks.
    Please ensure that your computer meets the minimum system requirements, and that iTunes and QuickTime are up to date on your computer. To play purchased videos, you need iTunes 7 or later and must meet the "Additional Video Requirements", which are listed on this page under the Windows/Mactinosh system requirements:"

  • Photo streaming is not working properly

    I have an I phone & Ipad. Only part of the photos i take on the Iphone get uploaded in photostream, despite the fact that there are only 250 images in the stream. I took 4 photos yesterday, but only two have got uploaded. This happens all the time, and I do not understand why all photos taken together, do not show up. Tried restting in Icloud, still it does'nt work!

    I was wondering if this would effect anything
    Should not be a problem at all and should not effect Photo Stream.
    Try Resetting your Photo Stream

  • Netflix streaming does not load properly. Other netflix features are fine.

    Pre-FF 4 I had no problem loading a streaming netflix video in mere seconds. Now it labors for minutes, freezing my computer. I don't have this problem in IE (and could watch movies there), but would rather use FF 4. Any ideas?
    (by the way, this is the second time I've posted this question, but it doesn't come up in support search).

    There is a massive conspiracy by cable and DSL ISPs against Apple taking away TV viewers.
    Most networks are overloaded and operating at full capacity.  However, a solution is coming.
    Technology experts are working on a movie storage system where YOU have physical possession of the movie.
    This system stores the movie digitally on an optical disk system that will not be dependent upon a congested, complicated, and fragile network.
    Because all of the data is stored only a few feet from your television, all the bottlenecks are removed.  Performance and reliability are virtually flawless.
    Further, the system will not utilize any form of security codes, authentications, or passwords. Once the optical disc is purchased it can be moved around freely at will, and can even be lent or given to friends and neighbors with zero hassles.

  • Streaming Video Not Working Properly

    Starting yesterday, I noticed that anytime I attempt to view a video from YouTube or any other video streaming site, the videos only load to a certain point and stop. It doesn't seem to matter what website I'm at. The load bar loads to about an inch and then that's it. Help! Thanks!

    Was this problem solved? I am experiencing the same issue, on my iMac G4 and it may have started with the QT update as well. Video used to work fine, now it is choppy and eventually hangs up while the audio continues normally. This happens during playback in iTunes, Quicktime, and Foto-Magico (slideshow program)
    iMac G4 800mh   Mac OS X (10.4.9)  

  • Umlaute are not encoded properly

    Hi there
    I try to solve this problem for quite some time, but I am getting nowhere.
    I've got a servlet, which triggers a request to another server, which is usually a third party. The request is a mutipart-form POST. One part of the form is a sender's address which in case of Z�rich finally is a question mark at the second character "?". This address field is retrieved from an XML File which I converted to ISO-8859-1 and set the encoding accordingly.
    I am using a Tomcat Servlet Engine.
    If anybody could help me out, I'd be pretty happy :-)
    Thanks
    Tarik

    First you need to figure out where the conversion happens. Log the data immediately after you receive it - also do log.log("Z�rich") with a literal string, to make sure that your logging package can handle 8-bit chars. Or log (int)received_string.charAt(1) to see if the ASCII code is that of '?' or '�'. Or use tcpdump (Unix) or Ethereal (DOS) to see what moves over the wire.
    A few possibilities, depending on where the error happens:
    The request to the third party server needs an "Accept-Encoding" header.
    The servlet uses e.g. an InputStream or other byte->char converter that needs to be told what charset to use (see second parameter to InputStream's constructor).

  • SetTimout doesn't work properly in AIR 2.7 for IOS

    Hello,
    I notice the setTimout() method does not work properly in AIR 2.7 for IOS.
    Closure function isn't execute with the proper delay...
    See bellow (Timeout.execute is a workaround -> http://www.displayobject.fr/2011/06/16/a-timeout-class-to-replace-settimeout-in-air-2-7-fo r-ios/)
    Jonas

    Thanks for bringing this issue to light.
    We are looking into it.

  • Flash players not working properly

    hi there, since i have reinstalled my laptop, i am having
    problem watching online videos properly, its like sounds comes
    perfect, the video slows down and even stuck, cant watch whats
    going on in the video. Could you please guide me how to rectify
    this problem. The video streaming is not working properly as the
    sound streaming is fine. Our internet is fine as its been check on
    another Laptop and a Desktop Machine. Kindly reply me back asap.
    Many thanks.
    Regards,

    Hi Harvardbothun-
    I still don't know what "reinstalled my laptop means". Put it
    back on your lap? Humor...arr-arr.
    Anyway, you have Firefox with the latest FP10 plug-in. Have
    you verified this with the "Version Tester"
    http://www.adobe.com/software/flash/about/
    and checked the support pages at
    http://www.adobe.com/support/flashplayer/
    I ask these questions not to be mean, but to verify your
    version and make you aware of the differences between IE FP
    (ActiveX) and FF FP (plug-in). Also... the version checker will act
    funky if you have 2 different FP versions installed, such as your
    XP's OE IE and your added FF. Look in Control Panel, Add/Remove
    Programs. Do you see a previous version of FP there? You may need
    to update your IE's FP as well, it could be conflicting with your
    FFFP.
    Another thing to check.... AVG8's Linkscanner has caused some
    issues, mostly by slowing down site-loading. To test this, turn
    off/diable that feature. Yes, it'll whine about it. (end of part 1)

  • Please prefix 'mp4:' to the stream name to record H264/AAC/HE-AAC encoded data at FMS using DVR...

    I was able to modify the main.asc file in the application/livepkgr directory to include:
    * DVRSetStreamInfo :
    * This prototype was created to allow DVR recording funtionality to FLME to FMS
    Client.prototype.DVRSetStreamInfo = function (info)
        var s = Stream.get( "mp4:" + info.streamname + ".f4v" ) ;
        if (s)
            if (info.append)
            s.record ("append") ;
            else
            s.record () ;
            s.play (info.streamname) ;
    I get three status messages in the FLME encoding log:
    Requested DVR command has been successfully issued to Primary FMS server for stream livestream1
    Requested DVR command has been successfully issued to Primary FMS server for stream livestream2
    Please prefix 'mp4:' to the stream name to record H264/AAC/HE-AAC encoded data at FMS using DVR feature
    Now I have a few issues:
    1. How to I fix the issue with the 3rd status message "Please prefix 'mp4:' to the stream name to record H264/AAC/HE-AAC encoded data at FMS using DVR feature" since the code above is prefixing the "mp4:" to the stream name.
    2. In the applications/livepkgr/streams directory there is a file called "undefined.f4v" which is telling me the code above isn't passing the info.streamname variable.
    3. Also, what do I need to do to playback this .f4v file. I've tried opening it with Adobe Media Player, but it doesn't recognize it.
    I'm obviously using multi-bitrate streaming and that is working flawlessly.  My goal is to record this livestream to later playback as an mp4 file.
    Any ideas?
    UPDATE:
    I know on page 15 of the FMS 4.5.1 developers guide, "Configure DVR (HDS)" under "Publish a DVR stream", it states "To Publish a DVR stream from FLME, DO NOT check Record OR check DVR Auto Record. Publish the stream just as you publish any live stream. In the next section "Play DVR streams" is states that I can use SMP (Stobe Media Playback), which I am.  So that brings up two more questions:
    1. Why is my SMP Player not displaying the DVR funtionality (See image):
    In my SMP configuration, my streamType is "LiveOrRecorded" - default. There is a streamType = "dvr", but will I lose live funtionality?
    2. If I want to later on, package the stream into an mp4 file and play it back later for those who missed the live stream, what is the best approach for that?
    Message was edited by: giostefani

    Two things: You need to have "DVRCast" application on server-side i.e. "dvrcast_origin" for DVR recording to work and secondly for mp4 recording your stream name should be "mp4:<streamname>.mp4" while publishing.

  • Macbook Air Late 2010 model, 10.6.7, 2.13 4g ram. Trackpad is not working properly and in sometimes not at all.

    Macbook Air Late 2010 model, 10.6.7, 2.13 4g ram. Trackpad is not working properly and in sometimes not at all. Need suggestions to resolve this issue?  I have applied all Mac updates and still having problems with the trackpad.

    The machine has a 1 year warranty, book an appointment with your local Apple Store or AASP to have it looked at.
    You can try doing a SMC reset however I don't think that is the solution.
    SMC RESET
    • Shut down the computer.
    • Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    • On the built-in keyboard, press the (left side) Shift-Control-• Option keys and the power button at the same time.
    • Release all the keys and the power button at the same time.
    • Press the power button to turn on the computer.
    PRAM RESET
    • Shut down the computer.
    • Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    • Turn on the computer.
    • Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    • Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    • Release the keys.

  • Bluethoot and Wifi is not working properly in my apple ipad air

    Hello sir,
    I m having apple ipad air with serial no: DM*****4HY and i m facing problm with my bluetooth and wifi. Both is not functioning properly. To solve this i have done Factory reset ang setting reset both. But even after doing this my problem of bluetooth and wifi didnt solved.
    <Edited by Host>

    should not post serial # or any other identifying info. Have asked the Hosts to remove.
    meanwhile, verify iOS 7.1.2? Is the problem NEW? If so, what has happened recently regarding update/upgrade/new software?
    CCC

  • Skype is not working properly on my ipad air it is getting disconnected in every 45 sec

    Skype is not working properly on my ipad air it is getting disconnected in every 45 sec
    Iup graded the OS from 7 to 7.1 still the problem remain same Please help me to trouble shoot

    Trouble shoot your wifi connection.  If wifi is slow to buffer videos it will also have a problem with video chats.

  • The u, j, m and 7 keys on the keyboard are not functioning properly on my macbook air. Please Help!

    The u, j, m and 7 keys on the keyboard are not functioning properly on my macbook air. In its place are a random assortment of keys (Ex - u = "eqrw" or "IOUY"). This randomly happened when logging back in after sleep mode. No liquid damage at all. Please help!

    OK, I fixed the problem by doing a SMC (System Management Controller) reset as follows:
    1. Powered off my MacBook and removed everything connected except for the power chord.
    2. When powered off, I held "Shift" + "ctrl" + "Option" + "Power button" for 5 seconds or so until the little light on the front started to blink rapidly.
    3. Powered up my Mac, which took a little longer than usual to start and tested the "missing" keys which now works perfectly again.
    Just added another couple of years usage with my aging mac :-)

  • IPad air Smart Cover not aligning properly

    Is anyone else having issues?
    My nice new iPad air arrived on Tuesday, 3 days latter I received my apple Smart Cover! Why not send them together? That's another storey.
    After a days use, I notice that the cover is not aligning properly, then I read online that it could be an issues with the actual iPad not the cover, anyone else having these problems?
    Experienced outcomes?
    Regards
    Norm.

    You don't have this option?
    Open Settings->General->Lock/Unlock...make sure it is toggled on.
    Also, try restarting the iPad then check Settings again.
    When the iPad recognizes that the cover is installed that setting should appear and as I can recall, it defaults to that setting being ON.  Are you using an Apple Smart Cover or a third party cover.  If it's an Apple cover & that setting doesn't appear, take the cover back to the store & exchange it,  there may be a problem with the magnet placement in the cover.  If that doesn't fix the issue then you may have to make an appointment at a Genius Bar to have them run a diagnostic on your iPad.

Maybe you are looking for

  • I can no longer use Photoshop for UI Design (PS CC + Retina display)

    Since I bought the new MacBook Pro with retina display, Photoshop can no longer be an option for user interface design. I'm runningn the last Photoshop CC update, and each file opens at 50% size compared to other standard displays, which makes workin

  • Migration between two environments which can't communicate with each other

    My customer is intending to do migration from test environment to production environment using CCM. But the two environments are not in the same network. The environments' setting is as blew. BO TEST Repository can communicate with Web BO Server. BO

  • IPhone 3G iPod Application refuses to play songs in correct order

    iPhone 3G running OS 4.0.2. Album tracks will not play in correct order. I do not have shuffle switched on. Albums tracks are displayed in correct sequence on both iTunes and iPod on the iPhone. When played on PC with iTunes no problem and everything

  • Frequent tab in the Tray of the Home Page

    I have upgraded my Curve to the 6.0 operating system. On the home screen there is now a "Favorites tab, Frequent, All, etc.... I want to get rid of the" Frequent" tab or at least get it to not populate that tray item or items Does anyone know how to

  • OCCI Compile Error.. Please Help me....

    I'm Developing on the Compaq Tru64 Unix Version 5.1b I'm attempting to compile/link Oracle OCCI demo using Tru64 cxx with no success Compile error: cxx: Warning: /pdms_appl/oracle/product/rdbms/demo/occiObjects.h, line 119: function "oracle::occi::PO