Advertisement
Guest User

Untitled

a guest
Aug 15th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. Port 8090
  2. BindAddress 0.0.0.0
  3. MaxClients 50
  4. MaxBandwidth 10000
  5.  
  6. <Feed cam1.ffm>
  7. File /tmp/cam1.ffm
  8. FileMaxSize 5M
  9. Launch ffmpeg -s 480x360 -f video4linux2 -standard NTSC -channel 0 -i /dev/video0
  10. </Feed>
  11.  
  12. <Feed cam2.ffm>
  13. File /tmp/cam2.ffm
  14. FileMaxSize 5M
  15. Launch ffmpeg -s 480x360 -f video4linux2 -standard NTSC -channel 1 -i /dev/video1
  16. </Feed>
  17.  
  18. <Feed cam3.ffm>
  19. File /tmp/cam3.ffm
  20. FileMaxSize 5M
  21. #Launch ffmpeg -s 480x360 -f video4linux2 -standard NTSC -channel 2 -i /dev/video2
  22. </Feed>
  23.  
  24. <Feed cam4.ffm>
  25. File /tmp/cam4.ffm
  26. FileMaxSize 5M
  27. Launch ffmpeg -s 480x360 -f video4linux2 -standard NTSC -channel 3 -i /dev/video3
  28.  
  29. <Stream stat.html>
  30. Format status
  31. </Stream>
  32.  
  33. <Stream cam1.flv>
  34. Feed cam1.ffm
  35. Format flv
  36. VideoCodec flv
  37. VideoFrameRate 2
  38. VideoBufferSize 20000
  39. VideoBitRate 200
  40. VideoQMin 5
  41. VideoQMax 10
  42. VideoSize qvga
  43. PreRoll 0
  44. Noaudio
  45. </Stream>
  46.  
  47. <Stream cam2.flv>
  48. Feed cam2.ffm
  49. Format flv
  50. VideoCodec flv
  51. VideoFrameRate 2
  52. VideoBufferSize 20000
  53. VideoBitRate 200
  54. VideoQMin 5
  55. VideoQMax 10
  56. VideoSize qvga
  57. PreRoll 0
  58. Noaudio
  59. </Stream>
  60.  
  61. <Stream cam3.mp4>
  62. Feed cam3.ffm
  63. Format mp4
  64. VideoCodec libx264
  65. VideoBitRate 128k
  66. VideoSize qvga
  67.  
  68. PreRoll 0
  69. Noaudio
  70. </Stream>
  71.  
  72. <Stream cam4.flv>
  73. Feed cam4.ffm
  74. Format flv
  75. VideoCodec flv
  76. VideoFrameRate 2
  77. VideoBufferSize 20000
  78. VideoBitRate 200
  79. VideoQMin 5
  80. VideoQMax 10
  81. VideoSize qvga
  82. PreRoll 0
  83. Noaudio
  84. </Stream>
  85.  
  86.  
  87. Error:
  88.  
  89.  
  90. ffserver version git-2012-08-13-ed8d827 Copyright (c) 2000-2012 the FFmpeg developers
  91. built on Aug 12 2012 23:13:28 with gcc 4.4.5 (Debian 4.4.5-8)
  92. configuration: --enable-gpl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3
  93. libavutil 51. 69.100 / 51. 69.100
  94. libavcodec 54. 52.100 / 54. 52.100
  95. libavformat 54. 23.100 / 54. 23.100
  96. libavdevice 54. 2.100 / 54. 2.100
  97. libavfilter 3. 8.100 / 3. 8.100
  98. libswscale 2. 1.101 / 2. 1.101
  99. libswresample 0. 15.100 / 0. 15.100
  100. libpostproc 52. 0.100 / 52. 0.100
  101. /etc/ffserver.conf:29: Already in a tag
  102. /etc/ffserver.conf:31: No corresponding <Stream> for </Stream>
  103. /etc/ffserver.conf:33: Already in a tag
  104. /etc/ffserver.conf:45: No corresponding <Stream> for </Stream>
  105. /etc/ffserver.conf:47: Already in a tag
  106. /etc/ffserver.conf:59: No corresponding <Stream> for </Stream>
  107. /etc/ffserver.conf:61: Already in a tag
  108. /etc/ffserver.conf:69: No corresponding <Stream> for </Stream>
  109. /etc/ffserver.conf:71: Already in a tag
  110. /etc/ffserver.conf:83: No corresponding <Stream> for </Stream>
  111. Incorrect config file - exiting.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement