{"id":951,"date":"2014-09-21T16:23:56","date_gmt":"2014-09-21T15:23:56","guid":{"rendered":"http:\/\/blog.blockos.org\/?p=951"},"modified":"2014-11-04T14:15:05","modified_gmt":"2014-11-04T13:15:05","slug":"951","status":"publish","type":"post","link":"https:\/\/blog.blockos.org\/?p=951","title":{"rendered":"A penguin, an USB device and a video game console walk into a bar."},"content":{"rendered":"<p>Some months ago I bought a cheap usb video capture device <a href=\"http:\/\/www.dx.com\/p\/easycap-usb-2-0-audio-video-capture-surveillance-dongle-with-mac-os-support-26319#.VB7kXj9EGis\">(dx.com)<\/a>. Using it with vlc under Windows is pretty straightforward. What about Linux?<br \/>\nFirst things first, if you are running a Debian Wheezy with a 3.2.x kernel you have nothing to do. The em28xx module is already here. You can use vlc or mplayer. Unfortunatly I didn&#8217;t managed to configure vlc properly. After some tweeking and intense internet browsing, I get the following parameters for mplayer: <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmplayer tv:\/\/ -tv driver=v4l2:width=720:height=480:outfmt=uyvy:norm=NTSC-M:device=\/dev\/video1:input=1:fps=30:alsa:amode=1:forcechan=2:audiorate=48800:adevice=plughw.2,0:forceaudio:immediatemode=0 -ao sdl -vo sdl<\/pre>\n<p>The input lag is rather small but it can be troublesome if you intend to record longplays. On the other hand, it&#8217;s a must-have if you are a coder. No need for an extra screen! This gadget saved my life at <a href=\"http:\/\/datastorm.se\/\">Datastorm 2014<\/a>. <a href=\"http:\/\/www.pouet.net\/prod.php?which=62591\">Our intro<\/a> was nearly done and I borrowed Flubba&#8217;s usb EasyCap device to test it on the PC Engine hardware. It was running like a charm under <a href=\"http:\/\/mednafen.sourceforge.net\/\">Mednafen<\/a> but it failed miserably on the hardware (blame crappy bank management code). Hopefully it was all fixed before the deadline. This little usb gizmo was also very helpful when I was working on the Everdrive SD card driver or on the Memory Base 128.<\/p>\n<div style=\"text-align:center;\">\n<a href=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392-300x111.png\" alt=\"Fire Pro Wrestling 3 title screen\" width=\"300\" height=\"111\" class=\"size-medium wp-image-953\" srcset=\"https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392-300x111.png 300w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392-1024x379.png 1024w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392-250x92.png 250w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392-150x55.png 150w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162513-e1411313677392.png 1520w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> &nbsp; <a href=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634-300x111.png\" alt=\"Monster Puroresu title screen\" width=\"300\" height=\"111\" class=\"size-medium wp-image-955\" srcset=\"https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634-300x111.png 300w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634-1024x379.png 1024w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634-250x92.png 250w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634-150x55.png 150w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162623-e1411313748634.png 1520w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <\/p>\n<p><a href=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956-300x111.png\" alt=\"Violent Soldier title screen\" width=\"300\" height=\"111\" class=\"size-medium wp-image-956\" srcset=\"https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956-300x111.png 300w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956-1024x379.png 1024w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956-250x92.png 250w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956-150x55.png 150w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-162911-e1411313774956.png 1520w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> &nbsp; <a href=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833-300x111.png\" alt=\"In game capture.\" width=\"300\" height=\"111\" class=\"size-medium wp-image-957\" srcset=\"https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833-300x111.png 300w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833-1024x379.png 1024w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833-250x92.png 250w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833-150x55.png 150w, https:\/\/blog.blockos.org\/wp-content\/uploads\/2014\/09\/Capture-du-2014-09-21-163303-e1411313805833.png 1520w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Some months ago I bought a cheap usb video capture device (dx.com). Using it with vlc under Windows is pretty straightforward. What about Linux? First things first, if you are running a Debian Wheezy with a 3.2.x kernel you have nothing to do. The em28xx module is already here. You\u2026 <a class=\"continue-reading-link\" href=\"https:\/\/blog.blockos.org\/?p=951\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[30],"_links":{"self":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/951"}],"collection":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=951"}],"version-history":[{"count":19,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/951\/revisions"}],"predecessor-version":[{"id":996,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/951\/revisions\/996"}],"wp:attachment":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}