How to use your XT1/2/3/4 fujifilm camera as webcam for your ubuntu 22.04. This is a simple guide to use your fujifilm camera as a webcam.
Installation: 1 sudo apt-get install gphoto2 v4l2loopback-utils v4l2loopback-dkms ffmpeg modprobe setup
1 2 3 sudo modprobe -r v4l2loopback sudo modprobe v4l2loopback exclusive_caps=1 max_buffers=2 check video sources
1 ls -l /dev/video* Make sure there is no gphoto process already running:...
ffmpeg Recipes A list of useful receipes when using ffmpeg. A dump for future references.
Extract frames from video:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #!/bin/zsh # Find all .mp4 files in the current directory and store them in an array input_files=(*.mp4) # Loop through each input file for input_file in "${input_files[@]}" do # Get the path to the input file directory input_dir="$(dirname "$input_file")" # Create a folder for the input file images in the same directory as the input file folder_name="${input_file%....