How to tell whether video preview is working?

An app shows video preview with code essentially the same as in
the MSDN document:
async void ShowPreview(object sender, RoutedEventArgs e)
if (mediaCaptureMgr == null)
// Using Windows.Media.Capture.MediaCapture APIs
// to stream from webcam
mediaCaptureMgr = new MediaCapture();
await mediaCaptureMgr.InitializeAsync();
myCaptureElement.Source = mediaCaptureMgr;
await mediaCaptureMgr.StartPreviewAsync();
It works most of the time. However, sometimes the video does not show. When this happens, myCaptureElement.ActualWidth and myCaptureElement.ActualHeight still return the correct values. This probably means at least something is working. In this case, how can
the code tell what my eyes can see - the video is not showing?
Hong

Hi Hong,
Based on my knowledge, your problem may related to the dispose of the MediaCapture object. Forget to dispose it when app suspends will result in a negative user experience for your app.
About your question, I’ve not seen such property in MediaCapture class, so it’s recommend to create a Boolean that indicate whether the app is currently previewing video. You need to maintain this object when start or stop preview. You can find more information
from this page.
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868171.aspx. See Step 5 section.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.

Similar Messages

  • How to tell whether one driver(say driver A) is in the same driver stack with another driver(say driver B)?

    I'm new to WDF, so the questions below might be trial. However, I cannot find the answers in MSDN or text book(e.g. Developing Drivers with the Microsoft Windows Driver Foundation)
    The questions below only apply to KMDF on Windows Phone.
    1. Can I say that one *.sys file is one driver?
    2. How to tell whether one driver(say driver A) is in the same driver stack with another driver(say driver B)?
    3. If several *.sys files are included in one *.inf file, can I say that those drivers are in the same driver stack?

    Drivers are not in a stack, the devices created from the driver are.  Consider having two identical pieces of hardware in a single computer, each will have a device object which will come from the same driver, but each device object will be in
    its own stack.  Things can get even more complex since a filter driver can create more than one device object in a single stack. 
    Just as a single driver can create devices that are in different stacks, your question on multiple drivers in an INF has the same answer, there is nothing that says they will be in the same stack.
    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

  • HT3231 Migration Assistant: How to tell whether it is working

    How do I know Migration Assistant is working?
    I have followed the outlined steps in the dialogue box as far as they take me - the 'continue' is greyed out; only 'go back' is accessible.
    But there's no spinning wheel, no indication whether everything's ok.
    I spent 7 hours thinking all was well when in fact nothing was going on.
    I've restarted, and again, it doesn't look like anything is happening.
    Please help.
    I'm desperate to get this new Retina up and running . . . it's been a 4 year wait!
    Thanks in advance.

    Answer found:
    http://pondini.org/OSX/MigrateLion.html

  • Video Preview not Working in CS6

    Before AE CS6, I was using AE CS 5.5 on my MacBook Pro (model 8,3)  and I could always go to AE Preferences:Video Preview and choose my additional monitor for previewing. I was previewing my Stereo 3d comps perfectly on my 3D hdtv through a HDMI to Mini Display Port cable.
    I now have a Mac Pro and AE CS6 and in that preference, the "Output Device" dropdown only lists Firewire and Computer Monitor Only. With my old setup, I could choose my TV and everything was great. But this new setup won't allow me to see or choose my TV.
    Please help! Has anyone else had this problem? Has something in AE CS6 changed for external monitors? I can't tell if it is CS6 or the fact that I have a new Mac Pro and it's video card might be different...

    That's a great lead. I realized that Final Cut Cut Studio 6 was on my laptop before but it is not on my new Mac Pro. FC Studio 6 includes a bunch of codecs as I recall. So I went to install it on my new Mac Pro and I got an error message that said my Mac cant install Power PC architecture (or something like that) and wouldnt let me install it. Any Idea how I can get those codecs without installing FC Pro 6?
    PS: I tried AE CS6 on my TV and it worked like a charm. There were lots more option in the Video Preview Preference.

  • Video preview not working

    When working on a project, the video preview is no longer working, neither for individual video preview or for overall preview of the project video composite.  I have no idea what to do.  It worked before.  I am on Windows 7 64 bit with Premiere Elements 10.

    jhughthomas
    Since you are a Premiere Elements 10 user with a display problem, the first order of business is to determine if your computer uses a NVIDIA GeForce video card/graphic card. The Announcement at the top of this forum tells it all, the problem and the how to fix. For your convenience, the following is a copy/paste of that Announcement.
    Premiere Elements 10 NVIDIA Video Card Driver Roll Back
    If you are a Premiere Elements 10 user whose Windows computer uses a NVIDIA GeForce video card and you are
    experiencing Premiere Elements 10 display and/or unexplained program behavior, then your first line of
    troubleshooting needs to be rolling back the video card driver version instead of assuring that it is up to date.
    Since October 2013 to the present, there have been a growing number of reports about display and unexplained
    workflow glitches specific to the Premiere Elements 10 user whose Windows computer has a NVIDIA GeForce
    video card. If this applies to you, then the “user to user” remedy is to roll back the NVIDIA GeForce video card
    driver as far as is necessary to get rid of the problems. The typical driver roll back has gone back as far as
    March – July 2013 in order to get a working Premiere Elements 10. Neither NVIDIA nor Adobe has taken any
    corrective action in this regard to date, and none is expected moving forward.
    Since October 2013, the following thread has tried to keep up with the Premiere Elements 10 NVIDIA reports
    http://forums.adobe.com/thread/1317675
    Older NVIDIA GeForce drivers can be found
    http://www.nvidia.com/Download/Find.aspx?lang=en-us
    A February 2014 overview of the situation as well as how to use the older NVIDIA GeForce drivers for
    the driver roll back can be found
    http://atr935.blogspot.com/2014/02/pe10-nvidia-video-card-roll-back.html
    If you fall into the Premiere Elements 10 NVIDIA GeForce display problem, then your answer is to roll back your card driver
    (typically that has been requiring roll back to about May 2013). This factor needs to be ruled in or out at the onset of the
    troubleshooting plan.
    Equally important questions include:
    a. If you start a new project, do you have the same problem?
    b. If you use the same source video in the project with or without going to a new project, do you have the same problem?
    We will be watching for your progress. Please do not hesitate to say if you need clarification on anything written.
    Thank you.
    ATR

  • Video previews not working in iTunes

    Hi all,
    I've seen this posted a few different ways without any resolution to the problem so I thought I would give it a shot.
    Video previews are not working properly for me. When in the iTunes Store and I click on a "View Trailer" for a movie or preview for a music video, a pop-up window appears in iTunes with a white background. The audio will kick in but the video never starts. I am using iTunes 9.2 (61).
    Has anyone uncovered a solution to this?
    Thanks!

    Just to clean this unresolved issue up, seemingly the problem disappeared after upgrading to iTunes 9.2.1 (5).
    Thanks!

  • How to check whether Output ES is working or not.

    I am able to see Output ES in the services list of the admin console of my server. Please let me know how to check whether this is working or not.
    Regards,
    Shabeer

    LiveCycle ES2 (and LiveCycle ES) ship with three undersold and unadvertised web applications that are VERY useful. Each is referred to as an Installation Verification Sample (or IVS) but they are great testing tools you can use during development and QA. There is
    1) Assembler IVS,
    2) Forms IVS, and
    3) Output IVS
    Output IVS looks like this...
    The pattern for deploying and using all three IVSs is very similar as what I am about to describe for Output IVS. The following directions apply to the JBoss turnkey on Windows.
    1) go to C:\Adobe\Adobe LiveCycle ES2\deploy and locate adobe-output-ivs-jboss.ear
    2) copy adobe-output-ivs-jboss.ear to C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\deploy
    3) if necessary, start LiveCycle
    4) open a browser and go to http://localhost:8080/OutputIVS/
    5) click Check/Change your preferences
    6) add Admin Credentials
    7) click Save
    8) click Test your form designs
    9) Select an .xdp from Form designs
    10) Click Use EJB (or Use Web Service if you feel so inclined) to invoke LiveCycle Output ES2
    Steve

  • How to tell whether iPhone is unjailbroken or not?

    how to tell weather iPhone is unjailbroken or not?
    So, about this time last week i decided to jailbreak my iphone 4 ios 5.01. being 15 most of my friends with iphones have it jailbroken. so after hours of youtube i found a way to do it and It was a success! i was really excited that i finally had a jailbroken iphone. However, i started to realize that it was not a big difference from before i jailbroken it. It started to run slow and glitch up. I also have read that jailbreaking you iphone voids your warranty with apple and i do not feel that its worth it. So i uninstalled every application that i have downloaded from cydia and uninstalled cydia its self. After i uninstalled cydia, i backed up my iphone and transfered all of my apps to my cpu. Then i restored my iphone and set it up from the previous backup i just made. Everything went perfectly! however i want to know if my iphone has actually been un-jailbroken being that i restored my iphone from a back up wear my phone was in a jailbroken state. and since i uninstalled cydia from my phone before i backed it up and restored it, there isnt any clear way to tell whether its still jailbroken or not. please if you understand anything i just said please help me lol. i do not want my warranty to continue being voided ! thanks!  

    If you restored from a backup remnants of the jailbreak will still be on the phone. You must go to settings/general/reset - Erase all content and settings, delete all iPhone firmware images from your computer, then do a Restore and set it up as a new phone. You cannot restore your backup. You must reinstall your apps, set up email accounts and other settings from scratch. You will lose all app content, such as game scores.
    Even this will not remove all traces of the jailbreak; Apple will still be able to tell it was jailbroken. But for your purposes the jailbreak will be gone.
    There is one exception; if you also unlocked the phone as part of the jailbreak the modem firmware will not match the iOS version, and future updates may cause problems.

  • Can any body tell whether this logic will work or not

    To calculate quantity for the  material  for  particular month
    This report is used to calculate demand plan(zzdpfc) for market 001 and 002
    eg: the opt shld be
      material number           month              quantity
    1.  1000                           02/2007              40 (market 001+002 for the same      materila and same month)
    2. 1000                          03/2007               20 (same as above)
    3. 1001                           02/2007               30 (same as above)
    i want to know whether  this pgm will work according to this requirement or not .if not please change the code accordingly .please let me know it urgent.
    REPORT  ZPRODUCT_ROLL                           .
    TableS: S507.
    DATA: BEGIN OF T_DATA OCCURS 0,
           matnr LIKE S507-matnr,
           SPMON LIKE S507-SPMON,
           ZZDPFC LIKE S507-ZZDPFC,
           ZZMARKET LIKE S507-ZZMARKET,
           END OF T_DATA.
    DATA:WA_DEMPLAN(10) TYPE C.
    data:material(18) type c.
    data : period like sy-datum..
    period =  sy-datum+0(6).
    Select    mATNR SPMON ZZDPFC ZZMARKET
    From S507
      into corresponding fields of  table  t_DATA WHERE
      VRSIO = '000' AND BEDAE = 'KSV' AND ZZDMTYP = '001'
      AND  ZZDPFC GT '0' AND ZZMARKET IN ('001','002').
    AND SPMON >= PERIOD.
       SORT T_DATA BY MATNR SPMON.
    write:/04 'Material',25 'Demand Plant', 50 'Period'.
    LOOP AT T_DATA.
    move t_data to material.
    modify t_data.
    *WRITE:/02 t_data-MATNR ,25 t_data-ZZDPFC,45 t_data-ZZMARKET,
    *70 t_data-SPMON.
    at new spmon.
    sum.
    write : /02 material color 5,25 t_data-zzdpfc COLOR 5 ,50 t_data-spmon color 5..
    endat.
    endloop.

    hi arun,
    use collect keyword in the loop, it add the quantity fields for the particular material
    or
    use control brake statement in the loop and endloop.
    regards,
    seshu.

  • How to capture MediaCapture video preview stream without CaptureElement?

    Hi!
    I'm using Windows Runtime in my non-metro class library and I need to get a video preview stream from MediaCapture class. I can't use CaptureElement - actually, I can't use any XAML at all, I just need a stream that I'll be able to parse from WPF app or
    whatever else.
    I found a method called StartPreviewToCustomSinkAsync, but I'm not familiar with Media Platform and I can't spend much time in diving deep into it. So please, could anyone help me with this?
    I know I can use CapturePhotoToStreamAsync method but it's not the best idea I think.
    Thanks!

    This is no longer true. You can now create an "uncompressed" video encodeing profile.
    VideoEncodingProperties.CreateUncompressed
    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.media.mediaproperties.videoencodingproperties.createuncompressed.aspx
    -James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Any ideas on how to make my video preview work?

    We have installed Premiere Pro CS4 on some brand new HP Compaq dc7900 machines (http://h10010.www1.hp.com/wwpc/au/en/sm/WF06a/12454-12454-64287-3328898-3328898-3785403.ht ml) that supposedly use the Intel GMA 4500 integrated graphics chip. The problem is, that we cannot play any captured or imported video (sounds do play though), all we get is this funny turquoise screen. However, if I click in the preview window while stopped, the frame does show as it should.
    I have spent some time searching for this and I realize I'm not the only one experiencing this problem but I have yet to see a solution that works, at least on my system.
    The Intel Graphics chip only supports OpenGL 1.4 (see hp link), not 2.0 as the CS4 requirements states.
    Well, I could be mistaken already at this point, but I am under the impression that the OpenGL 2.0 only comes into play when playing certain effects, not just playing video on the timeline. Intel has also said that 2.0 support is included in the "new" driver for Q43/Q45 (http://software.intel.com/en-us/articles/quick-reference-guide-to-intel-integrated-graphic s/) My current driver is from September 09, and I have also tried drivers from April and March without any luck.
    The weird thing about this, is that when I disable the Q43/Q45 driver under device manager and restart my PC (with a blurry image in too low resolution), the video in Premiere plays back like there is no tomorrow! Everything runs just fine! (Except that I have to sit 3 metres from the screen to actually see anything)
    The "Other devices" is most likely something to do with the 1394-card we put in. It does work as is though. Enabling/disabling the other video adapters shown does not change anything around our issue.
    I can't understand what is making this problem, but it does sound a lot like a driver issue. For good measure I have included a screenshot from GSpot:
    I'm grateful for any help I can get on this!
    -Steffen

    There are some low-profile slots though 1 of them are occupied by the firewire card: 1 low-profile PCI, 2 low-profile PCI Express x16, 1 low-profile PCI Express x1
    We actually purchased 13 of these computers for video editing, so I really hope it is possible to fix this without buying 13 low-profile graphics adapters. What gets to me is the fact that it does work when I disable the driver. (!) Shold therefore be doable to make a driver/update that works :-(
    Any ideas? Or, in worst case, anyone know about a low-profile graphics card that works?
    Thanks,
    Steffen

  • How to tell if video card works at 8x speed on MS-6570 K7N2-ILSR?

    my mobo is MS-6570 K7N2-ILSR with the latest bios update and my video card is ATI READON 9600 236mb 8x agp and windows xp pro sp2.
    when installing ATI Catalist v5.9 (the latest), it configures the card at agp speed: OFF.
    in the bios, all i have for agp speed is: AGP 8x -  enable/disable.
    my friend have gigabyte mobo with the same video card and ati catalist configured his video in windows xp pro sp2 at 8x speed.
    why ?
    is there any configuration i should check in the bios and/or in windows ?

    Quote from: Wonkanoby on 07-October-05, 18:22:19
    you have to install the gart driver in the nforce drivers packagenVidia Drivers
    and best its done before the ati drivers
    gart driver ?

  • G10: How to get S-Video In to work outside of Windows MCE

    Hi,
    does any one know of a way to get the s-video in on a G10 qosmio to work out side of windows MCE i am unable to get it to work with Windows Movie Maker it just says the hardware is begin used by other software but even with just the defult process running i cannot get it to work?? any Idears?
    Deklan
    [Edited by: admin on 05-Aug-05 20:22]

    Hi Deklan
    Why I dont know a lot about windows media centre myself yet having only just purchased a G20 a week ago.
    I can tell you how I am using s-video in and not with media centre itself.
    I am not sure what software the G10 came with, but I have been using Intervideo windvd creator. this allows me to record tv through s-video and then edit/burn it etc. It saves the files in mpeg format you decide the rest. You have to make sure you set it so it knows you are using s-video of course.
    hope this helps
    Kimberley

  • Premiere Elements 10 Video Preview Not Working

    I have all my project setting correct but when I import a clip and try to preview it all I see is a white screen.  The audio plays but the video does not.
    System Specs:
    Quicktime 7.7
    Windows 8.1 64-bit
    EVGA GeForce 780 Ti
    ASUS Rampage IV Black Edition
    I've updated all my drivers but I can't seem to figure out what wrong in any of the other threads.
    Can I please get some help with a solution?

    dobilia
    There is an Announcement at the top of this forum which goes to the core of this type of issue. Please check Announcement at top of this forum.
    The odds are that you will need to roll back your NVIDIA GeForce 780 Ti driver version as far back as necessary to get your Premiere Elements 10 Windows working again. All the details are in the Announcement at the top of this forum. But, if you have questions or need clarification on any of this, please do not hesitate to let me know.
    Again, the answer to this issue targeted at the Premiere Elements 10 NVIDIA user is not to update the driver to the latest version, but instead to roll it back.
    Thank you.
    ATR
    Add On...for your convenience...this is a copy paste of the Announcement at the top of this forum.
    Announcement: Premiere Elements 10 NVIDIA Video Card Driver Roll Back
    Hide Details
    If you are a Premiere Elements 10 user whose Windows computer uses a NVIDIA GeForce video card and you are experiencing Premiere Elements 10 display and/or unexplained program behavior, then your first line of troubleshooting needs to be rolling back the video card driver version instead of assuring that it is up to date.
    Since October 2013 to the present, there have been a growing number of reports about display and unexplained workflow glitches specific to the Premiere Elements 10 user whose Windows computer has a NVIDIA GeForce video card. If this applies to you, then the “user to user” remedy is to roll back the NVIDIA GeForce video card driver as far as is necessary to get rid of the problems. The typical driver roll back has gone back as far as March – July 2013 in order to get a working Premiere Elements 10. Neither NVIDIA nor Adobe has taken any corrective action in this regard to date, and none is expected moving forward.
    Since October 2013, the following thread has tried to keep up with the Premiere Elements 10 NVIDIA reports
    http://forums.adobe.com/thread/1317675
    Older NVIDIA GeForce drivers can be found
    http://www.nvidia.com/Download/Find.aspx?lang=en-us
    A February 2014 overview of the situation as well as how to use the older NVIDIA GeForce drivers for the driver roll back can be found
    http://atr935.blogspot.com/2014/02/pe10-nvidia-video-card-roll-back.ht ml

  • Video preview not working, I can see only white screen.

    Hello, I have been using Adobe Premiere on my Vista64 for a while, but few days ago I started having problems with previewing video. I can see only white screen, which doesnt react on anything I do in premiere (trying to preview movie, add grids etc.) I tried to reinstall many times but only thing I managed after one reinstall was that it started showing me what is on the timeline when I clicked on a timeline, but when I wanted to play preview it was frozen and then it turned white again. Since that it is still white.
    Playback in other adobe programs (such as After Effects) works fine on my computer.
    Would you please help me to find out what causes this problem and how to fix it? (I doubt it is codecs because it worked fine before and then it suddenly stopped working without any change in codecs...)

    It may or may not be possible to verify the usage of such a technology device. And where did you get the idea that it costs $10 to manufacture and sell an iPad? I think the parts cost alone was $260, not counting manufacturing, shipping, storage, retail space, salespersons, helpdesk support, all the other overhead costs, etc. etc.
    With so many people out there trying to scam the system, it will be an uphill battle to try to convince anyone that you bought it and didn't open the box for 14 months.  That's very unusual.
    At some point, the store you bought something from (in this case it was Apple) has to say no.  What if it had been unopened for 2 years, or five years, or 20 years? This is what the warranty period is all about. It starts on the day you buy it and ends at the end of the warranty period, regardless of usage.
    I am sympathetic to your plight but if you are able to get a new iPad (refurbished would be more likely), it will be through the kindness of Apple going above and beyond.  If you do not get one, it is not Apple's fault you waited this long and there is no requirement for them to replace it.

Maybe you are looking for

  • VGA memory problem.....

    My VGA memory have 64MB DDR...but sometimes when i start pc it will lost memory ..sometimes it's just have 16MB....sometimes 32MB...never perfectly display to 64MB. And the 3D Mark2001 SE also cannot run..and show the error message tell me about memo

  • Nano stuck on error msg: Read Verify Scan

    I may have posted my original post in the wrong thread, so I thought I'd post here. I turned on my iPod Nano and have some sort of a frozen scan screen that is at 0%. It has this information on the screen: Scan takes a while (all day now is a little

  • HT1386 Synching multiple iPhones on one computer

    How do I synch multiple iphones on one computer. Last time I tried, I wiped out the contacts on one of the phones, so I want to be sure not to do this again. I don't want to wipe out any data on either of the phones (contacts, music, etc). I also am

  • Viewing a portion of an image, scrollable

    Hey, I want to write a small application that can take an image and display a small portion of that image but allow 2 dimensional scrolling so that the entire image can be viewed. What I really want to be able to do is view a large image on my phone

  • Different security valuation based on listed or not on exchange

    Dear All, I was wandering if it is possible to make a differentiation on security valuation for the same valuation area: - In case the bond is listed ==> valuation at "market price" - In case the bond is not listed ==> valuation at "valued at cost" k