Advertisement
Guest User

Untitled

a guest
Apr 15th, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. My ffserver.conf
  2. ==========================================
  3. HTTPPort 8090
  4. # bind to all IPs aliased or not
  5. HTTPBindAddress 0.0.0.0
  6. # max number of simultaneous clients
  7. MaxClients 1000
  8. # max bandwidth per-client (kb/s)
  9. MaxBandwidth 10000
  10. # Suppress that if you want to launch ffserver as a daemon.
  11. #NoDaemon
  12. CustomLog /Users/pulsar/GoogleDrive/github/logs/ffserver_log.txt
  13.  
  14. <Feed feed1.ffm>
  15. File /tmp/feed1.ffm
  16. FileMaxSize 5M
  17. </Feed>
  18.  
  19. <Stream test.flv>
  20. Feed feed1.ffm
  21. Format flv
  22. #NoVideo
  23. VideoCodec flv1
  24. AVOptionVideo flags +global_header
  25. PixelFormat yuv420p
  26. VideoFrameRate 25
  27. VideoGopSize 12
  28. VideoBufferSize 0
  29. VideoBitRate 1872
  30. NoDefaults
  31. StartSendOnKey
  32. AVOptionVideo trellis 1
  33. #AVOptionVideo 8x8dct 1
  34. #AVOptionVideo mbtree 0
  35. VideoQMin 1
  36. VideoQMax 10
  37. VideoSize 1280x800
  38. PreRoll 0
  39. Noaudio
  40. </Stream>
  41. <Stream status.html> # Server status URL
  42. Format status
  43. #Only allow local people to get the status
  44. #ACL allow 10.10.10.0 10.10.10.50
  45. </Stream>
  46. ========================================================
  47. ffmpeg command output:
  48.  
  49. /ffmpeg -f avfoundation -i "1:" -maxrate 2500k -threads:0 4 -threads:1 4 -vcodec copyts -movflags +faststart -pix_fmt yuv420p http://localhost:8090/feed1.ffm
  50. ffmpeg version N-71403-g415f1fa Copyright (c) 2000-2015 the FFmpeg developers
  51. built with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
  52. configuration: --prefix=/usr/local --enable-gpl --enable-postproc --enable-pthreads --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libvorbis --disable-armv5te --disable-armv6 --disable-neon --enable-static --disable-stripping --disable-shared
  53. libavutil 54. 22.101 / 54. 22.101
  54. libavcodec 56. 34.100 / 56. 34.100
  55. libavformat 56. 30.100 / 56. 30.100
  56. libavdevice 56. 4.100 / 56. 4.100
  57. libavfilter 5. 13.101 / 5. 13.101
  58. libswscale 3. 1.101 / 3. 1.101
  59. libswresample 1. 1.100 / 1. 1.100
  60. libpostproc 53. 3.100 / 53. 3.100
  61. [avfoundation @ 0x7fcfca82bc00] Selected pixel format (yuv420p) is not supported by the input device.
  62. [avfoundation @ 0x7fcfca82bc00] Supported pixel formats:
  63. [avfoundation @ 0x7fcfca82bc00] uyvy422
  64. [avfoundation @ 0x7fcfca82bc00] yuyv422
  65. [avfoundation @ 0x7fcfca82bc00] nv12
  66. [avfoundation @ 0x7fcfca82bc00] 0rgb
  67. [avfoundation @ 0x7fcfca82bc00] bgr0
  68. [avfoundation @ 0x7fcfca82bc00] Overriding selected pixel format to use uyvy422 instead.
  69. [avfoundation @ 0x7fcfca82bc00] Stream #0: not enough frames to estimate rate; consider increasing probesize
  70. Input #0, avfoundation, from '1:':
  71. Duration: N/A, start: 36499.697833, bitrate: N/A
  72. Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1440x900, 1000k tbr, 1000k tbn, 1000k tbc
  73. [tcp @ 0x7fcfca45f1a0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
  74. [tcp @ 0x7fcfca70ece0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
  75. [ffm @ 0x7fcfca84d200] Frame rate very high for a muxer not efficiently supporting it.
  76. Please consider specifying a lower framerate, a different muxer or -vsync 2
  77. [flv @ 0x7fcfcc02f000] Either both buffer size and max rate or neither must be specified
  78. Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  79. Metadata:
  80. creation_time : now
  81. Stream #0:0: Video: flv1 (flv), yuv420p, 1280x800, q=1-10, 1872 kb/s, 1000k fps, 25 tbc
  82. Metadata:
  83. encoder : Lavc56.34.100 flv
  84. Stream mapping:
  85. Stream #0:0 -> #0:0 (rawvideo (native) -> flv1 (flv))
  86. Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement