Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marek-g/it9910hd_fusefs
FUSE File System driver for IT9910HD HDMI MPEG4 (H.264) capture device.
https://github.com/marek-g/it9910hd_fusefs
Last synced: about 2 months ago
JSON representation
FUSE File System driver for IT9910HD HDMI MPEG4 (H.264) capture device.
- Host: GitHub
- URL: https://github.com/marek-g/it9910hd_fusefs
- Owner: marek-g
- Created: 2019-08-23T06:14:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T09:21:01.000Z (almost 3 years ago)
- Last Synced: 2023-03-25T20:28:17.176Z (almost 2 years ago)
- Language: Rust
- Size: 1.53 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IT9910HD FUSE FS
FUSE File System driver for IT9910HD HDMI MPEG4 (H.264) capture device.
![MPV screenshot](doc/mpv.jpg)
## 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:
```text
SUBSYSTEMS=="usb", ATTRS{idVendor}=="048d", ATTRS{idProduct}=="9910", GROUP="video", MODE="0666"
```3. Restart or reload udev rules:
```bash
sudo udevadm control --reload
```## Mount video filesystem
```bash
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
```bash
mpv -hwdec=auto ./video/hdmi_stream.ts
```## Record video
```bash
mpv -hwdec=auto --record-file=./video.ts ./video/hdmi_stream.ts
```## Unmount file system
```bash
umount ./video
rmdir ./video
```## License
Public Domain (unless stated otherwise in source code header),