Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
multiplex raspivid
#!/bin/sh
/usr/bin/raspivid --brightness 65 --saturation 25 -ex auto -n -ih -t 0 -rot 75 -w 1480 -h 1200 -fps 15 -b 1000000 -o - | /usr/bin/ncat -lkv4 5001
#!/bin/sh
ffmpeg -i tcp://192.168.1.44:5001 -c:v h264 -c:a copy vid_$(date +%Y%m%d%H%M%S).mp4
#!/bin/sh
ffplay tcp://192.168.1.44:5001 2> /dev/null
@nurettin

This comment has been minimized.

Copy link
Owner Author

@nurettin nurettin commented Dec 6, 2018

these tiny scripts help you utilize your raspivid camera,

The service will start a multiplexing video server that many clients can connect to at the same time.

Recorder and watcher can convert the stream into video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.