<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Server Capture Guide: PCIe Video Capture for Linux</title><description>Plain guides to PCIe video capture cards for Linux servers, built from published official documentation.</description><link>https://servercaptureguide.com/</link><language>en</language><atom:link href="https://servercaptureguide.com/rss.xml" rel="self" type="application/rss+xml"/><item><title>DeckLink Duo 2 and Quad vs Magewell for HDMI and SDI</title><link>https://servercaptureguide.com/posts/decklink-duo-2-quad-vs-magewell-multi-channel/</link><guid isPermaLink="true">https://servercaptureguide.com/posts/decklink-duo-2-quad-vs-magewell-multi-channel/</guid><description>Compare five DeckLink and Magewell cards for HDMI and SDI. See Magewell input limits and PCIe specs, plus DeckLink Duo 2 and Quad 2 connector mapping.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Use single-connector mapping on the DeckLink Duo 2 or Quad 2 for independent SDI capture or playback channels. The Duo 2 gives you four channels in this mode. &lt;a href=&quot;https://www.blackmagicdesign.com/developer/support/faq/desktop-video-developer-support-faqs&quot;&gt;Desktop Video developer FAQ&lt;/a&gt; For HDMI, consider the DeckLink Quad HDMI Recorder. For capture only, also consider the Magewell Pro Capture Quad SDI or Quad HDMI, depending on your source connections and formats. &lt;a href=&quot;https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-36&quot;&gt;DeckLink HDMI specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-sdi&quot;&gt;Magewell SDI specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-hdmi&quot;&gt;Magewell HDMI specs&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Compare the five cards&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Card&lt;/th&gt;
&lt;th&gt;Video connections&lt;/th&gt;
&lt;th&gt;Published input formats or limit&lt;/th&gt;
&lt;th&gt;PCIe interface&lt;/th&gt;
&lt;th&gt;Manufacturer specs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;DeckLink Duo 2&lt;/td&gt;
&lt;td&gt;Four independent SDI channels with &lt;a href=&quot;https://www.blackmagicdesign.com/developer/support/faq/desktop-video-developer-support-faqs&quot;&gt;single-connector mapping&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.blackmagicdesign.com/products/decklink/techspecs&quot;&gt;Blackmagic Design&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DeckLink Quad 2&lt;/td&gt;
&lt;td&gt;Independent SDI channels with &lt;a href=&quot;https://www.blackmagicdesign.com/developer/support/faq/desktop-video-developer-support-faqs&quot;&gt;single-connector mapping&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-30&quot;&gt;Blackmagic Design&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Magewell Pro Capture Quad SDI&lt;/td&gt;
&lt;td&gt;4 × SD/HD/3G-SDI inputs on BNC&lt;/td&gt;
&lt;td&gt;Up to 2048 × 1080 pixels&lt;/td&gt;
&lt;td&gt;Gen 2 ×4&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-sdi&quot;&gt;Magewell&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DeckLink Quad HDMI Recorder&lt;/td&gt;
&lt;td&gt;HDMI capture&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-36&quot;&gt;Blackmagic Design&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Magewell Pro Capture Quad HDMI&lt;/td&gt;
&lt;td&gt;4 × HDMI 1.4a inputs&lt;/td&gt;
&lt;td&gt;Up to 2048 × 2160 pixels&lt;/td&gt;
&lt;td&gt;Gen 2 ×4&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-hdmi&quot;&gt;Magewell&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Check the exact timing you need against the card&apos;s video standards. The Magewell HDMI card&apos;s 2160-pixel height comes with a maximum input width of 2048 pixels. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-hdmi&quot;&gt;Magewell HDMI specs&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Match the card to your sources and slot&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Count the inputs and outputs you need at the same time.&lt;/strong&gt; Four 1080p60 SDI cameras plus one SDI playback feed need five connections. The Duo 2 offers four independent channels in single-connector mode, one fewer than this setup needs. &lt;a href=&quot;https://www.blackmagicdesign.com/developer/support/faq/desktop-video-developer-support-faqs&quot;&gt;Desktop Video developer FAQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Check the video mode and the PCIe slot together.&lt;/strong&gt; Suppose your HDMI source sends 2160p60 Ultra HD with a frame wider than 2048 pixels and your only available PCIe slot has four lanes. The Magewell matches the slot&apos;s lane count. Its 2048-pixel input width limit falls short of the source. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-hdmi&quot;&gt;Magewell HDMI specs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Check the capture app on your operating system.&lt;/strong&gt; Check with your software vendor if you plan to use a third-party app with the Quad HDMI Recorder. Both Magewell cards list DirectShow on Windows, V4L2 on Linux and AVCaptureSession on macOS. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-sdi&quot;&gt;Magewell SDI specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-quad-hdmi&quot;&gt;Magewell HDMI specs&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Set DeckLink SDI connectors to independent channels&lt;/h2&gt;
&lt;p&gt;In &lt;strong&gt;Desktop Video Setup&lt;/strong&gt;, use the &lt;strong&gt;Video&lt;/strong&gt; tab to open the configuration for each sub-device with a paired assignment. Under &lt;strong&gt;Connector Mapping&lt;/strong&gt;, select a single connector. For example, change &lt;strong&gt;SDI 1 &amp;amp; SDI 2&lt;/strong&gt; to &lt;strong&gt;SDI 1&lt;/strong&gt;. This is the half-duplex setting Blackmagic documents for exposing independent channels on the Duo 2 and Quad 2. &lt;a href=&quot;https://www.blackmagicdesign.com/developer/support/faq/desktop-video-developer-support-faqs&quot;&gt;Desktop Video developer FAQ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The manufacturers’ model specifications and Blackmagic Design’s Desktop Video developer FAQ were checked on November 26, 2026. The mapping steps were reviewed in documentation only. No hardware testing was performed.&lt;/p&gt;
</content:encoded><category>capture-cards</category><category>decklink</category><category>magewell</category><category>hdmi</category><category>sdi</category><author>Server Capture Guide Editorial</author></item><item><title>Best PCIe &amp; M.2 Capture Cards for Linux and Proxmox</title><link>https://servercaptureguide.com/posts/best-pcie-m2-capture-cards-linux-proxmox-servers/</link><guid isPermaLink="true">https://servercaptureguide.com/posts/best-pcie-m2-capture-cards-linux-proxmox-servers/</guid><description>Compare PCIe and M.2 HDMI capture cards for Linux and Proxmox. Check slot fit, Linux drivers, and IOMMU groups before buying or assigning a card.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;For HD capture from a PCIe x1 slot, start with the Magewell Pro Capture HDMI. For a compact server with an M-key 2280 socket wired for PCIe x4, choose the Magewell Eco Capture HDMI 4K M.2 for up to 4K30 HDMI input, or the Eco Capture HDMI 4K Plus M.2 for up to 4K60 HDMI input. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi&quot;&gt;Pro HDMI specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K input limit&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-plus-m2&quot;&gt;Eco 4K Plus specs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For a Proxmox VE guest, check IOMMU support and the card’s group before assigning it to the VM. Check the capture driver against the Linux system that will use the card. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox passthrough guide&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/pro-capture-hdmi-4k-plus&quot;&gt;Magewell Linux driver downloads&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Compare PCIe and M.2 HDMI capture cards&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pick&lt;/th&gt;
&lt;th&gt;Host connection&lt;/th&gt;
&lt;th&gt;HDMI input&lt;/th&gt;
&lt;th&gt;Linux video API&lt;/th&gt;
&lt;th&gt;Manufacturer documentation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Magewell Pro Capture HDMI&lt;/td&gt;
&lt;td&gt;PCIe Gen2 x1&lt;/td&gt;
&lt;td&gt;HDMI 1.4a&lt;/td&gt;
&lt;td&gt;V4L2&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi&quot;&gt;Specs&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Magewell Pro Capture HDMI 4K Plus&lt;/td&gt;
&lt;td&gt;PCIe Gen2 x4&lt;/td&gt;
&lt;td&gt;Up to 4096 × 2160 at 60 fps&lt;/td&gt;
&lt;td&gt;V4L2&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi-4k-plus&quot;&gt;Specs&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Magewell Eco Capture HDMI 4K M.2&lt;/td&gt;
&lt;td&gt;M.2 2280 M-key, PCIe Gen2 x4&lt;/td&gt;
&lt;td&gt;Up to 4096 × 2160 at 30 fps&lt;/td&gt;
&lt;td&gt;V4L2&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-m2&quot;&gt;Specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/eco-capture-hdmi-4k-m2&quot;&gt;Input limit&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Magewell Eco Capture HDMI 4K Plus M.2&lt;/td&gt;
&lt;td&gt;M.2 2280 M-key, PCIe Gen3 x4&lt;/td&gt;
&lt;td&gt;Up to 4096 × 2160 at 60 fps&lt;/td&gt;
&lt;td&gt;V4L2&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-plus-m2&quot;&gt;Specs&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AVerMedia CN311-H&lt;/td&gt;
&lt;td&gt;M.2, PCIe Gen2 x2&lt;/td&gt;
&lt;td&gt;Up to 4096 × 2160 at 30 fps&lt;/td&gt;
&lt;td&gt;V4L2 on x86 and x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://professional.avermedia.com/en/product-detail/CN311-H&quot;&gt;Specs and drivers&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Choose the PCIe Pro Capture HDMI 4K Plus if you have a suitable x4 expansion slot and need a 4K60 input. Before choosing the CN311-H, verify physical fit, including the M.2 socket key, confirm the slot provides two PCIe lanes, and check that the published Linux driver matches your system. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi-4k-plus&quot;&gt;Pro 4K Plus specs&lt;/a&gt; · &lt;a href=&quot;https://professional.avermedia.com/en/product-detail/CN311-H&quot;&gt;CN311-H specs and drivers&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Check slot fit, HDMI cabling and driver support&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Slot.&lt;/strong&gt; Match the motherboard’s listed slot type and PCIe lane count to the table. For the two Magewell M.2 cards, check for a 2280 M-key socket with PCIe x4 wiring. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi&quot;&gt;Pro HDMI specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi-4k-plus&quot;&gt;Pro 4K Plus specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K specs&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-plus-m2&quot;&gt;Eco 4K Plus specs&lt;/a&gt; · &lt;a href=&quot;https://professional.avermedia.com/en/product-detail/CN311-H&quot;&gt;CN311-H specs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;HDMI connection.&lt;/strong&gt; Match the Eco Capture HDMI 4K M.2 breakout to the exact SKU. Part 11520 uses a JST SHD socket. Part 11524 uses an FPC socket. The 4K Plus M.2 has an LVDS-to-HDMI adapter and cable. The CN311-H uses an I/O board and micro coaxial cable. &lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K connectors&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K box contents&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/eco-capture-hdmi-4k-plus-m2&quot;&gt;Eco 4K Plus box contents&lt;/a&gt; · &lt;a href=&quot;https://professional.avermedia.com/en/product-detail/CN311-H&quot;&gt;CN311-H I/O board&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Input and capture modes.&lt;/strong&gt; Check the camera or console’s HDMI output against the card’s input specification, then check the capture format you plan to record. For example, the Eco 4K M.2 lists some 60 fps capture formats and notes that PCIe bandwidth and image resolution can limit the actual capture rate. It accepts 4096 × 2160 HDMI input at up to 30 fps. &lt;a href=&quot;https://www.magewell.com/tech-specs/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K capture formats&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/eco-capture-hdmi-4k-m2&quot;&gt;Eco 4K input limit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Linux driver.&lt;/strong&gt; Run &lt;code&gt;uname -r&lt;/code&gt; for the kernel release and &lt;code&gt;uname -m&lt;/code&gt; for the machine hardware name in the Linux system that will capture video. Compare those and the distribution with the driver download and release notes for the exact card. &lt;a href=&quot;https://github.com/coreutils/coreutils/blob/master/src/uname.c&quot;&gt;GNU uname command source&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/pro-capture-hdmi-4k-plus&quot;&gt;Magewell Pro downloads&lt;/a&gt; · &lt;a href=&quot;https://www.magewell.com/products/eco-capture-hdmi-4k-m2&quot;&gt;Magewell Eco downloads&lt;/a&gt; · &lt;a href=&quot;https://professional.avermedia.com/en/product-detail/CN311-H&quot;&gt;AVerMedia downloads&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The CN311-H download page lists Linux driver 2.0.00.1401 for Ubuntu 20.04, 18.04 and 16.04 and for CentOS 7, each with a stated kernel range. Confirm driver support for your target system before choosing it. &lt;a href=&quot;https://professional.avermedia.com/en/product-detail/CN311-H&quot;&gt;CN311-H driver listings&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Pass the card through to a Proxmox Linux VM&lt;/h2&gt;
&lt;p&gt;On bare-metal Linux, check the capture driver for the server. For whole-device passthrough, check the capture driver for the Linux guest that will run the capture app. While the device is passed through, it’s unavailable to the host and other VMs. &lt;a href=&quot;https://www.magewell.com/products/pro-capture-hdmi-4k-plus&quot;&gt;Magewell Linux drivers&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox passthrough guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use the CPU and motherboard documentation to check IOMMU interrupt-remapping support. Enable IOMMU in the server’s firmware, then use the checks below on a host prepared for PCI passthrough. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox host requirements and setup&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Run these commands on the Proxmox host. Replace &lt;code&gt;NODE&lt;/code&gt; with the Proxmox node name. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox verification commands&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
lspci
pvesh get /nodes/NODE/hardware/pci --pci-class-blacklist &amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Look for a kernel message confirming that IOMMU, Directed I/O or interrupt remapping is enabled. Find the card’s PCI address in &lt;code&gt;lspci&lt;/code&gt; and match it in the &lt;code&gt;pvesh&lt;/code&gt; output to check its IOMMU group. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox group checks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Proceed if the card is alone in its group or shares it only with its own functions, root port or bridge. If it shares the group with another device, check whether moving the card to another compatible slot gives it a separate group. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox group requirements&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For a single-function card and a stopped VM, replace &lt;code&gt;VMID&lt;/code&gt; with the target VM ID and &lt;code&gt;PCI_ADDRESS&lt;/code&gt; with the card’s PCI address. Check that &lt;code&gt;hostpci0&lt;/code&gt; is unused. Confirm the address belongs to the capture card before assigning it. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/qm.1-synopsis.adoc&quot;&gt;qm command reference&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox assignment example&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;qm config VMID
qm set VMID -hostpci0 PCI_ADDRESS
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If &lt;code&gt;hostpci0&lt;/code&gt; is occupied, use an unused &lt;code&gt;hostpci&lt;/code&gt; entry. If the guest needs a PCIe port, use &lt;code&gt;pcie=on&lt;/code&gt; on a VM with the &lt;code&gt;q35&lt;/code&gt; machine type. After setting &lt;code&gt;hostpci&lt;/code&gt;, start the VM and open OBS Studio inside the Linux guest. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/qm.1-synopsis.adoc&quot;&gt;qm hostpci options&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VM configuration&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Confirm capture in OBS on Linux&lt;/h2&gt;
&lt;p&gt;In OBS Studio, click &lt;strong&gt;+&lt;/strong&gt; in the &lt;strong&gt;Sources&lt;/strong&gt; dock and add &lt;strong&gt;Video Capture Device (V4L2)&lt;/strong&gt;. Select the card under &lt;strong&gt;Device&lt;/strong&gt; and choose its input under &lt;strong&gt;Input&lt;/strong&gt;. Check that the source shows video before setting up recording or streaming. &lt;a href=&quot;https://obsproject.com/kb/quick-start-guide&quot;&gt;OBS Quick Start&lt;/a&gt; · &lt;a href=&quot;https://obsproject.com/kb/video-capture-sources&quot;&gt;OBS V4L2 source controls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; Manufacturer specifications, driver listings, the Proxmox VE 9.3 documentation source and OBS guidance were checked on November 26, 2026. The steps were not run on hardware for this guide. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/debian/changelog&quot;&gt;Proxmox documentation version&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>capture-cards</category><category>pcie</category><category>m2</category><category>linux</category><category>proxmox</category><author>Server Capture Guide Editorial</author></item><item><title>Magewell Pro Capture vs Blackmagic DeckLink on Proxmox VE</title><link>https://servercaptureguide.com/posts/magewell-pro-capture-vs-blackmagic-decklink-proxmox/</link><guid isPermaLink="true">https://servercaptureguide.com/posts/magewell-pro-capture-vs-blackmagic-decklink-proxmox/</guid><description>Compare Magewell Pro Capture HDMI and Blackmagic DeckLink Mini Recorder HD for a Proxmox Linux VM, then check PCIe passthrough and set up OBS.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Choose the Magewell Pro Capture HDMI for Linux software that captures through V4L2 or for analog video through its breakout cable. Choose the Blackmagic DeckLink Mini Recorder HD for 3G-SDI or HDMI 2.0 capture. For that card, use Desktop Video and the &lt;strong&gt;Blackmagic Device&lt;/strong&gt; source in OBS. On Proxmox VE, check the card&apos;s IOMMU group before passing it through to your capture VM. &lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi&quot;&gt;Magewell specs&lt;/a&gt;, &lt;a href=&quot;https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-39&quot;&gt;Blackmagic model specifications&lt;/a&gt;, &lt;a href=&quot;https://www.blackmagicdesign.com/support/content/readme/972ce0d08c984008bc3b68b128ec1a62&quot;&gt;Desktop Video release notes&lt;/a&gt;, &lt;a href=&quot;https://obsproject.com/kb/video-capture-sources&quot;&gt;OBS capture source settings&lt;/a&gt;, &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox passthrough documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Compare the inputs and Linux software&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What to check&lt;/th&gt;
&lt;th&gt;Magewell Pro Capture HDMI&lt;/th&gt;
&lt;th&gt;Blackmagic DeckLink Mini Recorder HD&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Video inputs&lt;/td&gt;
&lt;td&gt;HDMI 1.4a. Component, composite and S-Video via the DB9 breakout.&lt;/td&gt;
&lt;td&gt;HDMI 2.0 and 3G-SDI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Published capture limits&lt;/td&gt;
&lt;td&gt;Capture image resolution up to 2048 × 2160. Capture frame rate can be limited by PCIe bandwidth and, above 1280 × 1024, by the onboard processor’s pixel clock.&lt;/td&gt;
&lt;td&gt;1080p60 over HDMI or SDI. SDI also supports DCI 2K up to 60 fps.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Card interface&lt;/td&gt;
&lt;td&gt;PCIe Gen 2 ×1&lt;/td&gt;
&lt;td&gt;PCIe Gen 2 ×1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux software&lt;/td&gt;
&lt;td&gt;V4L2 and ALSA&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://www.blackmagicdesign.com/support/content/readme/972ce0d08c984008bc3b68b128ec1a62&quot;&gt;Blackmagic Desktop Video&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href=&quot;https://www.magewell.com/tech-specs/pro-capture-hdmi&quot;&gt;Magewell model specifications&lt;/a&gt;, &lt;a href=&quot;https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-39&quot;&gt;Blackmagic model specifications&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Check the Proxmox host and assign the card&lt;/h2&gt;
&lt;p&gt;For an x86 host, check that the CPU and motherboard support IOMMU interrupt remapping. Enable IOMMU in the motherboard’s BIOS or UEFI. The setting is usually called IOMMU or VT-d. Whole-card passthrough reserves the card for one VM. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VE PCI(e) passthrough&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Run these checks on the Proxmox host. Replace &lt;code&gt;{nodename}&lt;/code&gt; with your Proxmox node name. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VE PCI(e) passthrough&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
lsmod | grep vfio
lspci -nn
pvesh get /nodes/{nodename}/hardware/pci --pci-class-blacklist &amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Look for IOMMU, Directed I/O or interrupt remapping to be enabled. The exact message varies by hardware and kernel. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VE PCI(e) passthrough&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Check for &lt;code&gt;vfio&lt;/code&gt;, &lt;code&gt;vfio_iommu_type1&lt;/code&gt; and &lt;code&gt;vfio_pci&lt;/code&gt;. If you add the missing modules to &lt;code&gt;/etc/modules-load.d/vfio.conf&lt;/code&gt;, run &lt;code&gt;update-initramfs -u -k all&lt;/code&gt; and reboot the host before checking again. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VE PCI(e) passthrough&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Find the capture card&apos;s PCI address in &lt;code&gt;lspci -nn&lt;/code&gt; and check its group in the API output. It can share a group with its own functions or its root port or bridge. If it shares a group with an unrelated device, another slot may give it a separate group. Power down the host before moving the card, then check the group again. Continue once the card is isolated from unrelated devices. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VE PCI(e) passthrough&lt;/a&gt;, &lt;a href=&quot;https://www.magewell.com/kb/detail/100050016/pro-capture&quot;&gt;Magewell card handling guidance&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Run &lt;code&gt;lspci -nnk&lt;/code&gt; on the Proxmox host to check driver readiness before assigning the card. In the card’s entry, look for &lt;code&gt;Kernel driver in use: vfio-pci&lt;/code&gt; or for the &lt;code&gt;Kernel driver in use&lt;/code&gt; line to be absent. Either result passes the host driver check for passthrough. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox PCI device checks&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Use the VM ID in place of &lt;code&gt;VMID&lt;/code&gt; and the card’s PCI address with its function number in place of &lt;code&gt;PCI_ADDRESS&lt;/code&gt;. With the VM stopped and &lt;code&gt;hostpci0&lt;/code&gt; free, assign the card on the host. To present a PCIe port to a &lt;code&gt;q35&lt;/code&gt; guest, append &lt;code&gt;,pcie=on&lt;/code&gt; to the address. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;Proxmox VE PCI(e) passthrough&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;qm set VMID -hostpci0 PCI_ADDRESS
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Start the VM. In the Linux guest, run &lt;code&gt;lspci -nn&lt;/code&gt; and look for the same PCI vendor and device IDs shown by &lt;code&gt;lspci -nn&lt;/code&gt; on the host. &lt;a href=&quot;https://manpages.debian.org/trixie/pciutils/lspci.8.en.html&quot;&gt;Debian pciutils lspci manual&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Match the OBS source to the card&lt;/h2&gt;
&lt;p&gt;Check the driver notes for your guest distribution. Blackmagic lists Debian 13 and Ubuntu 24.04 and 26.04 among the x86-64 distributions for Desktop Video 16.5. &lt;a href=&quot;https://www.blackmagicdesign.com/support/content/readme/972ce0d08c984008bc3b68b128ec1a62&quot;&gt;Blackmagic Desktop Video 16.5 release notes&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Magewell Pro Capture HDMI.&lt;/strong&gt; Install the Magewell Linux driver in the guest. In OBS, add &lt;strong&gt;Video Capture Device (V4L2)&lt;/strong&gt;. Select the card under &lt;strong&gt;Device&lt;/strong&gt;, choose the connected &lt;strong&gt;Input&lt;/strong&gt;, and set the &lt;strong&gt;Resolution&lt;/strong&gt; and &lt;strong&gt;Frame Rate&lt;/strong&gt; for the feed. &lt;a href=&quot;https://www.magewell.com/products/pro-capture-hdmi&quot;&gt;Magewell driver downloads&lt;/a&gt;, &lt;a href=&quot;https://obsproject.com/kb/video-capture-sources&quot;&gt;OBS capture source settings&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DeckLink Mini Recorder HD.&lt;/strong&gt; Install Blackmagic Desktop Video in the Linux guest. In OBS, add &lt;strong&gt;Blackmagic Device&lt;/strong&gt; and select the DeckLink under &lt;strong&gt;Device&lt;/strong&gt;. Set &lt;strong&gt;Video Connection&lt;/strong&gt; to the connected port and &lt;strong&gt;Mode&lt;/strong&gt; to match the source resolution and frame rate. &lt;a href=&quot;https://www.blackmagicdesign.com/support/content/readme/972ce0d08c984008bc3b68b128ec1a62&quot;&gt;Desktop Video release notes&lt;/a&gt;, &lt;a href=&quot;https://www.blackmagicdesign.com/support/family/capture-and-playback&quot;&gt;Blackmagic downloads&lt;/a&gt;, &lt;a href=&quot;https://obsproject.com/kb/video-capture-sources&quot;&gt;OBS capture source settings&lt;/a&gt;, &lt;a href=&quot;https://github.com/obsproject/obs-studio/blob/master/plugins/decklink/decklink-source.cpp&quot;&gt;OBS connector options&lt;/a&gt;, &lt;a href=&quot;https://github.com/obsproject/obs-studio/blob/master/plugins/decklink/data/locale/en-US.ini&quot;&gt;OBS setting labels&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Once you have a picture, use &lt;strong&gt;Start Recording&lt;/strong&gt; to make a short test recording. If you’re capturing sound, check the volume meters in the &lt;strong&gt;Audio Mixer&lt;/strong&gt;. &lt;a href=&quot;https://obsproject.com/kb/quick-start-guide/&quot;&gt;OBS Studio quick start guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The model specifications, Proxmox &lt;code&gt;pve-docs&lt;/code&gt; master (changelog version 9.3.0), and OBS documentation and source were checked on November 26, 2026. The steps were not run on hardware. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/debian/changelog&quot;&gt;Proxmox VE documentation changelog&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>proxmox</category><category>pcie</category><category>capture-cards</category><category>linux</category><category>obs</category><author>Server Capture Guide Editorial</author></item><item><title>LXC V4L2 vs VFIO for Proxmox Capture Card Passthrough</title><link>https://servercaptureguide.com/posts/proxmox-lxc-v4l2-vs-vfio-passthrough-capture-cards/</link><guid isPermaLink="true">https://servercaptureguide.com/posts/proxmox-lxc-v4l2-vs-vfio-passthrough-capture-cards/</guid><description>Choose between LXC V4L2 and VFIO passthrough in Proxmox. Find your capture device, set permissions, check IOMMU groups, and verify video.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Use LXC V4L2 passthrough when the Proxmox host exposes a capture node such as &lt;code&gt;/dev/video0&lt;/code&gt; and your Linux app can use V4L2. Use VFIO PCI passthrough when a virtual machine needs to control the PCI or PCIe capture card with its own driver. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox containers&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/driver-api/vfio.html&quot;&gt;Linux VFIO&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/open.html&quot;&gt;V4L2 device nodes&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What to check&lt;/th&gt;
&lt;th&gt;LXC V4L2&lt;/th&gt;
&lt;th&gt;VFIO in a VM&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What you assign&lt;/td&gt;
&lt;td&gt;A host device node using &lt;code&gt;dev0&lt;/code&gt;. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Container options&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;A PCI device or function using &lt;code&gt;hostpci0&lt;/code&gt;. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where the capture driver runs&lt;/td&gt;
&lt;td&gt;In the shared host kernel. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox containers&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/open.html&quot;&gt;V4L2 device nodes&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In the VM. While the device is assigned, the host and other VMs lose access to it. &lt;a href=&quot;https://docs.kernel.org/6.18/driver-api/vfio.html&quot;&gt;Linux VFIO&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For a USB capture device, the LXC route still applies if the host exposes a V4L2 capture node. To give a VM the USB device itself, use Proxmox host USB passthrough by vendor and product ID or by bus and port. &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/open.html&quot;&gt;V4L2 device nodes&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Container options&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm.adoc#usb-passthrough&quot;&gt;USB passthrough&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Pass a V4L2 capture node to LXC&lt;/h2&gt;
&lt;p&gt;On the Proxmox host, use &lt;code&gt;v4l2-ctl&lt;/code&gt; from &lt;code&gt;v4l-utils&lt;/code&gt; to list the card&apos;s nodes and query a candidate. Change &lt;code&gt;/dev/video0&lt;/code&gt; to the path under your device in the listing. Look for &lt;code&gt;Video Capture&lt;/code&gt; or &lt;code&gt;Video Capture Multiplanar&lt;/code&gt; under &lt;code&gt;Device Caps&lt;/code&gt; when that field appears. &lt;a href=&quot;https://manpages.debian.org/trixie/v4l-utils/v4l2-ctl.1.en.html&quot;&gt;v4l2-ctl manual&lt;/a&gt; · &lt;a href=&quot;https://github.com/gjasny/v4l-utils/blob/v4l-utils-1.30.1/utils/common/v4l2-info.cpp&quot;&gt;Capability labels&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/vidioc-querycap.html&quot;&gt;V4L2 capabilities&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;v4l2-ctl --list-devices
v4l2-ctl --device /dev/video0 --info
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;A card can expose several nodes, and the numeric suffix can change with driver probe order. If the node changes, identify it again before updating &lt;code&gt;dev0&lt;/code&gt;. Some hardware needs Media Controller pipeline setup. If your card exposes audio through ALSA, that audio input is separate from the V4L2 video node. &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/open.html&quot;&gt;V4L2 device nodes&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Container options&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the container, run &lt;code&gt;id -u ACCOUNT&lt;/code&gt; with the name of the capture account to get its UID. This example uses container &lt;code&gt;100&lt;/code&gt;, a free slot &lt;code&gt;dev0&lt;/code&gt;, and an application UID of &lt;code&gt;1000&lt;/code&gt;. The mode &lt;code&gt;0600&lt;/code&gt; gives the node owner read and write permission. Opening a V4L2 node requires read and write access, even for capture. &lt;a href=&quot;https://manpages.debian.org/trixie/coreutils/id.1.en.html&quot;&gt;id manual&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/coreutils/chmod.1.en.html&quot;&gt;File mode bits&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/func-open.html&quot;&gt;V4L2 open requirements&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Container options&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Back on the host, use &lt;code&gt;pct config 100&lt;/code&gt; to find a free device slot. If the container is running, shut it down before applying the setting. Replace the example ID, node path and UID with your own values. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.1-synopsis.adoc&quot;&gt;pct command reference&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;pct config 100
pct shutdown 100
pct set 100 --dev0 path=/dev/video0,uid=1000,mode=0600
pct start 100
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Assign a PCI capture card to a VM with VFIO&lt;/h2&gt;
&lt;p&gt;Check that the CPU and motherboard support IOMMU interrupt remapping. Enable the IOMMU in BIOS or UEFI using the motherboard&apos;s documentation. Schedule downtime for the host reboot. To configure VFIO module loading, place the following entries in &lt;code&gt;/etc/modules-load.d/vfio.conf&lt;/code&gt;. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot;&gt;vfio
vfio_iommu_type1
vfio_pci
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After changing module configuration, run &lt;code&gt;update-initramfs -u -k all&lt;/code&gt;, then reboot the host. Run the checks below and replace &lt;code&gt;NODE&lt;/code&gt; with your Proxmox node name. Look for the VFIO modules, a kernel message confirming that IOMMU or interrupt remapping is enabled, and the card&apos;s PCI address and IOMMU group. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;lsmod | grep vfio
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
lspci
pvesh get /nodes/NODE/hardware/pci --pci-class-blacklist &amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Use the card&apos;s &lt;code&gt;iommugroup&lt;/code&gt; value to find other entries in the same group. A value of &lt;code&gt;-1&lt;/code&gt; means no group was detected. Use a separate IOMMU group for the card. Proxmox allows a card to share its group with its own functions, root port or PCIe bridge. Moving the card to a different slot can sometimes change the grouping. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-manager/blob/master/PVE/API2/Hardware/PCI.pm&quot;&gt;PCI inventory API&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/driver-api/vfio.html&quot;&gt;Linux VFIO&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use &lt;code&gt;qm config 101&lt;/code&gt; to check that &lt;code&gt;hostpci0&lt;/code&gt; is free. If the VM is running, shut it down first. Replace &lt;code&gt;101&lt;/code&gt; and &lt;code&gt;03:00.0&lt;/code&gt; with your VM ID and capture card&apos;s host PCI address. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/qm.1-synopsis.adoc&quot;&gt;qm command reference&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;qm config 101
qm shutdown 101
qm set 101 -hostpci0 03:00.0
qm start 101
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you intend to assign every function at that slot, use the shortened address &lt;code&gt;03:00&lt;/code&gt; in the &lt;code&gt;qm set&lt;/code&gt; command after checking the group. If your guest and card require a PCIe port, set &lt;code&gt;pcie=on&lt;/code&gt; on the device entry and use a &lt;code&gt;q35&lt;/code&gt; VM. Proxmox tries to release the card from the host automatically. If that fails, follow its host-device configuration instructions. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Verify video where the application runs&lt;/h2&gt;
&lt;p&gt;For a Linux app, run the checks inside the container or, with the capture driver available, inside the VM. Run them as the capture account. List the nodes again in that environment and use its video node in the following command. On a device that supports MMAP streaming, the example requests one frame and saves it to &lt;code&gt;file.raw&lt;/code&gt;. Use a fresh output filename if &lt;code&gt;file.raw&lt;/code&gt; already exists. &lt;a href=&quot;https://manpages.debian.org/trixie/v4l-utils/v4l2-ctl.1.en.html&quot;&gt;v4l2-ctl manual&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/mmap.html&quot;&gt;V4L2 streaming&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/driver-api/vfio.html&quot;&gt;Linux VFIO&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;v4l2-ctl --list-devices
v4l2-ctl --device /dev/video0 --stream-mmap --stream-count=1 --stream-to=file.raw
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If the container reports a permission error, check the node&apos;s &lt;code&gt;uid&lt;/code&gt; and &lt;code&gt;mode&lt;/code&gt; against the capture account. In a Linux VM, if &lt;code&gt;lspci&lt;/code&gt; lists the card but no V4L2 capture node appears, check the guest&apos;s capture driver. A V4L2 driver registers the video node. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Container options&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/func-open.html&quot;&gt;V4L2 open requirements&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/open.html&quot;&gt;V4L2 device nodes&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/qm-pci-passthrough.adoc&quot;&gt;PCI passthrough&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Evidence and limits.&lt;/em&gt; This guide uses Proxmox VE documentation, Linux 6.18 documentation and the v4l-utils 1.30.1 and GNU coreutils 9.7 manuals. No hardware run was performed. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/debian/changelog&quot;&gt;Proxmox version history&lt;/a&gt; · &lt;a href=&quot;https://docs.kernel.org/6.18/userspace-api/media/v4l/open.html&quot;&gt;V4L2 device nodes&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/v4l-utils/v4l2-ctl.1.en.html&quot;&gt;v4l2-ctl manual&lt;/a&gt; · &lt;a href=&quot;https://manpages.debian.org/trixie/coreutils/id.1.en.html&quot;&gt;id manual&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>proxmox</category><category>lxc</category><category>v4l2</category><category>vfio</category><category>capture-cards</category><author>Server Capture Guide Editorial</author></item><item><title>Capture Card to MediaMTX for WebRTC and RTSP</title><link>https://servercaptureguide.com/posts/capture-to-mediamtx-webrtc-rtsp-server/</link><guid isPermaLink="true">https://servercaptureguide.com/posts/capture-to-mediamtx-webrtc-rtsp-server/</guid><description>Turn a USB HDMI capture card into a MediaMTX stream on Windows. Find the card in FFmpeg and play the same video and audio over WebRTC and RTSP.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;With a DirectShow-compatible USB HDMI capture card already connected to your Windows PC, use FFmpeg to publish its video and audio to MediaMTX over RTSP. Open the same stream in a browser with WebRTC or in an RTSP player. &lt;a href=&quot;https://ffmpeg.org/ffmpeg-devices.html&quot;&gt;FFmpeg capture devices&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/features/publish-and-read&quot;&gt;MediaMTX publishing and playback&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Find the capture card’s DirectShow inputs&lt;/h2&gt;
&lt;p&gt;Start with the card already connected and its video and audio inputs available through DirectShow. &lt;a href=&quot;https://ffmpeg.org/ffmpeg-devices.html&quot;&gt;FFmpeg DirectShow devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On Windows 10 or later, download and extract Gyan’s &lt;code&gt;ffmpeg-release-essentials.zip&lt;/code&gt;. It includes &lt;code&gt;ffmpeg&lt;/code&gt; and &lt;code&gt;ffplay&lt;/code&gt;, with the &lt;code&gt;libx264&lt;/code&gt; and &lt;code&gt;libopus&lt;/code&gt; libraries used below. Run the commands from a command-line session where the extracted &lt;code&gt;ffmpeg&lt;/code&gt; is available by name. Start by listing the DirectShow inputs. &lt;a href=&quot;https://ffmpeg.org/download.html&quot;&gt;FFmpeg downloads&lt;/a&gt; · &lt;a href=&quot;https://www.gyan.dev/ffmpeg/builds/&quot;&gt;Windows build contents&lt;/a&gt; · &lt;a href=&quot;https://ffmpeg.org/ffmpeg-devices.html&quot;&gt;DirectShow commands&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-cmd&quot;&gt;ffmpeg -list_devices true -f dshow -i dummy
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Copy the video and audio device names for the feed you want. To list the supported options for the video input, replace &lt;code&gt;VIDEO DEVICE&lt;/code&gt; with its name and run the following command. &lt;a href=&quot;https://ffmpeg.org/ffmpeg-devices.html&quot;&gt;DirectShow device options&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-cmd&quot;&gt;ffmpeg -list_options true -f dshow -i video=&amp;quot;VIDEO DEVICE&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Start MediaMTX with local access&lt;/h2&gt;
&lt;p&gt;Download and extract the standalone MediaMTX archive for Windows x64. Before starting it, replace the entire &lt;code&gt;authInternalUsers&lt;/code&gt; block in the bundled &lt;code&gt;mediamtx.yml&lt;/code&gt; with the block below. It allows publishing and reading on &lt;code&gt;mystream&lt;/code&gt; from the same PC. &lt;a href=&quot;https://mediamtx.org/docs/kickoff/install&quot;&gt;MediaMTX installation&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/features/configuration&quot;&gt;Configuration edits&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/references/configuration-file&quot;&gt;Access rules&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;authInternalUsers:
  - user: any
    ips: [&amp;quot;127.0.0.1&amp;quot;, &amp;quot;::1&amp;quot;]
    permissions:
      - action: publish
        path: mystream
      - action: read
        path: mystream
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Save the file and double-click &lt;code&gt;mediamtx.exe&lt;/code&gt;. &lt;a href=&quot;https://mediamtx.org/docs/kickoff/install&quot;&gt;MediaMTX installation&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/features/configuration&quot;&gt;Bundled configuration&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Publish the capture feed&lt;/h2&gt;
&lt;p&gt;Substitute the DirectShow names for &lt;code&gt;VIDEO DEVICE&lt;/code&gt; and &lt;code&gt;AUDIO DEVICE&lt;/code&gt;. The command encodes H.264 video and stereo Opus audio. Browsers do not support H.264 B-frames over WebRTC. &lt;a href=&quot;https://ffmpeg.org/ffmpeg-devices.html&quot;&gt;DirectShow input syntax&lt;/a&gt; · &lt;a href=&quot;https://www.ffmpeg.org/ffmpeg-protocols.html&quot;&gt;RTSP transport&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/publish/ffmpeg&quot;&gt;MediaMTX publisher examples&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/features/webrtc-specific-features&quot;&gt;Browser codec support&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-cmd&quot;&gt;ffmpeg -f dshow -i video=&amp;quot;VIDEO DEVICE&amp;quot;:audio=&amp;quot;AUDIO DEVICE&amp;quot; -c:v libx264 -pix_fmt yuv420p -preset ultrafast -c:a libopus -ar 48000 -ac 2 -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Play the same feed over both protocols&lt;/h2&gt;
&lt;p&gt;Keep FFmpeg running and check for live picture and sound in both players. Each player reads &lt;code&gt;mystream&lt;/code&gt; from MediaMTX. &lt;a href=&quot;https://mediamtx.org/docs/read/web-browsers&quot;&gt;Browser playback&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/read/rtsp&quot;&gt;RTSP playback&lt;/a&gt; · &lt;a href=&quot;https://www.ffmpeg.org/ffmpeg-protocols.html&quot;&gt;FFmpeg RTSP playback options&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Playback&lt;/th&gt;
&lt;th&gt;Open on the capture PC&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;WebRTC&lt;/td&gt;
&lt;td&gt;Visit &lt;code&gt;http://localhost:8889/mystream&lt;/code&gt; in your browser.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RTSP&lt;/td&gt;
&lt;td&gt;Use a command-line session where the extracted &lt;code&gt;ffplay&lt;/code&gt; is available by name. Run &lt;code&gt;ffplay -rtsp_transport tcp rtsp://localhost:8554/mystream&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Watch from a second device on your LAN&lt;/h2&gt;
&lt;p&gt;For example, if the MediaMTX PC is at &lt;code&gt;192.168.1.40&lt;/code&gt; and the viewer is at &lt;code&gt;192.168.1.50&lt;/code&gt;, append the entry below to the existing &lt;code&gt;authInternalUsers&lt;/code&gt; list. Replace the example viewer IP with the actual viewer IP. &lt;a href=&quot;https://mediamtx.org/docs/references/configuration-file&quot;&gt;MediaMTX access rules&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;  - user: any
    ips: [&amp;quot;192.168.1.50&amp;quot;]
    permissions:
      - action: read
        path: mystream
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Set &lt;code&gt;webrtcAdditionalHosts: [&amp;quot;192.168.1.40&amp;quot;]&lt;/code&gt; in &lt;code&gt;mediamtx.yml&lt;/code&gt;, substituting the server’s LAN IP. Save the file. Use that IP in place of &lt;code&gt;localhost&lt;/code&gt; in both playback addresses. &lt;a href=&quot;https://mediamtx.org/docs/features/configuration&quot;&gt;MediaMTX configuration&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/features/webrtc-specific-features&quot;&gt;WebRTC connectivity&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/read/web-browsers&quot;&gt;Browser playback&lt;/a&gt; · &lt;a href=&quot;https://www.ffmpeg.org/ffmpeg-protocols.html&quot;&gt;RTSP address syntax&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With the default listeners, allow the viewer to reach TCP port &lt;code&gt;8554&lt;/code&gt; for RTSP over TCP and TCP port &lt;code&gt;8889&lt;/code&gt; plus UDP port &lt;code&gt;8189&lt;/code&gt; for WebRTC if the host firewall blocks playback. If WebRTC cannot establish the media connection, check the advertised server IP and whether the firewall blocks UDP &lt;code&gt;8189&lt;/code&gt;. Keep this setup on a trusted LAN. &lt;a href=&quot;https://mediamtx.org/docs/references/configuration-file&quot;&gt;MediaMTX listener settings&lt;/a&gt; · &lt;a href=&quot;https://mediamtx.org/docs/features/webrtc-specific-features&quot;&gt;WebRTC connectivity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Evidence and limits. These steps were adapted from the MediaMTX v1.21.4 and FFmpeg documentation checked on November 26, 2026. The setup was not run for this guide.&lt;/em&gt; &lt;a href=&quot;https://mediamtx.org/docs/references/configuration-file&quot;&gt;MediaMTX version reference&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>capture-card</category><category>mediamtx</category><category>ffmpeg</category><category>webrtc</category><category>rtsp</category><author>Server Capture Guide Editorial</author></item></channel></rss>