Speeding up Video reading when using SourceReader

Hi,
I am using the SourceReader in my application to decode video. My application does not render the decoded video to the monitor but serves to read in the video data as a matrix which users are further manipulate. I am using the SourceReader in synchronous
mode and I am able to process frames in a HD video at about 17 fps. This is slow because Media Player is able to play this file comfortably at 30fps.
I am looking at how to improve the performance. Looking at the documentation, there appear to be two possible ways I can do this:
1. Use the SourceReader in asynchronous mode
2. Make use of hardware acceleration (DXVA) using the MF_SOURCE_READER_DISABLE_DXVA and MF_SOURCE_READER_D3D_MANAGER attributes of the Source Reader
I am interested in Option2. This appears to require a Direct3D Device Manager and a Direct3D device. Also, the documentation states that this is recommended when decoding and rendering to a screen. 
As I do not want video to be rendered to the display, there a Direct3D device which is like a Null Renderer or is there an option in a Direct3D device to disable rendering to a screen.
Or is my only option for speeding up performance to operate the SourceReader in asynchronous mode?
Any inputs will be appreciated.
Regards,
Dinesh

Hi,
I am using the SourceReader in my application to decode video. My application does not render the decoded video to the monitor but serves to read in the video data as a matrix which users are further manipulate. I am using the SourceReader in synchronous
mode and I am able to process frames in a HD video at about 17 fps. This is slow because Media Player is able to play this file comfortably at 30fps.
I am looking at how to improve the performance. Looking at the documentation, there appear to be two possible ways I can do this:
1. Use the SourceReader in asynchronous mode
2. Make use of hardware acceleration (DXVA) using the MF_SOURCE_READER_DISABLE_DXVA and MF_SOURCE_READER_D3D_MANAGER attributes of the Source Reader
I am interested in Option2. This appears to require a Direct3D Device Manager and a Direct3D device. Also, the documentation states that this is recommended when decoding and rendering to a screen. 
As I do not want video to be rendered to the display, there a Direct3D device which is like a Null Renderer or is there an option in a Direct3D device to disable rendering to a screen.
Or is my only option for speeding up performance to operate the SourceReader in asynchronous mode?
Any inputs will be appreciated.
Regards,
Dinesh

Similar Messages

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • How do I change the speed of the cursor when using the arrow keys?

    How do I change the speed of the cursor when using the arrow keys?

    Applications folder or Apple icon > System preferences > Keyboard increase key repeat.

  • Flash video artifacts when using discrete graphics

    So I have a 2011 MacBook Pro with Intel and ATI graphics. When watching flash video (YouTube), I have weird artifacting going on when using just discrete graphics. While using Intel graphics, the video usually plays fine, just a little choppy. I am using gfxCardStatus to switch between them. Is this a flash bug or something else? I've added an image to show what I'm talking about.

    Darrell110 posted in macromedia.dreamweaver
    > problem is I do not want to use another player. I add a
    lot of
    > video for clients and I love how easy it is to do that
    with
    > Dreamweaver.
    I don't see any evidence that you used Dreamweaver to insert
    the
    player. Normally, when you insert Flash with Dreamweaver, it
    inserts
    code I can readily identify. Did you use GoLive?
    The pages you show are consipicuously missing the
    <object> code and
    the JavaScript that DW uses.
    And I don't see any differences in the players. The pages
    both link to
    files named flvplayer.swf (in different folders) with the
    same look and
    the same file size. I am late in this thread, so maybe I
    missed the
    boat.
    Anyway, I don't know if this would make a difference with
    that player,
    but one page uses a relative link to the .flv, while the
    other page
    uses an absolute link, including
    http://. See if changing that one to a
    relative link helps.
    I only watched about a minute from both pages and, although
    872 Kpbs
    for the video track is VERY high, I did not see any glitches.
    (Did you mean to use two slashes in the second link?)
    > Here are samples using the same video file, only
    different
    > PLAYERS:
    http://bobbywarns.com/viewvideo.html
    >
    http://bobbywarns.com//video/viewvideo.html
    Mark A. Boyd
    Keep-On-Learnin' :)

  • U/tube videos open when using Safari but will not open when using Firefox.

    u/tube videos open fine when using Safari but will not open when using Firefox. With Firefox I get the unhighlighted Quicktime symbol with a question mark in the center. WHY?? Any help appreciated --- Toroya

    Hmmmm, strange you view YouTube in Safari & not FF. Which version of FF are you using?
    Try the following:
    Repair permissions & restart.
    Make sure you have the latest versions of Adobe Flash Player Software
    QuickTime Preferences > Advanced > MIME Stettings > Miscellaneous.
    Deactivate the "Flash Media" option.

  • Why wont Youtube videos load when using Firefox 3.6.3?

    I've been having issues with youtube when using firefox, the video doesnt load or show up for that matter its just a black screen where the video should be and on the bottom left hand corner of Mozzilla it says "done" I've tried everything, I updated java and flash but nothing seems to work. What can I do? I know I can use other web browsers but I really want to fix this
    == URL of affected sites ==
    www.youtube.com

    There are a few reasons why youtube might be broken:
    * An extension may be causing the problem: try the steps at [[Troubleshooting extensions and themes]]
    * ''Bad item stored in the Browser Cache'': Follow the steps at [[How to clear the cache]].
    * Firewall software is blocking some resources on the page: see [[Firewalls]]
    If none of this works, let me know if Flash video from other sites work. Here are a few you can try:
    *[http://www.dailymotion.com/video/x9hvlb_3d-toy-story-3-2010-teaser-trailer_shortfilms]
    *[http://www.hulu.com]
    *[http://www.cuatro.com/el-hormiguero/videos]

  • Acer S7 screen flickers during videos and when using Microsoft Office Screen is white

    Had my Acer S7-392 for about 9 months and it has a problem that i've not been able to resolve. - When on some websites or watching video's (embedded into the website like on Facebook) the picture flickers and is unwatchable. If you scroll so that a little of the video is offscreen the problem stops.- Also when using microsoft office programs the screen just goes white and I can't do anything without closing the programs via task manager. I've made sure I have all the right drivers. Intel sends me to the Acer website for the drivers and I have the most up to date of those. I have phoned microsoft and they say that it is not them and even when remote accessing the machine they cannot see a problem. I'm sure its a graphics problem as other than these two irritating issues the machine works fine. Many thanks in advance for anyones help.

    Hi, I don't own an external monitor. I can take the laptop to work and use one there. If I do that and the same problem happens what does that mean? If the problem is not repeated on the monitor what does that also mean? If I can't use a monitor what else can I do? Thanks. Tom

  • Email entering inbox as read when using Outlook Connector

    When using Outlook Connector (R 9.0.4.1) with Outlook 2003 all mail that is received has the header:
    'This message has not been sent.
    The message will be sent via Oracle Connector for Outlook.'
    All mail that is received is also marked as read.
    When Outlook connector is removed there is no problem.
    I haven't found any settings within Outlook that would help.
    Has anyone else experienced this problem, or have any ideas what is causing it?

    Hi,
    Don't know if you meant it literally, but OCFO only started supporting Outlook 2003 with 9.0.4.1.11, not 9.0.4.1. Perhaps this is part of the problem.
    Regards,
    Francois Perrault

  • Error Generated by DIO Port Read when using a compilied Operator Interface

    When using a compilied version of an TestStand Operator interface, a Vi that reads the status of a port on a PCI-6602 board stops working. Within this VI a sub VI called Read DIO Port brings back an error -10007. But when I use the un compilied version of the operator interface there is no problem with the VI.
    Why is this so?
    Attachments:
    Get_SIU_Switch_States.vi ‏58 KB

    I have tried to simulate this issue and I have not been able to replicate your issue.
    I know the -10007 occurs when you try and create/use a resource index that is not possible i.e if your referencing channel 9 and the device only has 8 channels.
    Have you managed to overcome this issue yet?

  • Flash video stutters when using DW's player

    I'm banging my head against the wall with this one. I want to
    add video to my site using Dreamweavers player. But, the video
    stutters during playback. This is not an occasional hang up, it
    seems to only play every other frame or so.
    This problem has nothing to do with bandwidth or computer
    speed. This problem occures when played back locally, AND DOES NOT
    HAPPEN with another player. The problem is I do not want to use
    another player. I add a lot of video for clients and I love how
    easy it is to do that with Dreamweaver.
    Here are samples using the same video file, only different
    PLAYERS:
    Problem Page
    Works fine on this test
    page (different player)
    Please help.

    Darrell110 posted in macromedia.dreamweaver
    > problem is I do not want to use another player. I add a
    lot of
    > video for clients and I love how easy it is to do that
    with
    > Dreamweaver.
    I don't see any evidence that you used Dreamweaver to insert
    the
    player. Normally, when you insert Flash with Dreamweaver, it
    inserts
    code I can readily identify. Did you use GoLive?
    The pages you show are consipicuously missing the
    <object> code and
    the JavaScript that DW uses.
    And I don't see any differences in the players. The pages
    both link to
    files named flvplayer.swf (in different folders) with the
    same look and
    the same file size. I am late in this thread, so maybe I
    missed the
    boat.
    Anyway, I don't know if this would make a difference with
    that player,
    but one page uses a relative link to the .flv, while the
    other page
    uses an absolute link, including
    http://. See if changing that one to a
    relative link helps.
    I only watched about a minute from both pages and, although
    872 Kpbs
    for the video track is VERY high, I did not see any glitches.
    (Did you mean to use two slashes in the second link?)
    > Here are samples using the same video file, only
    different
    > PLAYERS:
    http://bobbywarns.com/viewvideo.html
    >
    http://bobbywarns.com//video/viewvideo.html
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Video lag when using apple remote app

    I'm running iTunes on a vista machine.....iTunes runs great but when I use the remote app on my iPad I get video stutter........music is fine. any help would be great...........
    Thanks
    Applesinafton

    How about rephrasing your original question as I find it confusing and likely incomplete.
    People will try to help but they must understand your question.
    Also they are less likely to help a poster that bashes someone trying to help.

  • ITunes video jumps when using iPhone (wifi sync enabled)

    Hello,
    I have had many issues with wireless sync for my iPhone, but I am going to focus on one issue here:
    (When the wireless syncing is working) and I am watching a film, video podcast, TV show... anything video, on iTunes, if I open my iPhone (not physically connected to the PC) to look at something, maybe just to check the time, the video on iTunes stutters to a halt for a little while. Now, I know this has got to be to do with the iPhone checking in with iTunes wirelessly, almost a ping-negotiation-authentication thing, but is there any way to stop is messing up what I am watching? It is very annoying.
    I have Windows 7 Enterprise 64-bit, iTunes 10.5.3 64-bit, (iPhone iOS 5.0.1), a 1GB Graphics Card, a Core2Duo 2.4Ghz CPU, and 4GB RAM, so it is not like I am underspec'd, and it does seem to be specifically iTunes and wifi-sync related.
    Has anyone else experienced this, and has anyone else solved this?

    Hi there,
    I also have this exact same problem and have struggled to find any solution that works, and until now have not found anyone else with the same problem.
    I would be interested to hear if anyone has any suggestions on how to resolve this.
    I have Windows 7, 32-bit, iTunes 10.5.3.3, iPhone 4 (iOS 5.0.1), 4GB RAM, Intel Quad 2.4Ghz, nVidia GeForce 8800 GT... so as with Buonacorsi, I don't think I'm underspec'd.
    I can confirm that if I switch off iPhone wifi syncing I don't have any problems. I keep switching off wifi syncing, but I find more and more that I want to use that function so it is quite annoying.
    Anyway, looking forward to hearing any thoughts...

  • Poor Video performance when using ver 9.0.2 of Jdeveloper

    I am using the 9.0.2 version of JDeveloper under Linux Suse 8.0. Does anyone know why when I use this product ubder this operating system the screens either do not refresh quickley or completely? I am using a 16MB video card.

    I tried this test:
    drop table foo;
    create table foo (numeric number, text varchar2(2000));
    begin
      for i in 1 .. 100000 loop
        insert into foo values (i, 'the cat sat on the mat');
      end loop;
    end;
    create index fooindex on foo(text) indextype is ctxsys.context
    filter by numeric
    EXEC dbms_workload_repository.create_snapshot;
    begin
      for i in 1 .. 100000 loop
        delete from foo where numeric = i;
      end loop;
    end;
    commit;
    EXEC dbms_workload_repository.create_snapshot;
    @?/rdbms/admin/awrrpt.sqlIn the AWR report, I can see 100,000 inserts into CTXSYS.DRV$DELETE2 and 100,000 deletes from CTXSYS.DRV$SDATA_UPDATE2. On my desktop PC these take 4.06 seconds and 2.85 seconds of CPU time respectively, compared to 5.43 seconds for the delete from the $K table. Elapsed times are almost identical to CPU times.
    That doesn't seem unreasonable to me - 70 microseconds per row updated. I added "alter system flush shared pool" before starting the delete but it made very little difference. If your figures are much worse than this then perhaps we should look further into it.

  • Speeding up Time Capsule when used as external hard drive

    I use a Time Capsule as an external "server" that two macs use, both connected via ethernet. We have a second Time Capsule (connected wirelessly) that is used for Time Machine back-ups.
    Recently (since upgrading to Mavericks — coincidence?) accessing the files has been getting slow — click on a folder and I have to wait up to a minute (I timed it) to see its contents. This is on iMac (27-inch Mid 2010) running OS X Mavericks (10.9.2). Our newer Mac does display the contents of folders a little quicker, so perhaps it is the Mac, not Time Capsule.
    The Time Capsule has 180gb free — could it be too full?
    Is there any way of speeding the access to the files up on this Mac, or should I "downgrade" the Mac to Mountain Lion / Lion.
    (on a side note OS Mail is desperatly sluggish since upgrading to Mavericks, so perhaps I will have to downgrade...)

    You are showing the TC as Gen1 in your profile. Are both TC gen1?
    The disk performance of Gen1 is not particularly good. Especially copying a lot of small files.
    And the TC was never designed to do what you are using it for.. the spin down for instance is very rapid. On a normal NAS you can control spin down to a more satisfactory balance between speed and power saving.
    Sometimes the OS is just slow.
    Manually mount the TC drive in the OS.
    So in Finder go, connect to server.
    Type in the address,
    AFP://TCname.local
    or if the TC maintains a constant IP.
    AFP://TCIPaddress
    (Where TCname is the network name of the TC.. or TCIPaddress is its standard IP address. )
    Make sure ipv6 is set to link-local in the wireless and ethernet setup of the Mac. But make sure wireless is turned off if you use ethernet. Just having wireless turned on has caused slow transfer in my testing.
    I suggest you then do a test copying a single large file (1GB aprox) to the TC.. discount the spin up time.. as drives get old and sticky they take longer and longer to spin up. And see what kind of real transfer speeds you get.. use activity monitor. I would hope you get at least 30-40MByte/s. Less than that something is behaving poorly.. try copying the same file to your other computer. Make sure the ethernet connection is showing gigabit to both.
    Mavericks seems to have made a few backward steps and sticking to Lion/Mountain Lion a bit longer may be worthwhile.

  • Form will not open with adobe reader when using chrome and mozilla

    The form opens fine in internet explorer, but when opened with chrome and mozilla it says that parts of the document could not be displayed and the 'submit form' and 'print' functions do not work? how do I get it so that the forms open with adobe reader as a pdf automatically instead of opening in another search engine tab?
    Thanks

    Hi
    Chrome and Firefox use their default PDF viewers instead of Adobe Acrobat / Reader and hence most PDFs will not be fully functional in those.
    For that you just need to change the settings :-
    http://helpx.adobe.com/livecycle/kb/xfa-forms-firefox-chrome.html
    Thanks and Regards
    Rahul JOshi

Maybe you are looking for

  • Is it a bad idea to use Time Capsule to access my iTunes music?

    I'm thinking about putting all of my music on my time capsule and making iTunes access it through that. Is this a bad idea for any reason? I'm thinking that there could be a few seconds of delay when playing a song or something, which I don't really

  • Converting from XML to pdf: looping in XSL FO

    I have a set of data which is dynamic.i.e the no. of rows is unpredictable. So, I want to use a <xsl:for-each . My code looks like: <xsl:for-each select="parent::EC-REPORT/TITLE-HEADER"> <fo:block line-height="19pt" font-weight="bold" font-size="10pt

  • Facetime is using my husband's cell phone number instead of mine? How can I change the number in face time?

    Facetime is using my husband's cell phone number instead of mine. How can I change the number to mine in face time?

  • Syncing Wrong Photos/Pictures

    I have an iPhone 3GS with FW 3.1.3 and Windows XP operating system and everytime I try and sync lately, I get the wrong photos/pictures that come up with podcasts and videos. I have 2 videos on my iPhone and in iTunes it shows the correct picture und

  • Prop in house production perc

    Dear ALL:                   I want to add a tick mark field for some assets that are created in house. But when i did the required configuration in screen layout for the relevant class of asset it displays In house production in Asset master data as