SlideShare a Scribd company logo
USB 3.0 CAPTURE HDMI 4K
with Loop-through
for Image redistribution
2018/09/01 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO
(C) Copyright 1996-2017 SAKURA Internet Inc
USB 3.0 CAPTURE HDMI 4K with Loop-through for Image redistribution
2
# uname -sr; tail -1 /etc/redhat-release
Linux 3.10.0-862.9.1.el7.x86_64
CentOS Linux release 7.4.1708 (Core)
# yum install -y usbutils hwinfo mplayer v4l-utils ffmpeg git
# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
|__ Port 4: Dev 2, If 9, Class=Human Interface Device, Driver=usbhid, 5000M
# lsusb -vv
# hwinfo --usb
# v4l2-ctl --list-devices
USB Capture HDMI 4K+ (usb-0000:00:14.0-4):
/dev/video0
# v4l2-ctl -d /dev/video0 --info
# v4l2-ctl --list-formats-ext -d /dev/video0
Type : Video Capture
Name : YUV 4:2:2 (YUYV)
Size: Discrete 4096x2160
Interval: Discrete 0.017s (60.000 fps)
# wget https://libav.org/releases/libav-12.3.tar.xz
# tar Jxvf ./libav-12.3.tar.xz; cd libav-12.3
# ./configure --disable-yasm; make; make install
# avconv -f video4linux2 -input_format nv12 -s 1920x1080 -i /dev/video0 -qscale 10 out.mpeg
Input #0, video4linux2, from '/dev/video0':
Duration: N/A, start: 1240.062083, bitrate: 1492992 kb/s
nv12, 1920x1080, 1492992 kb/s
60 fps, 1000k tbn
# ffmpeg -f v4l2 -list_formats all -i /dev/video0
[video4linux2,v4l2 @ 0x24114c0] Raw
: yuyv422 : YUV 4:2:2 (YUYV) :
640x360 640x480 720x480 720x576 768x576 800x600
856x480 960x540 1024x576 1024x768 1280x720 1280x800
1280x960 1280x1024 1368x768 1440x900 1600x1200 1680x1050
1920x1080 1920x1200 2048x1080 2560x1440 3840x2160 4096x2160
[video4linux2,v4l2 @ 0x24114c0] Raw
: nv12 : YUV 4:2:0 (NV12) :
640x360 640x480 720x480 720x576 768x576 800x600
856x480 960x540 1024x576 1024x768 1280x720 1280x800
1280x960 1280x1024 1368x768 1440x900 1600x1200 1680x1050
1920x1080 1920x1200 2048x1080 2560x1440 3840x2160 4096x2160
© 2018, Nanjing Magewell Electronics Co., Ltd
SERVERSERVER
HDMI output
SERVER SERVER
HDMI CAPTURE
SERVER
HDMI CAPTURE
HDMI Loop-Trough HDMI Loop-Trough HDMI Loop-TroughHDMI Loop-Trough
POWER ON/OS DOWN POWER ON/OS DOWN
HDMI CAPTURE HDMI CAPTURE
USB 3.0
BUS
POWER
USB 3.0
BUS
POWER
USB 3.0
BUS
POWER
USB 3.0
BUS
POWER
USB 3.0
BUS
POWER
ORIGINAL
READ once
COPY COPY

More Related Content

PDF
Webサービスのための 10/40Gigabit Ethernetの可能性
PDF
Cubie board
PPTX
Tiny ML for spark Fun Edge
PDF
ROCm with dGPU(AMD GPU) using pyopencl (memo)
PPTX
Raspberry pi
PDF
ROCm with dGPU(AMD GPU) (memo)
PPTX
Raspberry Pi I/O控制與感測器讀取
PDF
Py drum
Webサービスのための 10/40Gigabit Ethernetの可能性
Cubie board
Tiny ML for spark Fun Edge
ROCm with dGPU(AMD GPU) using pyopencl (memo)
Raspberry pi
ROCm with dGPU(AMD GPU) (memo)
Raspberry Pi I/O控制與感測器讀取
Py drum

What's hot (20)

PDF
My First AMD EPYC 7251 memo
PDF
My First F-Stack
PDF
SPDK benchmark memo
PPTX
Raspberry Pi (NNUG Februar 2013)
PDF
Control-M 800 - Infrastructure Example
PDF
Single Board Computers & Raspberry Pi Basics
PPTX
Pandaboard
PPTX
Panda board
PDF
ADS-B, AIS, APRS cheatsheet
PPT
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
PDF
How To Use Linux CAN Signal To AGL
PPTX
Wi-Fi Modem For the Commodore 64
PDF
Whitebox Handheld Software Radio Kit
PDF
AWS ロボを作ろう JAWSUG Kobe
PPTX
Raspberry Pi tutorial
PPTX
Beaglebone black
PDF
How to Burn Multi-GPUs using CUDA stress test memo
DOCX
Single board computer options
ODP
Sendy Bridge
My First AMD EPYC 7251 memo
My First F-Stack
SPDK benchmark memo
Raspberry Pi (NNUG Februar 2013)
Control-M 800 - Infrastructure Example
Single Board Computers & Raspberry Pi Basics
Pandaboard
Panda board
ADS-B, AIS, APRS cheatsheet
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
How To Use Linux CAN Signal To AGL
Wi-Fi Modem For the Commodore 64
Whitebox Handheld Software Radio Kit
AWS ロボを作ろう JAWSUG Kobe
Raspberry Pi tutorial
Beaglebone black
How to Burn Multi-GPUs using CUDA stress test memo
Single board computer options
Sendy Bridge
Ad

More from Naoto MATSUMOTO (20)

PDF
Alder Lake-S CPU Temperature Monitoring
PDF
CPU製品出荷状況と消費電力の見える化
PDF
5Gの見える化
PDF
2023年以降のサーバークラスタリング設計(メモ)
PDF
防災を考慮した水中調査の一考察
PDF
旅するパケットの見える化
PDF
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
PDF
災害時における無線モニタリングによる社会インフラの見える化
PDF
BeautifulSoup / selenium Deep dive
PDF
AMDGPU ROCm Deep dive
PDF
Network Adapter Deep dive
PDF
RTL2838 DVB-T Deep dive
PDF
x86_64 Hardware Deep dive
PDF
curl --http3 cheatsheet
PDF
3/4G USB modem Cheat Sheet
PDF
How To Train Your ARM(SBC)
PDF
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
PDF
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
PDF
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
PDF
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
Alder Lake-S CPU Temperature Monitoring
CPU製品出荷状況と消費電力の見える化
5Gの見える化
2023年以降のサーバークラスタリング設計(メモ)
防災を考慮した水中調査の一考察
旅するパケットの見える化
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
災害時における無線モニタリングによる社会インフラの見える化
BeautifulSoup / selenium Deep dive
AMDGPU ROCm Deep dive
Network Adapter Deep dive
RTL2838 DVB-T Deep dive
x86_64 Hardware Deep dive
curl --http3 cheatsheet
3/4G USB modem Cheat Sheet
How To Train Your ARM(SBC)
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Modernising the Digital Integration Hub
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Architecture types and enterprise applications.pdf
PDF
Hybrid model detection and classification of lung cancer
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Getting Started with Data Integration: FME Form 101
PDF
project resource management chapter-09.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
The various Industrial Revolutions .pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Web App vs Mobile App What Should You Build First.pdf
NewMind AI Weekly Chronicles - August'25-Week II
A novel scalable deep ensemble learning framework for big data classification...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Modernising the Digital Integration Hub
Chapter 5: Probability Theory and Statistics
Group 1 Presentation -Planning and Decision Making .pptx
Developing a website for English-speaking practice to English as a foreign la...
Enhancing emotion recognition model for a student engagement use case through...
Architecture types and enterprise applications.pdf
Hybrid model detection and classification of lung cancer
cloud_computing_Infrastucture_as_cloud_p
1 - Historical Antecedents, Social Consideration.pdf
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Assigned Numbers - 2025 - Bluetooth® Document
Getting Started with Data Integration: FME Form 101
project resource management chapter-09.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
The various Industrial Revolutions .pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
Web App vs Mobile App What Should You Build First.pdf

USB 3.0 CAPTURE HDMI 4K with Loop-through for Image redistribution

  • 1. USB 3.0 CAPTURE HDMI 4K with Loop-through for Image redistribution 2018/09/01 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO (C) Copyright 1996-2017 SAKURA Internet Inc
  • 2. USB 3.0 CAPTURE HDMI 4K with Loop-through for Image redistribution 2 # uname -sr; tail -1 /etc/redhat-release Linux 3.10.0-862.9.1.el7.x86_64 CentOS Linux release 7.4.1708 (Core) # yum install -y usbutils hwinfo mplayer v4l-utils ffmpeg git # lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M |__ Port 4: Dev 2, If 9, Class=Human Interface Device, Driver=usbhid, 5000M # lsusb -vv # hwinfo --usb # v4l2-ctl --list-devices USB Capture HDMI 4K+ (usb-0000:00:14.0-4): /dev/video0 # v4l2-ctl -d /dev/video0 --info # v4l2-ctl --list-formats-ext -d /dev/video0 Type : Video Capture Name : YUV 4:2:2 (YUYV) Size: Discrete 4096x2160 Interval: Discrete 0.017s (60.000 fps) # wget https://libav.org/releases/libav-12.3.tar.xz # tar Jxvf ./libav-12.3.tar.xz; cd libav-12.3 # ./configure --disable-yasm; make; make install # avconv -f video4linux2 -input_format nv12 -s 1920x1080 -i /dev/video0 -qscale 10 out.mpeg Input #0, video4linux2, from '/dev/video0': Duration: N/A, start: 1240.062083, bitrate: 1492992 kb/s nv12, 1920x1080, 1492992 kb/s 60 fps, 1000k tbn # ffmpeg -f v4l2 -list_formats all -i /dev/video0 [video4linux2,v4l2 @ 0x24114c0] Raw : yuyv422 : YUV 4:2:2 (YUYV) : 640x360 640x480 720x480 720x576 768x576 800x600 856x480 960x540 1024x576 1024x768 1280x720 1280x800 1280x960 1280x1024 1368x768 1440x900 1600x1200 1680x1050 1920x1080 1920x1200 2048x1080 2560x1440 3840x2160 4096x2160 [video4linux2,v4l2 @ 0x24114c0] Raw : nv12 : YUV 4:2:0 (NV12) : 640x360 640x480 720x480 720x576 768x576 800x600 856x480 960x540 1024x576 1024x768 1280x720 1280x800 1280x960 1280x1024 1368x768 1440x900 1600x1200 1680x1050 1920x1080 1920x1200 2048x1080 2560x1440 3840x2160 4096x2160 © 2018, Nanjing Magewell Electronics Co., Ltd SERVERSERVER HDMI output SERVER SERVER HDMI CAPTURE SERVER HDMI CAPTURE HDMI Loop-Trough HDMI Loop-Trough HDMI Loop-TroughHDMI Loop-Trough POWER ON/OS DOWN POWER ON/OS DOWN HDMI CAPTURE HDMI CAPTURE USB 3.0 BUS POWER USB 3.0 BUS POWER USB 3.0 BUS POWER USB 3.0 BUS POWER USB 3.0 BUS POWER ORIGINAL READ once COPY COPY