Created
July 13, 2016 00:32
-
-
Save renanccastro/14ef2813666ed14686a15a4d508d85d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTPPort 8005 | |
RTSPPort 8006 | |
HTTPBindAddress SEU.IP.AQUI | |
RTSPBindAddress SEU.IP.AQUI | |
MaxClients 100 | |
MaxBandwidth 10000 | |
NoDefaults | |
<Feed webcam.ffm> | |
File /tmp/webcam.ffm | |
FileMaxSize 20M | |
</Feed> | |
<Stream webcam.mp4> | |
Feed webcam.ffm | |
Format rtp | |
VideoSize 640x480 | |
NoAudio | |
</Stream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffserver -d -f ffserver.conf & | |
ffmpeg -f avfoundation -i "0" http://127.0.0.1:8000/webcam.ffm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment