Media Foundation Source or H264 / AC3 differences between Windows and Phone 8?

I've got a working Matroska (MKV) Media Foundation Source for a Windows Store app (PC x86). It will play several different matroska files that contain H264 encoded video and AC3-encoded audio.  It even has seek support.  I've written the app
as a HTML/typescript Universal app with the MF Source as a C++ dll. 
The problem is that the same code will not work on Windows Phone 8.  I can play videos that don't require the external MF Source (i.e. MP4 files and AVI files) just fine on both platforms through my app, but the same MKV videos that played on an x86
PC will not play on Windows Phone 8 (Lumia 920).
I looked at the specs for the Snapdragon processor and it should be able to support both H264 at 720p resolution and AC3 (2-channel only).  So I don't know what else I need to do to get this to work on WP8.  The audio I'm trying to play is actually
6-channel, so that made me wonder if it was failing because WP8 supports 2-channel max, but I would have thought the audio just wouldn't work and the video would play normally.
Does anyone have any suggestions?
*edit* - just to be more specific, I can parse the file and create the presentation descriptor without errors.  But when I finish opening the file and call the event for that, nothing else happens.  What is weird is that the javascript video player
never throws the "canplay" event, nor does it throw the "error" event.
Lee McPherson

Thanks, not a bad suggestion to try. 
On my Windows machine, I tried to get the MediaEncodingProfile via the createFromFileAsyc method.  With a known file type, it outputs all properties of the video and audio streams (bitrate, etc).  With an MKV file (container file with H264 video
and AC3 audio), I only get the type and subtype properties. Everything else is zero or null.  This is because in my MFSource, I only set the type and subtype.  This still allows the video to play on my windows machine.  I assume the
built-in MFTransform for H264 video-to-uncompressed video parses the stream to get the relevant information.  Likewise for audio.
On Windows Phone, when querying the file's MediaEncodingProfile, I get the same result. This is telling me that my MFSource will parse the file properly and set the subtypes for video and audio correctly.  Everything else is still null or zero. 
However, the file does not play.  There is no returned event to the video element that it even *can* play.
Perhaps, I need to fill in the video and audio stream properties on the Windows Phone version.  I really don't want to because that would mean having to parse some of the underlying video and audio streams themselves, not just parsing the container
information.  (More work!)  But this is what I mean when I ask about the differences between Windows and Windows Phone... perhaps the WP8.1 & Windows MFTransforms are different? 
*EDIT* - I do get a JavaScript Console error that I didn't notice before: AUDIO/VIDEO: unknown MIME type.  (VS error code: MEDIA12899)
Lee McPherson

