Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- goblin@leto:~$ cat avserver.conf
- Port 8090
- BindAddress 0.0.0.0
- MaxHTTPConnections 16
- MaxClients 8
- MaxBandwidth 10000
- CustomLog -
- NoDaemon
- <Feed feed1.ffm>
- File /tmp/feed1.ffm
- FileMaxSize 200K
- ACL allow 127.0.0.1
- </Feed>
- <Stream test1.mpg>
- Feed feed1.ffm
- Format mpeg
- AudioBitRate 32
- AudioChannels 1
- AudioSampleRate 44100
- VideoBitRate 64
- VideoBufferSize 40
- VideoFrameRate 3
- VideoSize 1024x768
- VideoGopSize 12
- </Stream>
- goblin@leto:~$ avserver -f avserver.conf &
- goblin@leto:~$ ffmpeg -f x11grab -s 1024x768 -r 25 -i :0.0 -vcodec libx264 -preset fast -threads 6 -f h264 http://localhost:8090/feed1.ffm &
- goblin@leto:~$ ffplay http://localhost:8090/test1.mpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement