Advertisement
Guest User

Untitled

a guest
Mar 29th, 2013
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. goblin@leto:~$ cat avserver.conf
  2. Port 8090
  3. BindAddress 0.0.0.0
  4. MaxHTTPConnections 16
  5. MaxClients 8
  6. MaxBandwidth 10000
  7. CustomLog -
  8. NoDaemon
  9.  
  10. <Feed feed1.ffm>
  11. File /tmp/feed1.ffm
  12. FileMaxSize 200K
  13. ACL allow 127.0.0.1
  14. </Feed>
  15.  
  16. <Stream test1.mpg>
  17. Feed feed1.ffm
  18. Format mpeg
  19. AudioBitRate 32
  20. AudioChannels 1
  21. AudioSampleRate 44100
  22. VideoBitRate 64
  23. VideoBufferSize 40
  24. VideoFrameRate 3
  25. VideoSize 1024x768
  26. VideoGopSize 12
  27. </Stream>
  28.  
  29. goblin@leto:~$ avserver -f avserver.conf &
  30.  
  31. 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 &
  32.  
  33. goblin@leto:~$ ffplay http://localhost:8090/test1.mpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement