If you have home server and want to record streams from your IP camera you can use siple script like this:
while true; do
ffmpeg -i "rtsp://<192 .cam.ip="">:554/user=admin&password=&channel=0&stream=0.sdp?Real_stream" -acodec copy -vcodec copy -fs 20000000 "/srv/ftp/cam1/vid `date`.mov" | true ;
done192>
Option -fs 20000000 limits file sizes to ~20MB
CPU usage is very low. Even raspberry pi should be able to save your data from multiple cameras.
NOTE: deleting old files is not implemented.
while true; do
ffmpeg -i "rtsp://<192 .cam.ip="">:554/user=admin&password=&channel=0&stream=0.sdp?Real_stream" -acodec copy -vcodec copy -fs 20000000 "/srv/ftp/cam1/vid `date`.mov" | true ;
done192>
Option -fs 20000000 limits file sizes to ~20MB
CPU usage is very low. Even raspberry pi should be able to save your data from multiple cameras.
NOTE: deleting old files is not implemented.
Коментарі
Дописати коментар