79 - Smooth video - MJPEG into OBS - v4l2 loopback
Channel: Crazy-Logic
Date: 06/02/2022

Here I show how to use v4l2 loopback kernel module to transcode MJPEG into YUYV422 for OBS.

sudo apt install v4l2loopback-dkms
sudo modprobe v4l2loopback
v4l2-ctl --list-devices 
ffmpeg -f v4l2 -video_size 1920x1080 -input_format mjpeg -i /dev/video2 -pix_fmt yuyv422 -f v4l2 /dev/video4
sudo modprobe v4l2loopback -r 
sudo modprobe v4l2loopback devices=8

Have a look here 

https://www.crazy-logic.co.uk/projects/computing/choppy-usb-hdmi-video-capture for the commands. 

Big Buck Bunny can be found here. https://peach.blender.org/about/  It's CC so this video will be too. 
Also OBS is great - https://obsproject.com/  
 
-------------------------------------------    Get Social    -------------------------------------------
Facebook: https://www.facebook.com/crazylogica
Twitter: https://twitter.com/crazy__logic
Instagram: https://www.instagram.com/crazy__logic
Github: https://github.com/crazy-logic
Webby: http://www.crazy-logic.co.uk.