{"id":1441,"date":"2013-01-04T21:36:12","date_gmt":"2013-01-04T19:36:12","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1441"},"modified":"2013-01-04T22:32:23","modified_gmt":"2013-01-04T20:32:23","slug":"captureclock-utility-to-check-videoaudio-capture-rates","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1441","title":{"rendered":"CaptureClock: Utility to Check Video\/Audio Capture Rates"},"content":{"rendered":"<p>Someone discovered the utility while browsing my public repository (the app prompts to post data back to the website, and the anonymous user accepted the offer and posted the report from this unpublished application), so I have to drop a few lines about the tool.<\/p>\n<p>The idea is basically straightforward: live capture involves attaching time stamps to media samples, and there is a chance that the time stamps slide away causing unwanted effects on captured clip. The application captures video and audio simultaneously and tracks media sample time stamps, and compares them against system clock as well. Having it simply run for a few minutes one can see how the capture is doing and if any of the timings drift away. Being stopped it puts report onto clipboard and optionally posts it back to me online (no actually specific intent about this data, however if you want to share data for a device that does drift away, you are to only click once to send me the details).<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image0011.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image0011.png\" alt=\"CaptureClock operation\" width=\"692\" height=\"379\" class=\"alignnone size-full wp-image-1442\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image0011.png 692w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image0011-320x175.png 320w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/a><\/p>\n<p>The output is on clipboard in tab-separated values (TSV) format:<\/p>\n<pre><code>Computer Name   PSI\nWindows Version 6.1.7601 Service Pack 1\nVideo Device    Conexant's BtPCI Capture    @device:pnp:\\\\?\\pci#ven_109e&amp;dev_036e&amp;subsys_18511851&amp;rev_02#4&amp;39c3dd91&amp;0&amp;08f0#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global\nAudio Device    Stereo Mix (Realtek High Defini @device:cm:{33D9A762-90C8-11D0-BD43-00A0C911CE86}\\Stereo Mix (Realtek High Defini\n\nSystem Time Video Sample Count  Video Sample Time   Relative Video Sample Time  Audio Sample Count  Audio Sample Time   Relative Audio Sample Time\n30439   907 30381   -57 304 30291   -147\n<\/code><\/pre>\n<p>Or you might prefer pasting it onto Excel:<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image002.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image002-320x70.png\" alt=\"CapptureClock Output on Excel\" width=\"320\" height=\"70\" class=\"alignnone size-medium wp-image-1443\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image002-320x70.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image002-800x177.png 800w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2013\/01\/Image002.png 1259w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a><\/p>\n<p>By the way, this is also an easy way to ensure devices are operational and check effective video frame rate.<\/p>\n<h3>Download links:<\/h3>\n<ul>\n<li>Partial Visual C++ .NET 2010 source code: <a href=\"https:\/\/www.alax.info\/trac\/public\/browser\/trunk\/Utilities\/CaptureClock\">Trac<\/a>, <a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Utilities\/CaptureClock\">Subversion<\/a><\/li>\n<li>Binaries: Win32 \u00e2\u20ac\u201c <a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/Utilities\/CaptureClock\/_Bin\/Release%20Trace\/CaptureClock.exe\">CaptureClock.exe<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Someone discovered the utility while browsing my public repository (the app prompts to post data back to the website, and the anonymous user accepted the offer and posted the report from this unpublished application), so I have to drop a few lines about the tool. The idea is basically straightforward: live capture involves attaching time&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1441\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,2,20],"tags":[485,162,78,272,211,451,486],"class_list":["post-1441","post","type-post","status-publish","format-standard","hentry","category-atl","category-utilities","category-wtl","tag-audio","tag-capture","tag-directshow","tag-frame-rate","tag-live","tag-rate-matching","tag-video"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=1441"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1441\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}