Similar Messages

  • Difference between Windows and Mac versions

    Could anyone tell me whether the files generated by the Mac version of In-design stricly identical to the *.indd and other files (templates, libraries) generated under Window? If not, what are the differences? Thanks in advance for any help.

    There is no significant difference, but they will not be bit-for-bit identical.
    For instance, the INDD file format records which version and platform of InDesign created the file, so that small piece of information will certainly differ. Also, historically, when Macs used non-Intel processors with different byte order, ID may have stored some numbers in reversed byte order. But since everything is Intel now, that's not an issue.
    In any case, there is 100% compatibility between both platforms. Mac ID can read Windows ID and vice versa.

  • What is the difference between Windows and Mac formating?

    Hello guys!
    My question is in subject, just wondering what is real difference and what kind of restrictions in usability i could expect?
    Thanks,
    Ivan

    Mac OS X uses a file system that it inherited from Mac OS called HFS Plus. HFS Plus is a metadata-rich and case preserving file system. Due to the Unix roots of Mac OS X, Unix permissions were added to HFS Plus. Later versions of HFS Plus added a journal to prevent corruption of the file system structure and introduced a number of optimizations to the allocation algorithms in an attempt to defragment files automatically without requiring an external defragmenter.
    Filenames can be up to 255 characters. HFS Plus uses Unicode to store filenames. On Mac OS X, the filetype can come from the Type code stored in file's metadata or the filename.
    HFS Plus has three kinds of links: Hard links, Symbolic links and Aliases. Aliases are designed to maintain a link to their original file even if they are moved or renamed.
    FAT32
    In order to overcome the volume size limit of FAT16, while still allowing DOS real-mode code to handle the format without unnecessarily reducing the available conventional memory, Microsoft decided to implement a newer generation of FAT, known as FAT32, with cluster counts held in a 32-bit field, of which 28 bits are currently used.
    In theory, this should support a total of approximately 268,435,438 (< 228) clusters, allowing for drive sizes in the range of 2 terabytes. However, due to limitations in Microsoft's scandisk utility, the FAT is not allowed to grow beyond 4,177,920 (< 222) clusters, placing the volume limit at 124.55 gigabytes, unless "scandisk" is not needed [3].
    FAT32 was introduced with Windows 95 OSR2, although reformatting was needed to use it, and DriveSpace 3 (the version that came with Windows 95 OSR2 and Windows 98) never supported it. Windows 98 introduced a utility to convert existing hard disks from FAT16 to FAT32 without loss of data. In the NT line, support for FAT32 arrived in Windows 2000.
    Windows 2000 and Windows XP can read and write to FAT32 filesystems of any size, but the format program on these platforms can only create FAT32 filesystems up to 32 GB. Thompson and Thompson (2003) write[4] that "Bizarrely, Microsoft states that this behavior is by design." Microsoft's knowledge base article 184006[3] indeed confirms the limitation and the by design statement, but gives no rationale or explanation. Peter Norton's opinion[5] is that "Microsoft has intentionally crippled the FAT32 file system."
    The maximum possible size for a file on a FAT32 volume is 4 GiB minus 1 B (232-1 bytes). For most users, this has become the most nagging limit of FAT32 as of 2005, since video capture and editing applications can easily exceed this limit, as can the system swap file.
    (From wikipedia)

  • Quality difference between Windows and Mac

    Well, that's the problem:
    The same song, (Skull and Crossbones by Klaus Badelt), played under my Mac partition or under my Windows partition is sounding different.
    I thought the speakers were broken, but it's not that. Under the Mac iTunes, it sounds horrible, it's distorted and compressed. Equalizer is set the same (Classical), the file is the same, same machine, same application (iTunes 7.6.2), everything is the same. Except the library size. Under Mac it's 13.4 GB, under Widnows only a 100 MB...
    Any ideas?
    Thanks

    Neither version of iTunes will make jewel cases.

  • Ota transfer difference between windows and androi...

    , ota transfer in windows just has increased to 100mb....what is the limit for android os?..nd why the above 100mb apps need ota ?

    Its actually a limit for Data Download thru' Mobile Data. You need WiFi if you want to download anything thats higher than this limit. The reason is, though some users have 'Unlimited' Mobile Data plan most users have a 'Cap' and this limitation will prevent this majority of users from getting surprisingly high Billing amount.. 

  • DBLoad utility: (huge) difference between Windows and Linux

    Hello
    I have a backfile of 55M entries to load. I have prepared it under Linux (Dual Core machine + 4GB - Mandriva distribution - java 1.6). When I run DbLoad, here is the (partial) log:
    java -Xmx2048m -jar /home/pd51444/jNplMatchBackfile_Main_0.2/lib/je-3.3.69.jar DbLoad -h . -s group.db -f group.db.txt -v
    loaded 2817812 records 63275 ms - % completed: 5
    loaded 5624893 records 141023 ms - % completed: 10
    loaded 8462602 records 962019 ms - % completed: 15
    loaded 11285385 records 2401566 ms - % completed: 20
    loaded 14094928 records 786746 ms - % completed: 25
    loaded 16914275 records 8965457 ms - % completed: 30
    loaded 19741557 records 15766560 ms - % completed: 35
    loaded 22567310 records 2226015 ms - % completed: 40
    loaded 25376363 records 19662455 ms - % completed: 45
    Then I copied the exact same file on my Windows laptop (dual core + 2GB - XP - java 1.6), and DbLoad goes much faster:
    C:\nplmatch\db&gt;java -Xmx1024m -jar ..\jar\je-3.3.69.jar DbLoad -h . -s group.db -f group.db.txt -v
    Load start: Thu Oct 02 10:33:23 CEST 2008
    loaded 2817812 records 59876 ms - % completed: 5
    loaded 5624893 records 69283 ms - % completed: 10
    loaded 8462602 records 77470 ms - % completed: 15
    loaded 11285385 records 69688 ms - % completed: 20
    loaded 14094928 records 62716 ms - % completed: 25
    loaded 16914275 records 59122 ms - % completed: 30
    loaded 19741557 records 63200 ms - % completed: 35
    loaded 22567310 records 58654 ms - % completed: 40
    loaded 25376363 records 61482 ms - % completed: 45
    loaded 28197663 records 58889 ms - % completed: 50
    loaded 31019453 records 55937 ms - % completed: 55
    loaded 33839878 records 62045 ms - % completed: 60
    loaded 36664839 records 65749 ms - % completed: 65
    loaded 39498035 records 100718 ms - % completed: 70
    loaded 42302599 records 99733 ms - % completed: 75
    loaded 45125268 records 96000 ms - % completed: 80
    loaded 47947180 records 92749 ms - % completed: 85
    loaded 50755655 records 85485 ms - % completed: 90
    loaded 53578015 records 96240 ms - % completed: 95
    Load end: Thu Oct 02 10:57:36 CEST 2008
    Also I use the same je.properties file on both platforms.
    Any idea where this performance problem comes from?
    Thanks in advance
    Best regards
    Philippe

    Hello Phillipe,
    Nothing jumps out at me, but you might try the following:
    . Check the status of disk write caches. On linux, the cache may be disabled and it may be enabled on windows.
    . Does the windows machine have an SSD?
    . Run with -verbose:gc to see if the Linux is being held up by full GC's.
    . Use top or some other utility to see if something else is running on the linux box.
    . Take some random c-\'s to get some stack traces to see what is going on when things get slow.
    . Check on the JVM ergonomics. You may be getting a server or client JVM without knowing. Force it one way or the other with -server or -client.
    Here is a (future) FAQ entry regarding disk write caches (poorly formatted at the moment):
    During my system testing I pulled the power cord on my server to make the ultimate test of JE's durability claims. I am using commitSync() for my transactions, but some of the data that JE said it had committeed was not on disk when the system came back up. What gives?
    Quoting the Berkeley DB Reference Guide:
    Many disk drives contain onboard caches. Some of these
    drives include battery-backup or other functionality that guarantees that all
    cached data will be completely written if the power fails. These drives can
    offer substantial performance improvements over drives without caching support.
    However, some caching drives rely on capacitors or other mechanisms that
    guarantee only that the write of the current sector will complete. These
    drives can endanger your database and potentially cause corruption of your
    data.
    To avoid losing your data, make sure the caching on your disk
    drives is properly configured so the drive will never report that data has
    been written unless the data is guaranteed to be written in the face of a
    power failure. Many times, this means that write-caching on the disk drive
    must be disabled.
    Some operating systems enable the disk write cache by default.
    If you need true durability in the face of a power failure, then you should
    verify that the disk write cache is disabled or that you have some alternative
    means of ensuring durability (e.g. nvram, battery backup, an Uninterruptible
    Power Supply (UPS), Solid State Disk (SSD), etc.) Some disk drives may
    actually require changing hardware jumpers to enable/disable the write cache.
    You can check the status of the write cache using the
    hdparm utility on Linux and the format utility on Solaris.
    On Windows, use the Windows Explorer. Right click on
    the disk drive that you want to check, select Properties,
    click on the Hardware tab, select the desired disk, click
    on the Properties button, click on
    Policies and verify the cache setting with the check box.
    On Windows Server 2003 you generally disable the write caching
    from within the RAID controller software (OEM specific).

  • Difference between 0FI_AP_30 and 0FI_AP_4 Data source

    HI,
    What is the difference between 0FI_AP_30 and 0FI_AP_4 Data source.
    Thanks in advance

    Hi,
    In addition to above differences. Below is the functional difference between 0FI_AP_30 & 0FI_AP_4:
    0FI_AP_4 gives you accounts payable line items in your report. Here GL account shows the balances of particular types of  vendors/payables to which that particular GL account is been assigned.
    And If subledger is activated in ECC, then by using 0FI_AP_30 you can get the break up of that particular GL balance according to vendors.
    To make use of datasource 0FI_AP_30, subledger accounting must be activated in ECC.
    Regards,
    Pradip

  • What's the difference between Mozilla and Firefox

    what's the difference between MOZILLA and FIREFOX?

    Firefox doesn't include the SeaMonkey suite.<br />
    SeaMonkey is a separate program (not just a browser, but a suite) maintained outside the Mozilla Corporation.
    From http://en.wikipedia.org/wiki/SeaMonkey
    <blockquote>SeaMonkey is a free and open source[3] cross-platform Internet suite.<br />
    It is the continuation of the former Mozilla Application Suite, based on the same source code.<br />
    <br />
    The development of SeaMonkey is community-driven, in contrast to the Mozilla Application Suite, which until its last released version (1.7.13) was governed by the Mozilla Foundation. The new project-leading group is the SeaMonkey Council.
    </blockquote>

  • Difference between "Web" and "Streaming"

    Can anyone tell me what the difference between Web and Streaming is when exporting a Movie from iMovie? I know they both go on a webpage but why are there two options?
    Thanks

    True streaming media is not cached on the viewing machine. No cache means nothing to save as a new file. You can only save a "reference" to the source file stream.
    Media Links (very cool feature rarely used by most users) make a .qtl file. This is also just a reference movie (very tiny file size) but can include many features found (usually) in the Pro upgrade of QuickTIme and/or AppleScript and Automator Action features.
    Using Media Link files will allow you to add "Presentation" playback features to your QuickTime file (Full Screen, close when done, etc). You can add a "link" inside your QuickTime file so when the image is clicked a Web page would open. One of mine as an example:
    http://homepage.mac.com/kkirkster/GetA_MacText.qtl
    You'll notice the file will download (0.3KB's) then launch QuickTime Player and play full screen. Click on the movie to learn more.

  • What is the difference between #variable_name and :variable_name?

    Hi!
    What is the difference between #variable_name and :variable_name?
    I have found that if we use alphanumeric variable then :variable_name return value in quotes but #variable_name without quotes.
    Why it does not work in the same way for variable default values when variable is used in filter? (It works in mapping)
    I use variable in filter like T.OUT_DATE>convert(datetime,:LAST_UPDATE_DATE,121)
    When I use my variable in package and do refresh it works fine. But when I try to execute the same interface with variable default value I get error. Seems that variable name has been not changed to the value. It does not work with default value in quotes neither without quotes.
    Any ideas how to solve that?
    Thank you in advance!
    Edited by: user13278245 on Sep 15, 2010 4:34 AM

    Question is how to make it work with default value, when I execute interface standalone, not in package? And why it works in mapping but not in filter?
    + I have found that it works if source is Oracle. It doesn't work only for MS SQL source.
    Edited by: user13278245 on Sep 15, 2010 6:43 AM

  • What is the difference between, DSO and DTP in BI 7.0

    Hi Guru's
    what is the difference between, DSO and DTP in BI 7.0 , how it will come the data from r/3 to BI 7.0, can u discribe?
    points will be assined?
    Thanks & Regards,
    Reddy.

    Hi,
    The data will be replicated in the same way as we do in 3.5.
    Activating, and Transporting the same DS in BW, and Replicating them in BW from R/3.
    First you need to know Diff b/w 3.5 nd 7.0, for that check the below doc's:
    http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm
    blogs:
    /people/sap.user72/blog/2004/11/01/sap-bi-versus-sap-bw-what146s-in-a-name
    Re: How to identify Header, Item and Schedule item level data sources?
    For Transformations in BI:
    http://help.sap.com/saphelp_nw70/helpdata/en/33/045741c0c28447e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/f8/7913426e48db2ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/a9/497f42d540d665e10000000a155106/frameset.htm
    For DTP:
    DTP:
    http://help.sap.com/saphelp_nw70/helpdata/en/20/a894ed07e75648ba5cf7c876430589/frameset.htm
    For DSO:
    Data Store Objects:
    http://help.sap.com/saphelp_nw70/helpdata/en/f9/45503c242b4a67e10000000a114084/frameset.htm
    Reg
    Pra

  • What are the major differences between BODS and Talend ?

    Hi Friends,
    We had a client meeting 2 days back regarding BODS project, But our client is showing more interest on Talend. We have explained/demo him on BODS.  Could any one please tell me, What are the major differences between BODS and Talend ? What are the features of BODS which are not there in TELEND ?
    Thanks,
    Bheem.

    Hi,
    If you talk difference than Talend is an open source. SAP DS as huge advantage when it comes to loading data into SAP and it is more flexible with lots of inbuilt features and easy to load data into SAP using DS directly and extracting data from various legacy systems.

  • What is the Difference Between Adapter and Proxy

    Hi Master,
    I want to know the Difference Between Adapters and Proxies.
    And when we are using proxies and Adapters....
    Regards,
    SReddy

    Adapters are part of the Adapter Framework. Adapters provide the technical connectivity to enable the integration of SAP and non-SAP applications through XI’s Integration Engine.Again, Adapters are used for connectivity from and to external systems with XI that cannot communicate via proxies.Adapters are only required in SAP systems older than 6.20 and external systems.
    Systems based on 6.20or higher can communicate directly with proxies.
    The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages.
    Proxies are generated from Message Interface in IR.
    The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with. The Proxy Runtime currently has the following components available: 1. ABAP Proxy Runtime – Communication using XI or Web Services a. Web Service Runtime 2. Java Proxy Runtime – Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a ‘client’ proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a ‘server’ proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).

  • What's the difference between SNC and SRM?

    we will sell SNC in Q2.But i don't know what is the difference between SNC and SRM.
    i've heard SNC suit Direct procurement better than SRM...
    Pls give me the advice and information.
    good regards kenji

    Hi Kenji,
    SRM is more of Supplier Identification and SNC work of building
    relationship with Supplier starts after this Supplier identification.
    SNC is very Good tool to handover Inventory replenishemnt
    to Suppliers and it gives Visibility of inventory information over Web UI.
    SNC has many processes like PO Collaboration, SMI, DR,DCM, SNI,
    Invoice Collaboration,Release process...to accomplish above mentioned task.
    SNC is designed for direct materials procurement.
    SRM has contract negotiations,bids,auctions for sourcing to identify suppliers
    SRM is good for basic purchasing fuctionality and suitable for indirect materials.
    In addition to all these SNC has Customer Collaboration functionality also.
    Regards,
    Vasu

  • Differences between standard and pro versions

    I was reading the comparision of these two Acrobat versions and for Pro it says:
    Edit and enhance photos to add to your PDF communications with Adobe Photoshop® CS5.
    Quickly transform static PowerPoint slides into compelling, interactive PDF presentations with Adobe Presenter       
    Rapidly combine screen recordings, narration, video, slides, and more into a rich media experience with Adobe Captivate® 5
    Does that mean that the Pro version includes Photoshop, Presenter and Captivate programs as well? Or, what are the differences? As an aside, the new look and feel of the Adobe website is confusing at best. Seems geared to being flashy, not useful.
    Regards, David

    Acrobat does not included those other packages. One of the pages that always struck me funny (maybe I have a twisted mind) but has this artistic background is the updates page. The background looks like a lacy bra to me. It is the first thing that comes to mind every time I see it. That is a problem with abstract images (that are typically unnecessary and waste bandwidth), that a lot is in the eye of the beholder. Actually, I have heard from many others that also see the bra.
    OK, back to Acrobat. There are several aspects of Acrobat that allow you to have links to the other products built in, but they are not included. The page at http://www.adobe.com/products/acrobatpro/buying-guide.html?promoid=JIJYS provides some info, but a lot is missing. For instance there are differences with PDF Optimize and Reduce File Size I think (sorry, I do not have Std to check). One important one that is part of pro is the preflight option. Apparently Std does not include portfolios or allow PDF comparison according to the chart.
    If you are into forms, then Std apparently will do them as AcroForms (my preference, partially because of familiarity), but does not include Designer if that was your preference. Some of the enabling for Reader is not available in Std. Also, Std does not allow embedding Flash. Std is limited for some of the products that include PDF Maker (not a big one for me, but might be important to you).
    That is a quick summary based on the chart. However, be aware there are some other features that the chart does not seem to cover. For the difference between Std and Pro, I would suggest getting Pro. The big hit is the initial cost of the product, not the step up to Pro. In a business plan consider the time that might be wasted trying to do some of the things in Pro that are not in Std. Those are the types of issues to consider. Many folks consider the cost to be large, and for a small business it is. However, in the long term it may be worth the cost.
    Keep in mind that many large CAD packages in engineering run about $30,000 for a single license, half the cost of the engineer that would use it. Some other tools are about $15,000. In that view, Acrobat is cheap (except for cheapskates like me).

Maybe you are looking for

  • Adding meta tags to published web site

    I have created my website using iWeb and subsequently downloaded the RAVE SEO tool and used it to add for meta tags to my sites (description and keywords). I followed this procedure: 1) I published my site from iWeb to a local folder on my iMac 2) I

  • As like Trigger

    Hi all, I am working in Forms 6i. I want to display an alert message while inserting a record as "INSERTING" and "UPDATING" while updating a record (with old and new values). This one I need to do in the front-end (Forms) instead of Database Trigger.

  • Can't Upload a Flash File

    So I am trying to upload a flash file that I just updated to a website server. It keeps giving me this error message: "people.swf - error occurred - An FTP error occurred - cannot put people.swf. Access denied. The file may not exist, or there could

  • Managed Account - No E-mail Address Completion

    I have a managed account for my son. The account has been enabled to access both Address Book and Mail. When addressing a new e-mail message, you start typing the person's name and it auto completes. However, when you hit tab to accept the address it

  • Equivalent to C Defines / sparse enums

    Hi, I'm looking for a way to implement defines / sparse enums in Labview easily. For example if I use Labview to communicate with a device that has a set of commands, I want to define the possible commands in a central location and if new commands ar