Skip to content

lnB51/rstreamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Version 0.1 Rust MIT License

Rust http camera streamer

Installation

Download source code from github:

git clone https://github.com/lnB51/rstreamer


Build the project:

cargo buid or cargo buid --release


Build for raspberry pi

cargo build --release --target aarch64-unknown-linux-gnu

You have to add .cargo/config file with:

[target.aarch64-unknown-linux-gnu]
linker = "/usr/bin/aarch64-linux-gnu-gcc"

Run the project:

./rstreamer or with parameters ./rstreamer -d /dev/video0 -h localhost -p 8080 -r 1920x1080


Paremeters:


-d | --device

Used for set video device to capture from

Exaples:

./rstreamer -d /dev/video0 ./rstreamer -d /dev/video10


-h | --host

Used for set host IP

Exaples:

./rstreamer -h localhost ./rstreamer -h 0.0.0.0 WARNING: To use 0.0.0.0 host you have to be root user


-p | --port

Used for set port

Exaples:

./rstreamer -p 8080 ./rstreamer -p 80 WARNING: To use 80 port you have to be root user


-r | --resolution

Used for set resolution

Exaples:

./rstreamer -r 1920x1080 ./rstreamer -r 1280x720


-hlp | --help

Used to get help with commands

Exaples:

./rstreamer -hlp

About

Rust http camera streamer for linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages