![]() When you run it, you should get this as a result. Once the shell script and configuration file has been created, you can start streaming by running /usr/sbin/webcam.sh sh file has been created, and the above code has been placed into it, you need to make the file executable by running chmod +x /usr/sbin/webcam.sh Let’s call it webcam.sh and put it in /usr/sbin as the file needs to be run as root.įfserver -f /etc/nf & ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 This will allow you to start streaming by just running the. Next, the following command needs to be put into a.If the parameters don’t suit each other, then the stream will not be smooth. The last stanza defines the size of the stream, and bitrate. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |