1
0
mirror of https://github.com/marek-g/it9910hd_fusefs.git synced 2026-05-06 02:11:10 +09:00

IT9910HD FUSE FS

FUSE File System driver for IT9910HD HDMI MPEG4 (H.264) capture device.

MPV screenshot

Limitations of the current version

  • Only one client can stream video (open video file) at the same time.
  • Only sequential reads are supported (no file seeking). Works with mpv player or cp command.

Setup USB permissions

  1. Create or open /etc/udev/rules.d/50-it9910hd_hdmi_grabber.rules file.

  2. Add new line:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="048d", ATTRS{idProduct}=="9910", GROUP="video", MODE="0666"
  1. Restart or reload udev rules:
sudo udevadm control --reload

Mount video filesystem

mkdir ./video
./it9910hd_fusefs ./video --width 1920 --height 1080 --fps 30 --bitrate 52000 --audio_src 2 --video_src 4 --brightness=0 --contrast=100 --saturation=100 --hue=0

Play video

mpv -hwdec=auto ./video/hdmi_stream.ts

Record video

mpv -hwdec=auto --record-file=./video.ts ./video/hdmi_stream.ts

Unmount file system

umount ./video
rmdir ./video

License

Public Domain (unless stated otherwise in source code header),

Description
FUSE File System driver for IT9910HD HDMI MPEG4 (H.264) capture device.
Readme 2.5 MiB
Languages
Rust 96.7%
Shell 1.7%
Dockerfile 1.6%