{"id":809,"date":"2020-06-11T15:30:42","date_gmt":"2020-06-11T13:30:42","guid":{"rendered":"https:\/\/next-hack.com\/?p=809"},"modified":"2020-10-07T08:46:10","modified_gmt":"2020-10-07T06:46:10","slug":"a-20-vga-to-usb-capture-system-and-more","status":"publish","type":"post","link":"https:\/\/next-hack.com\/index.php\/2020\/06\/11\/a-20-vga-to-usb-capture-system-and-more\/","title":{"rendered":"A $20 VGA to USB Capture System (and more!)"},"content":{"rendered":"\n<p>If you ever had the necessity to capture HDMI to USB, you\u2019ll know that nowadays there are <a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_dWR9nJI\" target=\"_blank\">cheap HDMI to USB capture dongles available in Amazon, Aliexpress or Ebay<\/a>, that allow to record your HDMI stream to your PC, using <a rel=\"noreferrer noopener\" href=\"https:\/\/obsproject.com\/\" target=\"_blank\">OBS <\/a>or even <a rel=\"noreferrer noopener\" href=\"https:\/\/www.videolan.org\/\" target=\"_blank\">VLC<\/a>. Be aware that most of these dongles are advertised as USB 3.0, but instead they are USB 2.0 only, so forget about 1080p @60Hz. Still, USB 2.0 is enough for some applications. These cards are sold under 15$, so, despite they are USB 2.0, they are worth a try.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"721\" src=\"https:\/\/next-hack.com\/wp-content\/uploads\/2020\/06\/HDMI-CAPTURE.png\" alt=\"\" class=\"wp-image-817\"\/><figcaption>Fig. 1. A low cost HDMI to USB capture device.<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>However, if you need to capture a VGA signal (like we did, to capture <a rel=\"noreferrer noopener\" href=\"https:\/\/next-hack.com\/index.php\/2020\/06\/05\/vga-library-for-uchip-with-usb-host-support-and-uchip-simple-vga-console\/\" target=\"_blank\">uSVC <\/a>images), the situation is completely different. There are some VGA to USB dongles, or other VGA capture cards, but these are overly expensive, well above 100$ (sometimes above 200$) and some of them have a noticeable lag between input and output.<\/p>\n\n\n\n<p>This article is different from the ones we used to write: in this hack, we won\u2019t create anything from scratch, but instead, we will show a simple trick that allows you to <strong>reduce the cost <\/strong>of your VGA acquisition system by a <strong>factor 5<\/strong> at least. Furthermore, you\u2019ll get a more versatile equipment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A very simple hack<\/h3>\n\n\n\n<p>We already wrote that you can find <a href=\"http:\/\/s.click.aliexpress.com\/e\/_dWR9nJI\" target=\"_blank\" rel=\"noreferrer noopener\">cheap HDMI to USB capture cards<\/a> (note! HDMI -&gt; USB, not the opposite, which is useless for this hack!). The trick is simple: buy one of these adapters, and also buy a <a href=\"http:\/\/s.click.aliexpress.com\/e\/_dUHp9d6\">VGA to HDMI adapter<\/a> (note: VGA -&gt; HDMI, not the opposite, which is useless for this hack!). You\u2019ll also need to get an HDMI cable too (of whatever length) if you don&#8217;t have one spare.<\/p>\n\n\n\n<p>There are many VGA to HDMI adapters, but if you can afford some 8$ extra, we recommend buying <a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_dS81b3Q\" target=\"_blank\">one that also has an additional VGA output<\/a>. It is always useful to see in an actual monitor what you are recording, without having to check the recording software window on the PC screen.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"609\" src=\"https:\/\/next-hack.com\/wp-content\/uploads\/2020\/06\/VGA-TO-HDMI.png\" alt=\"\" class=\"wp-image-818\"\/><figcaption>Fig. 2. A VGA to HDMI + VGA converter. The additional VGA output might be useful in several cases.<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Therefore, instead of having to purchase a VGA capture device (which can only do just that job), you need to buy:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_dWR9nJI\" target=\"_blank\">The HDMI to USB capture dongle<\/a> &#8211; about 13$<\/li><li><a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_d6YQSGM\" target=\"_blank\">An HDMI cable (if you don\u2019t have it already) <\/a>&#8211; about 1$<\/li><li>A <a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_dUHp9d6\" target=\"_blank\">VGA to HDMI converter<\/a> &#8211; about 3$.  <a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_dS81b3Q\" target=\"_blank\">We bought this one, which is more expensive but it has an additional VGA output, if you want to connect a monitor too.<\/a> &#8211; about 11$<\/li><li>If you buy the cheapest VGA to HDMI converter, you might need a VGA male to male cable too like <a rel=\"noreferrer noopener\" href=\"http:\/\/s.click.aliexpress.com\/e\/_d8ymsoy\" target=\"_blank\">this one<\/a> (about 3$).<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Connecting everything<\/h3>\n\n\n\n<p>Then, just make the connection:<br>VGA OUTPUT to be recorded -&gt; VGA TO HDMI CONVERTER -&gt; HDMI CAPTURE CARD -&gt; USB of your PC\/MAC and you\u2019re set.<\/p>\n\n\n\n<p>This is our setup to capture the VGA output of our DIY VGA console. Yes, it is quite a mess of cables, but it does the job quite nicely!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1200\" src=\"https:\/\/next-hack.com\/wp-content\/uploads\/2020\/06\/vga-capture.jpeg\" alt=\"\" class=\"wp-image-812\"\/><figcaption>Fig. 3. Our rudimentary VGA capture setup! From the top, we get uSVC VGA and audio signals, which are converted to HDMI (the adapter in the center of the photo), which feeds through the HDMI cable the HDMI to USB capture dongle, which is connected to the PC. Simple, right ? <\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring OBS to Capture the Video<\/h3>\n\n\n\n<p>To capture the actual video data:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/obsproject.com\/\" target=\"_blank\">Download and install OBS<\/a><\/li><li>Connect everything as written above<\/li><li>Launch OBS<\/li><li>Under \u201cSources\u201d, click on \u201c+\u201d<\/li><li>On the menu, find and select \u201cVideo capture device\u201d<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"397\" height=\"427\" src=\"https:\/\/next-hack.com\/wp-content\/uploads\/2020\/06\/add-source-1.png\" alt=\"\" class=\"wp-image-811\"\/><figcaption>Fig. 4. Select Video Capture Device.<\/figcaption><\/figure><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<ul class=\"wp-block-list\"><li>On the &#8220;Create\/Select Source&#8221; window, click on &#8220;create new&#8221;, and press OK.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"346\" src=\"https:\/\/next-hack.com\/wp-content\/uploads\/2020\/06\/CreateSelectSource.png\" alt=\"\" class=\"wp-image-810\"\/><figcaption>Fig. 5. Select Create new, give a name and press OK.<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Choose the device from the drop down list. In our case it was named &#8220;USB Video&#8221;. Also choose the resolution and FPS type. Once the parameters are configured correctly, you should already see the preview.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"667\" src=\"https:\/\/next-hack.com\/wp-content\/uploads\/2020\/06\/video-capture-device-properties.png\" alt=\"\" class=\"wp-image-813\"\/><figcaption>Fig 6. Setting example, showing the VGA video capture (main menu of the Tetris clone on uSVC)<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Final Words&#8230;<\/h3>\n\n\n\n<p>You should spend no more than 20-28$ (including shipping) for not only a system that allows you to capture a VGA signal, but also:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Has also an HDMI capture device.<\/li><li>Has also a VGA to HDMI converter.<\/li><li>(if you purchase the VGA->HDMI converter with an additional VGA output) It allows to show the same image in two monitors (one VGA and one HDMI).<\/li><\/ol>\n\n\n\n<p>And what about lag? 20ms!<\/p>\n\n\n\n<p>Not bad for 20$, isn\u2019t it?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever had the necessity to capture HDMI to USB, you\u2019ll know that nowadays there are cheap HDMI to USB capture dongles available in Amazon, Aliexpress or Ebay, that allow to record your HDMI stream to your PC, using&#8230; <a class=\"read-more-button\" href=\"https:\/\/next-hack.com\/index.php\/2020\/06\/11\/a-20-vga-to-usb-capture-system-and-more\/\">(READ MORE)<\/a><\/p>\n","protected":false},"author":2,"featured_media":815,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-809","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-hacks"],"_links":{"self":[{"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/posts\/809"}],"collection":[{"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/comments?post=809"}],"version-history":[{"count":6,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/posts\/809\/revisions"}],"predecessor-version":[{"id":949,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/posts\/809\/revisions\/949"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/media\/815"}],"wp:attachment":[{"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/media?parent=809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/categories?post=809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/next-hack.com\/index.php\/wp-json\/wp\/v2\/tags?post=809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}