You will need to have ubuntu or another linux distro, its the easiest method

setting up and upgrading firmware

  • sudo apt-get update && sudo apt-get upgrade
  • sudo apt-get install python3-pip
  • sudo pip3 install esptool
  • sudo pip3 install mpfshell
  • dmesg | grep ttyUSB (find the correct port, should be ttyUSB0)
  • sudo esptool.py --port /dev/ttyUSB0 flash_id (check the device)
  • Download the firmware https://micropython.org/download#esp32
  • sudo esptool.py --port /dev/ttyUSB0 write_flash 0x1000 file.bin (now we flash with the file you downloaded`''

setting up wifi

  • mkdir esp && cd esp
  • echo "import wifi" > boot.py

now we need to create nano wifi.py and save the following code in it, dont forget to change network and password so it connects

import network station = network.WLAN(network.STA_IF)
station.active(True)
station.connect("yournetworkname", "yourwifipassword")
station.ifconfig()

connect and upload

mpfshell -o COM5 -c "put wifi.py"

mpfshell -o COM5 -c "put boot.py"

now reconnect the usb connector to reboot

mpfshell commands

  • help (shows all commands)
  • get boot.py (download from esp)
  • put boot.py (uploads to esp)
  • repl (interactive python shell)

Resources

AMD Settings

  • Enable GPU Scaling on 1920x1200 Display 1 (if you have one, this will make both 1080p)
  • Pixel Format: YCbCr 4:2:2 on Display 2 (Cam Link 4K)
  • Disable HDMI Link Assurance on Display 2 (just in case)

Windows Settings

  • Clone Displays (1080p)

Hardware

  • Directly plug in the cam link into your usb port, do not use cable (if you have 10Gbps or faster ports use that)

Capture (FFMPEG, AMF)

720p AVC

  • ffmpeg -hide_banner -rtbufsize 1024M -f dshow -i video="Cam Link 4K":audio="Digital Audio Interface (Cam Link 4K)" -vf scale=1280:-1 -pix_fmt yuv420p -c:v h264_amf -b:v 50M -c:a flac -preset:v high -f matroska test.mkv

720p HEVC

  • ffmpeg -hide_banner -rtbufsize 1024M -f dshow -i video="Cam Link 4K":audio="Digital Audio Interface (Cam Link 4K)" -vf scale=1280:-1 -pix_fmt yuv420p -c:v hevc_amf -b:v 50M -c:a flac -preset:v high -f matroska test.mkv

1080p AVC

  • ffmpeg -hide_banner -rtbufsize 1024M -f dshow -i video="Cam Link 4K":audio="Digital Audio Interface (Cam Link 4K)" -pix_fmt yuv420p -c:v h264_amf -b:v 50M -c:a flac -profile:v high -f matroska test.mkv

1080p HEVC

  • ffmpeg -hide_banner -rtbufsize 1024M -f dshow -i video="Cam Link 4K":audio="Digital Audio Interface (Cam Link 4K)" -pix_fmt yuv420p -c:v hevc_amf -b:v 50M -c:a flac -profile:v high -f matroska test.mkv

OBS Studio

  • You can now simply use it as usual in obs studio

Reference

  • switch to h264_nvenc or h264_qsv if you have nvidia or intel gpu
  • ffmpeg -hide_banner -list_devices true -f dshow -i dummy
  • if you are using a DSLR, try switching camera to 720p60 mode, also change the pixel format if it has support for that to YCbCr 4:2:2 or YCbCr 4:2:0 to lower the bandwith used

Professional WiFi-Analyzer for Windows

Download WinFi

Simple and ultra fast cross platform tool for lossless trimming/cutting of video and audio files.

Download LosslessCut

A lightweight, versatile image viewer

Download ImageGlass

Receive $10 in credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence