Created
December 10, 2013 14:10
-
-
Save theclanks/7891150 to your computer and use it in GitHub Desktop.
Desktop 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
Port 8090 | |
BindAddress 0.0.0.0 | |
MaxHTTPConnections 100 | |
MaxClients 100 | |
MaxBandwidth 1500 | |
CustomLog - | |
NoDaemon | |
<Feed feed1.ffm> | |
File /tmp/feed1.ffm | |
FileMaxSize 1G | |
ACL allow 127.0.0.1 | |
</Feed> | |
<Stream test.webm> # Output stream URL definition | |
Feed feed1.ffm # Feed from which to receive video | |
Format webm | |
# Audio settings | |
# AudioCodec vorbis | |
# AudioBitRate 64 # Audio bitrate | |
NoAudio | |
# Video settings | |
VideoCodec libvpx | |
VideoSize 720x576 # Video resolution | |
VideoFrameRate 25 # Video FPS | |
# AVOptionVideo flags +global_header # Parameters passed to encoder | |
# (same as ffmpeg command-line parameters) | |
# AVOptionVideo cpu-used 0 | |
AVOptionVideo qmin 5 | |
AVOptionVideo qmax 5 | |
AVOptionVideo tune zerolatency | |
AVOptionVideo quality good | |
# AVOptionAudio flags +global_header | |
PreRoll 15 | |
StartSendOnKey | |
VideoBitRate 400 # Video bitrate | |
</Stream> | |
<Stream stat.html> | |
Format status | |
ACL allow localhost | |
ACL allow 192.168.0.0 192.168.255.255 | |
</Stream> | |
<Redirect index.html> | |
URL http://ffmpeg.org | |
</Redirect> | |
ffmpeg2 -re -video_size 1024x768 -framerate 25 -f x11grab -i :0.0 http://localhost:8090/feed1.ffm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment