Media Foundation MFGetAttributeRatio works differently for Win 7 than WIn8 - how to set format?

I am Using Media foundation ISourceReader, ISourceMedia etc.
My camera supports several Resolutions with 60 FPS and 30 FPS. running the code in win 8 I get a different profile with MAX 60 for the 60 and a different profile with max 30 for the 30 FPS. however running same code in WIN7 gives me that for all FPS I get
the 
Code:
Enumerating profiles, and stop at the profile that the desired FPS is the max FPS (as different profiles are returned for each FPS,and the max equals to the MAX_FPS).
for WIN8 following code works:
bool found=false;while(!found){HRESULT hr = m_reader->GetNativeMediaType(id,i,&pMediaType);
if (hr!=S_OK || pMediaType==NULL)
if(pMediaType)
pMediaType->Release();
break;
GUID subtype;
hr=pMediaType->GetGUID(MF_MT_SUBTYPE,&subtype);
frameRate frameRateMin;
frameRate frameRateMax;
MFGetAttributeSize(pMediaType, MF_MT_FRAME_SIZE, &currRes.width, &currRes.height);
MFGetAttributeRatio(pMediaType,MF_MT_FRAME_RATE_RANGE_MIN,&frameRateMin.numerator ,&frameRateMin.denominator);
MFGetAttributeRatio(pMediaType,MF_MT_FRAME_RATE_RANGE_MAX,&frameRateMax.numerator ,&frameRateMax.denominator);if(frameRateMax==desiredFPS)found =true;}HRESULT hr= m_reader->SetCurrentMediaType(0,0,pMediaType);
What I do see is that in WIn7 each profile is returned twice once with MF_MT_VIDEO_LIGHTING equals 0 and one with 3. but both profiles are with 60 FPS while no profile with 30 as I would expect.

Hello and welcome,
Rescue and Recovery should present an option for using a USB flash drive for recovery media.  You only get one shot at this so it's important to make sure the flash drive is prepared correctly - and is large enough.  Unfortunately I can't tell you the size drive you need.  32GB is plenty, 16GB is probably enough.  Hopefully someone who has done this on a T433s will chime in.
Drive prep: New or used USB memory keys or USB flash drives require an active partition created from within Wind...
You can use your one-time shot at making a recovery drive any time.  It will contain recovery tools and a from-factory recovery image, not a snapshot of your as-currently-configured machine.  For an as-running image use the backup feature of R&R.
IIRC you can launch the recovery media creator as a right-click option on the Q: partition - or double click it maybe.  That will also offer to delete Q: and add the space to C: - also IIRC.
Z.
The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

Similar Messages

  • Elantech synaptics touchpad driver doesn't work properly for G570 on Win8

    Hello, i got G570 laptop, at first i had Win 7 installed in it, i downloaded the touch pad driver for my laptop to use the scrolling feature of touch pad and it worked fine. Now i upgraded my OS to Win 8 and so i download and installed the touchpad driver for Win 8. The problem i am facing is that the scrolling feature no longer work on Win 8. Please suggest me a solution

    I am having the same exact problem on my G580. Everything funtions perfectly in desktop mode, but in any metro app or the start screen scrolling does not work.

  • My firefox goes slow, then it crashes and works great for a few weeks, how can i force a crash?

    For the past two months ive been going through a cycle where my internet has been going really slow, and certain pages cant even be opened (its a different webpage each time not the same one) but then one day firefox will crash and it will go back to working perfectly for a few weeks until it starts up again. After it crashes it asks if i want to open up the old pages i was viewing and there are always like 30 of my home page suggested. Im sure there is another way to fix this, but i think the easiest way would be to just force a crash every time it starts to go slow, so how could i do this?
    thank you

    is resetting going to delete something like antvideos and all the vids i have downloaded? a crash has fixed this every time so i'd really like to just find a way to do that so do you know a way?

  • How to set format for a column in repository

    Hi all,
    i have some columns for which i would like to set a default format of the data directly into the repository.
    For example, a numeric code is shown as 1.234,00, i want the BM to show by default 1234.
    Or a date shown as 03/03/2013 04:00:00 AM i want it to be shown by default as 2013-03-03.
    Is it possible to make these settings into repository?
    Thanks in advance

    NQsconfig check for
    DATE_TIME_DISPLAY_FORMA
    In Answers you may go for
    Column properties->Data format->
    and then Save button to save that format in webcat side.
    If helps mark :)

  • SortcompareFunction is not working properly for more than 1 column in advanced datagrid

    Hi Guys,
    I am using an advanced datagrid with groupingCollection.
    I have more than 1 grouped column. How ever I am using 2 sort compare function to sort date and time.
    The problem is when I am trying to sort date its workinf properly then when I jump to time column its not working and sorting few rows only inside the  column but not the entire column. samething happen when I sort time first and the date is not sorting.
    any help will be really appriciable .
    Thanks in advance.

    In our application we tend to use views to return appropriate values for a particular user.
    For example (we do building inspections) the publication item sql is like
    select * from inspection_sites where id in (select site_id from v_pda_bi_sites where bi_id=:bi_id)
    The view acts like a dynamic parameter table (in this cases looks at experience level, status of sites, and responsibility allocations). Once the driving views are tuned this works quite efficiently, and as the dependant tables for the publication item automatically includes all of the tables in the driving view, the object gets refreshed if there is any change to any of them, even if the site details themselves have not changed

  • IOS 6.0.1 working better for me than 6.0, How about you?

    I have an iPhone 4S and it got pretty buggy when I updated to iOS 6.0.  I waited as long as I could before updating to  6.0.1 but when I saw the story on Engadget about iOS 6.0 causing a lot of phones to repeatedly download the same data/apps/texts, etc. I took the plunge and updated to 6.0.1.
    Glad I did.  After I installed the update using iTunes and not OTA I did a reset, ran the battery down to zero and charged it for about 10 hours.  Today the battery life is as good as I have seen it since I updated from 5.X and the wifi connection problems I had been having seem to be resolved.  The 6.0.1 update was only suppsed to fix the wifi issues for iPhone 5 but whatever they put into this update seems to havre really helped.
    I also started setting Proxy to Auto on public wifi networks and this really made a difference when I try to log on to them.  I can now actully connect without having to restart/reset my phone and network settings.  And I stay connected. 
    I am considering updating my iPad to 6.0.1 but I may just wait until they release 6.1, which looks like it will be around new y

    It's been five days since I posted my question.  And I have been very happy with the performance of my phone.  Wifi is great now that I disovered that putting proxy on Auto seems to help with most hotspots, especially at work.  Battery life is really good.  I can get through the day with normal use, make and receive phone calls, send and receive text messages, use normal apps, play games, look things up on the web, etc.  Nothing really heavy but normal usage for me and I am at 30 - 35% battery left at midnight when I plug my phone back in to charge over night.
    Now that AT&T has finally given up on holding those of us with unlimited data plans hostage from using Facetime over Cellular ( I have a 4S running iOS 6.0.1) I may give that a try to see what happens with my battery life there.
    It will be interesting to see what happens when 6.1 is released and what it fixes or breaks.

  • When I drag a playlist from the list in the sources panel up to my iPod icon, the music is added immediately to my iPod. Are the rules different for this than for 'syncing' selected playlists to the same iPod?

    I am trying to put music from two different libraries onto my iPod.  In the first case, I can, but in the second, the program says it will erase all content and sync only the playlists Ihave checked.  What in general is the method for loading an iPod with music from two different libraries?

    Yes, if, you manually manage music and videos, iTunes syncs the content immediately. If you deselect “Manually manage music and videos,” the content you added manually is removed from iPod touch the next time iTunes syncs content. To transfer music from multiple computers, your device must be set to "Manually manage music," sometimes referred to as manual mode.
    In general, follow these instructions for Using iPad or iPod with multiple computers, http://support.apple.com/kb/HT1202

  • Distribution working differently for the same report

    Hello all,
    I created a template with 3 reports, each of which opens for 4 plants.
    Then, when I schedule the offline distribution process, 2 of the reports are generated correctly for all plants, while the 3rd has a strange behavior. This 3rd report has 2 sheets and opens correctly for 2 of the plants, while for the other 2:
    - in one sheet, the formulas are not converted to offline mode (like _epmOfflineCondition_ ) giving an "#Error, no current connection." message and the sheet is not protected; however, the report data is correct.
    - in the other sheet, everything works ok and  the sheet is protected;
    Any thoughts? Thanks,
    Ana-Maria

    Thanks Ashok,
    but unfortunately the above points are not applicable to the issue indicated:
    1. Log off&log on has no effect since this problem appears on all PCs and always for the same data group.
    2. The data group is available in the model cube and master data.
    3. We are using the ADMIN user to execute the process so we have all authorizations (also, these are defined at Country level and only one Plant from a Country is not working).
    4. The formula is correct.
    5. Since the report executes correctly as a standalone report and works for other plants, I don't believe there is an issue with it.
    The issue still persists.
    Ana-Maria

  • Buttons work differently in IE than in Firefox.

    I'm stumped on what is causing my buttons to act funny in IE.  Everything looks/works rad in Firefox.  Can someone please end my misery and shed some light on what I'm doing wrong?
    Go to this link in IE and in Firefox and hover over the buttons near the top. http://ohanapaddle.com/blog/
    In IE they have this little underline thingy going on and I don't know where it's coming from.
    Thanks for all your help!

    Just found the answer:
    By default, images align their bottom edgeswith the baseline of the text. That gray space you're seeing is thespace below the baseline, used by decenders like q, p, y, etc. (Thefact that you have no text is irrelevant - space for descenders isstill reserved.)
    You can get rid of it like this:
    a img {  /* You might want to make this rule more specific! */
        vertical-align: bottom;
    See That mysterious gap under images for a full discussion of this.
    Link to article that solved problem.
    http://stackoverflow.com/questions/1468914/how-can-i-fix-this-strange-ie-8-img-anchor-hove r-behaviour

  • Filters different for mac than windows such as photocopy filter

    hi
    has anyone experianced differet filters reacting differently when changing from a mac to windows, in particular photocopy filter?
    thanks,
    Helen

    If you really want someone to blame, then the people who own palm should be somewhere in the firing line, as they have halted any further development on the mac platform despite palm OS once being considered the natural companion of the mac. If you notice in the account setup for palm forums there is as yet still not even an option to choose mac osx 10.5 leopard, and the desktop software is written for PPC computers as opposed to intel ones. If you have an intel mac therefore, it will run really quite slowly. 
    Post relates to: Palm V

  • Is Chrome different for iPad than iMac

    iPad mini, 128 GB, latest IOS,  Bought iPad mini for work but Chrome will not  open certain web pages while desktop version will.  What is the difference between iPad/iPhone Chrome and Desktop Chrome.  Safari,will not work at all on certain work web pages. either Desktop or iPad,  Therefore when Chrome worked great on my iMac I thought it would also work on my iPad.  Is there a work-around?

    ipad doesn't support Flash nor Java out of the box. Try:
    Puffin ios web browser
    "Puffin Web Browser is a wicked fast Mobile Flash Browser. Once users experience the thrilling speed of Puffin, regular mobile Internet feels like torture. Puffin Free is the free version of the Puffin family and supports Adobe Flash over cloud during "off-peak hours" from 8AM to 4PM (subject to change without prior notice)"
    Free:
    https://itunes.apple.com/us/app/puffin-web-browser-free/id472937654?mt=8
    Paid:
    https://itunes.apple.com/us/app/puffin-web-browser/id406239138?mt=8
    By Splashtop Inc.
    Flash Video Web Browser – Full Chrome, IE, Firefox, Safari Compatible
    https://itunes.apple.com/us/app/flash-video-web-browser-full/id431331485?mt=8
    Photon Flash Player for iPad - Flash Video & Games plus Private Web Browser
    https://itunes.apple.com/us/app/photon-flash-player-for-ipad/id430200224?mt=8
    Puffin Web Browser Free
    https://itunes.apple.com/us/app/puffin-web-browser-free/id472937654?mt=8
    VirtualBrowser for Firefox with Flash-browser, Java Player and Add-ons - iPhone Edition
    https://itunes.apple.com/us/app/virtualbrowser-for-firefox/id609289360?mt=8

  • Table width are different for IE, than with MZFX & GLE

    Hi everyone,
    I have three tables and would like them to be the same width (for looks).
    I tried the following:
    #code_selection {
    width:50px;
    margin-left:30%;
    #wash_type {
    width:398px;
    margin-left:30%;
    #wash_schedule {
    width:398px;
    margin-left:30%;
    In IE, they are not aligned, but in Mozilla & Google they are?
    Can someone explain, what's happening?
    Thank you.

    Sorry Jon,
    The wrong/bad alignment:
                     |                 Table1                 |
                    |                 Table2            |
                    |               Table3              |
    The right/good alignment:
                    |             Table1                |
                    |             Table2                |
                    |             Table3               |
    I don't know how this is going to come out, but it suppose to be aligned perfectly one on top of the other.
    Here is the site: http://108.132.14.185:80     <------- look at tab codes
    Let me know if this is still unclear?  I will try again.

  • MB51, download to excel works different for online and background.

    Hi,
    Have a question regarding excel download of MB51 in online mode against background.
    If I run MB51 online, I can download it to an excel sheet that is easy to read and work with. Each column in the report in seperate column in excel.
    If I run it in the background, try to download the spool to excel, I don't get the columns the same way as online report.
    I’ve tried changing the layout, downloading to excel, downloading to text and then dropping to excel, etc.
    Why won’t the download from a batch job work the same as online?
    Any ideas or anyway to fix?

    Hi All,
    I am also facing the same problem. When I download to Powerpoint, its getting downloaded properly and whn I download to excel, I am not able to download properly. I have 2 charts of the same report being displayd sde-by-side and under them I have a pivot table displayed in compound view. When downloaded to excel, the first chart is overlapping on top of the report in the excel.
    Can anyone suggest if we have any options?
    Thanks Shravan

  • Pdf caching works different for browser vs reader downloads

    We have several very large pdf which are served by our web server (iis).  In analyzing the detail performance metrics we have identified an interesting behavior.  When viewing the pdf from the web link in a browser the web server quickly displays the first page then chunks the remaining parts of the document in roughly 5 kb chunks.  However, even though we have configured these to be cached they don't get cached.  But when we uncheck the Open in Browser setting in reader and allow the document to download and open with the reader it gets cached.  Oddly enough, when we the check the box in Reader to open in the browser again the cached file is honored.
    Server: Windows 2008, IIS
    Client:  Vista, Adobe 9.3.2, IE 7.0.6.x
    I appreciate any help

    This is not a Reader question. It is a question about how you have your server configured. Perhaps, a Microsoft forum would be appropriate. Generally, when pdfs are created for web viewing you want them to be optimized (which optimizes them for web downloading) and you need the server to byte serve. That is the sum total of my knowledge on the subject.

  • Does float work differently in Firefox than in IE?

    I have some small div's that line up correctly in IE, I used
    float left. But in Firefox the first line is good, but when they
    carry over to the second line the div's float to the right and
    don't fill up the line. Can this be fixed?

    Here is my CSS and html from my page. On my page I have more
    if the "gallery" div's and I just want them to flow on the page.
    Any suggestions?
    #main {
    width:96%;
    margin-left:2%;
    margin-right:2%;
    margin-top:1%;
    margin-bottom:1%;
    #gallery {
    float:left;
    margin-left:1%;
    margin-right:1%;
    text-align:center;
    color:#CCC;
    <div id="main">
    <h6>HEALTH CARE PROJECTS PHOTO GALLERY<br />
    Click on the images below to see a larger image.</h6>
    <div id="gallery">
    Boone County<br />
    Health Center<br />
    <img src="images/Thumbs/Health_Care/BooneCoMRI_t.jpg"
    alt="Boone County MRI" width="100" height="100"
    onclick="MM_openBrWindow('images/Thumbs/Health_Care/BooneCoMRI.jpg','','width=500,height= 375')"
    />
    </div>
    <div id="gallery">
    Tri-County Hospital<br />
    <img src="images/Thumbs/Health_Care/tri-county_t.jpg"
    alt="Tri-County Hospital" width="100" height="100"
    onclick="MM_openBrWindow('images/Thumbs/Health_Care/tri-county.jpg','','width=500,height= 375')"
    />
    </div>
    </div>

Maybe you are looking for