SlideShare une entreprise Scribd logo
1  sur  2
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

Contenu connexe

Tendances

Tendances (20)

My First AMD EPYC 7251 memo
My First AMD EPYC 7251 memoMy First AMD EPYC 7251 memo
My First AMD EPYC 7251 memo
 
My First F-Stack
My First F-StackMy First F-Stack
My First F-Stack
 
SPDK benchmark memo
SPDK benchmark memoSPDK benchmark memo
SPDK benchmark memo
 
Raspberry Pi (NNUG Februar 2013)
Raspberry Pi (NNUG Februar 2013)Raspberry Pi (NNUG Februar 2013)
Raspberry Pi (NNUG Februar 2013)
 
Control-M 800 - Infrastructure Example
Control-M 800 - Infrastructure ExampleControl-M 800 - Infrastructure Example
Control-M 800 - Infrastructure Example
 
Single Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi BasicsSingle Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi Basics
 
Pandaboard
PandaboardPandaboard
Pandaboard
 
Panda board
Panda boardPanda board
Panda board
 
ADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheet
 
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
 
How To Use Linux CAN Signal To AGL
How To Use Linux CAN Signal To AGLHow To Use Linux CAN Signal To AGL
How To Use Linux CAN Signal To AGL
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64
 
Hardware Hacks
Hardware HacksHardware Hacks
Hardware Hacks
 
Whitebox Handheld Software Radio Kit
Whitebox Handheld Software Radio KitWhitebox Handheld Software Radio Kit
Whitebox Handheld Software Radio Kit
 
AWS ロボを作ろう JAWSUG Kobe
AWS ロボを作ろう JAWSUG KobeAWS ロボを作ろう JAWSUG Kobe
AWS ロボを作ろう JAWSUG Kobe
 
Raspberry Pi tutorial
Raspberry Pi tutorialRaspberry Pi tutorial
Raspberry Pi tutorial
 
Beaglebone black
Beaglebone blackBeaglebone black
Beaglebone black
 
How to Burn Multi-GPUs using CUDA stress test memo
How to Burn Multi-GPUs using CUDA stress test memoHow to Burn Multi-GPUs using CUDA stress test memo
How to Burn Multi-GPUs using CUDA stress test memo
 
Single board computer options
Single board computer optionsSingle board computer options
Single board computer options
 
Sendy Bridge
Sendy BridgeSendy Bridge
Sendy Bridge
 

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

Similaire à USB 3.0 CAPTURE HDMI 4K with Loop-through for Image redistribution (20)

UP Board AI Core Configuration memo
UP Board AI Core Configuration memoUP Board AI Core Configuration memo
UP Board AI Core Configuration memo
 
Beagle board101 esc-boston-2009b
Beagle board101 esc-boston-2009bBeagle board101 esc-boston-2009b
Beagle board101 esc-boston-2009b
 
Trying and evaluating the new features of GlusterFS 3.5
Trying and evaluating the new features of GlusterFS 3.5Trying and evaluating the new features of GlusterFS 3.5
Trying and evaluating the new features of GlusterFS 3.5
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 
Touch your NetBSD
Touch your NetBSDTouch your NetBSD
Touch your NetBSD
 
[Defcon] Hardware backdooring is practical
[Defcon] Hardware backdooring is practical[Defcon] Hardware backdooring is practical
[Defcon] Hardware backdooring is practical
 
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-
 
My First XDP (eXpress Data Path)
My First XDP (eXpress Data Path)My First XDP (eXpress Data Path)
My First XDP (eXpress Data Path)
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
The Advent of Automotive Linux
The Advent of Automotive LinuxThe Advent of Automotive Linux
The Advent of Automotive Linux
 
maXbox Starter87
maXbox Starter87maXbox Starter87
maXbox Starter87
 
Ubuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectUbuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server Project
 
Optical Disc Archive Install memo
Optical Disc Archive Install memoOptical Disc Archive Install memo
Optical Disc Archive Install memo
 
Hardware backdooring is practical : slides
Hardware backdooring is practical : slidesHardware backdooring is practical : slides
Hardware backdooring is practical : slides
 
Resume_Natesh-1
Resume_Natesh-1Resume_Natesh-1
Resume_Natesh-1
 
Blockchain Software for Hardware: The Canaan AvalonMiner Open Source Embedded...
Blockchain Software for Hardware: The Canaan AvalonMiner Open Source Embedded...Blockchain Software for Hardware: The Canaan AvalonMiner Open Source Embedded...
Blockchain Software for Hardware: The Canaan AvalonMiner Open Source Embedded...
 
Abc beagleboard Getting To Know It
Abc beagleboard Getting To Know ItAbc beagleboard Getting To Know It
Abc beagleboard Getting To Know It
 
How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan) How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan)
 
Configuring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev EnvironmentConfiguring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev Environment
 
How to burn your GPU with CUDA9.1
How to burn your GPU with CUDA9.1How to burn your GPU with CUDA9.1
How to burn your GPU with CUDA9.1
 

Plus de Naoto MATSUMOTO

Plus de Naoto MATSUMOTO (20)

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

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

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