Guest User

crtmpserver + gstreamer flvmux debug

a guest
Oct 12th, 2011
498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 19.77 KB | None | 0 0
  1. me@machine:./$ ./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua
  2. ./sources/crtmpserver/src/crtmpserver.cpp:203 Initialize I/O handlers manager: epoll
  3. ./sources/crtmpserver/src/crtmpserver.cpp:206 Configure modules
  4. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/appselector/libappselector.so loaded
  5. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/flvplayback/libflvplayback.so loaded
  6. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/samplefactory/libsamplefactory.so loaded
  7. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/vptests/libvptests.so loaded
  8. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/admin/libadmin.so loaded
  9. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/proxypublish/libproxypublish.so loaded
  10. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/stresstest/libstresstest.so loaded
  11. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/applestreamingclient/libapplestreamingclient.so loaded
  12. ./sources/crtmpserver/src/crtmpserver.cpp:212 Plug in the default protocol factory
  13. ./sources/crtmpserver/src/crtmpserver.cpp:219 Configure factories
  14. ./sources/thelib/src/configuration/module.cpp:97 Loaded factory from application samplefactory
  15. ./sources/crtmpserver/src/crtmpserver.cpp:225 Configure acceptors
  16. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 0->1 IOHT_ACCEPTOR
  17. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 1->2 IOHT_ACCEPTOR
  18. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 2->3 IOHT_ACCEPTOR
  19. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 3->4 IOHT_ACCEPTOR
  20. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 4->5 IOHT_ACCEPTOR
  21. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 5->6 IOHT_ACCEPTOR
  22. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 6->7 IOHT_ACCEPTOR
  23. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 7->8 IOHT_ACCEPTOR
  24. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 8->9 IOHT_ACCEPTOR
  25. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 9->10 IOHT_ACCEPTOR
  26. ./sources/crtmpserver/src/crtmpserver.cpp:231 Configure instances
  27. ./sources/crtmpserver/src/crtmpserver.cpp:237 Start I/O handlers manager: epoll
  28. ./sources/crtmpserver/src/crtmpserver.cpp:240 Configure applications
  29. ./sources/thelib/src/configuration/module.cpp:177 Application admin instantiated
  30. ./sources/thelib/src/configuration/module.cpp:177 Application applestreamingclient instantiated
  31. ./sources/thelib/src/configuration/module.cpp:177 Application appselector instantiated
  32. ./sources/thelib/src/configuration/module.cpp:177 Application flvplayback instantiated
  33. ./sources/thelib/src/configuration/module.cpp:177 Application proxypublish instantiated
  34. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 10->11 IOHT_TIMER
  35. ./sources/thelib/src/configuration/module.cpp:177 Application samplefactory instantiated
  36. ./sources/thelib/src/configuration/module.cpp:177 Application stresstest instantiated
  37. ./sources/thelib/src/configuration/module.cpp:177 Application vptests instantiated
  38. ./sources/crtmpserver/src/crtmpserver.cpp:246 Install the quit signal
  39. ./sources/crtmpserver/src/crtmpserver.cpp:257
  40. +-----------------------------------------------------------------------------+
  41. |                                                                     Services|
  42. +---+---------------+-----+-------------------------+-------------------------+
  43. | c |      ip       | port|   protocol stack name   |     application name    |
  44. +---+---------------+-----+-------------------------+-------------------------+
  45. |tcp|        0.0.0.0| 1112|           inboundJsonCli|                    admin|
  46. +---+---------------+-----+-------------------------+-------------------------+
  47. |tcp|        0.0.0.0| 1935|              inboundRtmp|              appselector|
  48. +---+---------------+-----+-------------------------+-------------------------+
  49. |tcp|        0.0.0.0| 8081|             inboundRtmps|              appselector|
  50. +---+---------------+-----+-------------------------+-------------------------+
  51. |tcp|        0.0.0.0| 8080|             inboundRtmpt|              appselector|
  52. +---+---------------+-----+-------------------------+-------------------------+
  53. |tcp|        0.0.0.0| 6666|           inboundLiveFlv|              flvplayback|
  54. +---+---------------+-----+-------------------------+-------------------------+
  55. |tcp|        0.0.0.0| 9999|             inboundTcpTs|              flvplayback|
  56. +---+---------------+-----+-------------------------+-------------------------+
  57. |tcp|        0.0.0.0| 6665|           inboundLiveFlv|             proxypublish|
  58. +---+---------------+-----+-------------------------+-------------------------+
  59. |tcp|        0.0.0.0| 8989|         httpEchoProtocol|            samplefactory|
  60. +---+---------------+-----+-------------------------+-------------------------+
  61. |tcp|        0.0.0.0| 8988|             echoProtocol|            samplefactory|
  62. +---+---------------+-----+-------------------------+-------------------------+
  63. |tcp|        0.0.0.0| 1111|    inboundHttpXmlVariant|                  vptests|
  64. +---+---------------+-----+-------------------------+-------------------------+
  65. ./sources/crtmpserver/src/crtmpserver.cpp:258 GO! GO! GO! (21714)
  66.  
  67. ./gst-launch-0.10 -e videotestsrc is-live=true !  queue max-size-bytes=100000000 max-size-time=0 ! videorate ! video/x-raw-yuv,framerate=18/1 ! queue max-size-bytes=100000000 max-size-time=0 ! videoscale ! video/x-raw-yuv, width=648, height=280 ! queue max-size-bytes=100000000 max-size-time=0 ! tee name=halfres ! queue max-size-bytes=100000000 max-size-time=0 ! x264enc byte-stream=false  ! queue max-size-bytes=100000000 max-size-time=0 ! flvmux ! queue max-size-bytes=100000000 max-size-time=0 ! tcpclientsink port=6666 host=127.0.0.1 protocol=none  halfres. ! ffmpegcolorspace ! queue max-size-bytes=100000000 max-size-time=0 ! xvimagesink sync=false
  68.  
  69. ./sources/thelib/src/netio/epoll/tcpacceptor.cpp:154 Client connected: 127.0.0.1:56489 -> 0.0.0.0:6666
  70. ./sources/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:46 parameters:
  71. <MAP name="" isArray="false">
  72.     <STR name="ip">0.0.0.0</STR>
  73.     <UINT16 name="port">6666</UINT16>
  74.     <STR name="protocol">inboundLiveFlv</STR>
  75.     <STR name="sslCert"></STR>
  76.     <STR name="sslKey"></STR>
  77.     <BOOL name="waitForMetadata">true</BOOL>
  78. </MAP>
  79. ./sources/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:51 _waitForMetadata: 1
  80. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 11->12 IOHT_TCP_CARRIER
  81. ./sources/thelib/src/protocols/liveflv/baseliveflvappprotocolhandler.cpp:45 protocol CTCP(15) <-> TCP(2) <-> [ILFL(3)] registered to app flvplayback
  82. ./sources/thelib/src/application/baseclientapplication.cpp:227 Stream INLFLV(1) with name `127.0.0.1_56489` registered to application `flvplayback` from protocol ILFL(3)
  83. ./sources/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:184 Stream metadata:
  84. <MAP name="" isArray="true">
  85.     <MAP name="__index__value__0" isArray="true">
  86.         <DOUBLE name="AspectRatioX">1.000</DOUBLE>
  87.         <DOUBLE name="AspectRatioY">1.000</DOUBLE>
  88.         <STR name="creationdate">Wed Oct 12 21:18:19 2011</STR>
  89.         <DOUBLE name="duration">86400.000</DOUBLE>
  90.         <DOUBLE name="filesize">0.000</DOUBLE>
  91.         <DOUBLE name="framerate">18.000</DOUBLE>
  92.         <STR name="gstfiller">                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </STR>
  93.         <DOUBLE name="height">280.000</DOUBLE>
  94.         <STR name="metadatacreator">GStreamer FLV muxer</STR>
  95.         <DOUBLE name="videocodecid">7.000</DOUBLE>
  96.         <DOUBLE name="width">648.000</DOUBLE>
  97.     </MAP>
  98. </MAP>
  99. ./sources/thelib/src/protocols/liveflv/innetliveflvstream.cpp:225 Cached the h264 video codec initialization: 45
  100.  
  101.  
  102.  
  103. =========================================================================================
  104. =========================================================================================
  105. =========================================================================================
  106. =========================================================================================
  107.  
  108.  
  109. me@machine:./$ ./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua
  110. ./sources/crtmpserver/src/crtmpserver.cpp:203 Initialize I/O handlers manager: epoll
  111. ./sources/crtmpserver/src/crtmpserver.cpp:206 Configure modules
  112. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/appselector/libappselector.so loaded
  113. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/flvplayback/libflvplayback.so loaded
  114. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/samplefactory/libsamplefactory.so loaded
  115. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/vptests/libvptests.so loaded
  116. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/admin/libadmin.so loaded
  117. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/proxypublish/libproxypublish.so loaded
  118. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/stresstest/libstresstest.so loaded
  119. ./sources/thelib/src/configuration/module.cpp:84 Module ./builders/cmake/applications/applestreamingclient/libapplestreamingclient.so loaded
  120. ./sources/crtmpserver/src/crtmpserver.cpp:212 Plug in the default protocol factory
  121. ./sources/crtmpserver/src/crtmpserver.cpp:219 Configure factories
  122. ./sources/thelib/src/configuration/module.cpp:97 Loaded factory from application samplefactory
  123. ./sources/crtmpserver/src/crtmpserver.cpp:225 Configure acceptors
  124. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 0->1 IOHT_ACCEPTOR
  125. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 1->2 IOHT_ACCEPTOR
  126. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 2->3 IOHT_ACCEPTOR
  127. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 3->4 IOHT_ACCEPTOR
  128. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 4->5 IOHT_ACCEPTOR
  129. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 5->6 IOHT_ACCEPTOR
  130. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 6->7 IOHT_ACCEPTOR
  131. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 7->8 IOHT_ACCEPTOR
  132. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 8->9 IOHT_ACCEPTOR
  133. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 9->10 IOHT_ACCEPTOR
  134. ./sources/crtmpserver/src/crtmpserver.cpp:231 Configure instances
  135. ./sources/crtmpserver/src/crtmpserver.cpp:237 Start I/O handlers manager: epoll
  136. ./sources/crtmpserver/src/crtmpserver.cpp:240 Configure applications
  137. ./sources/thelib/src/configuration/module.cpp:177 Application admin instantiated
  138. ./sources/thelib/src/configuration/module.cpp:177 Application applestreamingclient instantiated
  139. ./sources/thelib/src/configuration/module.cpp:177 Application appselector instantiated
  140. ./sources/thelib/src/configuration/module.cpp:177 Application flvplayback instantiated
  141. ./sources/thelib/src/configuration/module.cpp:177 Application proxypublish instantiated
  142. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 10->11 IOHT_TIMER
  143. ./sources/thelib/src/configuration/module.cpp:177 Application samplefactory instantiated
  144. ./sources/thelib/src/configuration/module.cpp:177 Application stresstest instantiated
  145. ./sources/thelib/src/configuration/module.cpp:177 Application vptests instantiated
  146. ./sources/crtmpserver/src/crtmpserver.cpp:246 Install the quit signal
  147. ./sources/crtmpserver/src/crtmpserver.cpp:257
  148. +-----------------------------------------------------------------------------+
  149. |                                                                     Services|
  150. +---+---------------+-----+-------------------------+-------------------------+
  151. | c |      ip       | port|   protocol stack name   |     application name    |
  152. +---+---------------+-----+-------------------------+-------------------------+
  153. |tcp|        0.0.0.0| 1112|           inboundJsonCli|                    admin|
  154. +---+---------------+-----+-------------------------+-------------------------+
  155. |tcp|        0.0.0.0| 1935|              inboundRtmp|              appselector|
  156. +---+---------------+-----+-------------------------+-------------------------+
  157. |tcp|        0.0.0.0| 8081|             inboundRtmps|              appselector|
  158. +---+---------------+-----+-------------------------+-------------------------+
  159. |tcp|        0.0.0.0| 8080|             inboundRtmpt|              appselector|
  160. +---+---------------+-----+-------------------------+-------------------------+
  161. |tcp|        0.0.0.0| 6666|           inboundLiveFlv|              flvplayback|
  162. +---+---------------+-----+-------------------------+-------------------------+
  163. |tcp|        0.0.0.0| 9999|             inboundTcpTs|              flvplayback|
  164. +---+---------------+-----+-------------------------+-------------------------+
  165. |tcp|        0.0.0.0| 6665|           inboundLiveFlv|             proxypublish|
  166. +---+---------------+-----+-------------------------+-------------------------+
  167. |tcp|        0.0.0.0| 8989|         httpEchoProtocol|            samplefactory|
  168. +---+---------------+-----+-------------------------+-------------------------+
  169. |tcp|        0.0.0.0| 8988|             echoProtocol|            samplefactory|
  170. +---+---------------+-----+-------------------------+-------------------------+
  171. |tcp|        0.0.0.0| 1111|    inboundHttpXmlVariant|                  vptests|
  172. +---+---------------+-----+-------------------------+-------------------------+
  173. ./sources/crtmpserver/src/crtmpserver.cpp:258 GO! GO! GO! (21743)
  174.  
  175. ./gst-launch-0.10 -e videotestsrc is-live=true !  queue max-size-bytes=100000000 max-size-time=0 ! videorate ! video/x-raw-yuv,framerate=18/1 ! queue max-size-bytes=100000000 max-size-time=0 ! videoscale ! video/x-raw-yuv, width=648, height=280 ! queue max-size-bytes=100000000 max-size-time=0 ! tee name=halfres ! queue max-size-bytes=100000000 max-size-time=0 ! x264enc byte-stream=false  ! queue max-size-bytes=100000000 max-size-time=0 ! flvmux streamable=true ! queue max-size-bytes=100000000 max-size-time=0 ! tcpclientsink port=6666 host=127.0.0.1 protocol=none  halfres. ! ffmpegcolorspace ! queue max-size-bytes=100000000 max-size-time=0 ! xvimagesink sync=false
  176.  
  177. ./sources/thelib/src/netio/epoll/tcpacceptor.cpp:154 Client connected: 127.0.0.1:56491 -> 0.0.0.0:6666
  178. ./sources/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:46 parameters:
  179. <MAP name="" isArray="false">
  180.     <STR name="ip">0.0.0.0</STR>
  181.     <UINT16 name="port">6666</UINT16>
  182.     <STR name="protocol">inboundLiveFlv</STR>
  183.     <STR name="sslCert"></STR>
  184.     <STR name="sslKey"></STR>
  185.     <BOOL name="waitForMetadata">true</BOOL>
  186. </MAP>
  187. ./sources/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:51 _waitForMetadata: 1
  188. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:100 Handlers count changed: 11->12 IOHT_TCP_CARRIER
  189. ./sources/thelib/src/protocols/liveflv/baseliveflvappprotocolhandler.cpp:45 protocol CTCP(15) <-> TCP(2) <-> [ILFL(3)] registered to app flvplayback
  190. ./sources/thelib/src/protocols/rtmp/amf0serializer.cpp:731 Unable to de-serialize type 9; Buffer: Size: 4096
  191. Published: 223
  192. Consumed: 222
  193. Address: 0x1ba76d0
  194. 00000000  02 00 0a 6f 6e 4d 65 74  61 44 61 74 61 08 00 00  ...onMetaData...
  195. 00000016  00 09 00 0c 76 69 64 65  6f 63 6f 64 65 63 69 64  ....videocodecid
  196. 00000032  00 40 1c 00 00 00 00 00  00 00 05 77 69 64 74 68  .@.........width
  197. 00000048  00 40 84 40 00 00 00 00  00 00 06 68 65 69 67 68  .@.@.......heigh
  198. 00000064  74 00 40 71 80 00 00 00  00 00 00 0c 41 73 70 65  t.@q........Aspe
  199. 00000080  63 74 52 61 74 69 6f 58  00 3f f0 00 00 00 00 00  ctRatioX.?......
  200. 00000096  00 00 0c 41 73 70 65 63  74 52 61 74 69 6f 59 00  ...AspectRatioY.
  201. 00000112  3f f0 00 00 00 00 00 00  00 09 66 72 61 6d 65 72  ?.........framer
  202. 00000128  61 74 65 00 40 32 00 00  00 00 00 00 00 0f 6d 65  ate.@2........me
  203. 00000144  74 61 64 61 74 61 63 72  65 61 74 6f 72 02 00 13  tadatacreator...
  204. 00000160  47 53 74 72 65 61 6d 65  72 20 46 4c 56 20 6d 75  GStreamer FLV mu
  205. 00000176  78 65 72 00 0c 63 72 65  61 74 69 6f 6e 64 61 74  xer..creationdat
  206. 00000192  65 02 00 18 57 65 64 20  4f 63 74 20 31 32 20 32  e...Wed Oct 12 2
  207. 00000208  31 3a 32 31 3a 34 31 20  32 30 31 31 00 00 09     1:21:41 2011...
  208.  
  209. ./sources/thelib/src/protocols/rtmp/amf0serializer.cpp:322 Unable to read value
  210. ./sources/thelib/src/protocols/liveflv/inboundliveflvprotocol.cpp:166 Unable to read metadata item
  211. ./sources/thelib/src/netio/epoll/tcpcarrier.cpp:88 Unable to signal data available
  212. ./sources/thelib/src/netio/epoll/iohandlermanager.cpp:109 Handlers count changed: 12->11 IOHT_TCP_CARRIER
  213. ./sources/thelib/src/protocols/protocolmanager.cpp:44 Enqueue for delete for protocol [ILFL(3)]
  214. ./sources/thelib/src/protocols/liveflv/baseliveflvappprotocolhandler.cpp:58 protocol [ILFL(3)] unregistered from app flvplayback
  215. ./sources/thelib/src/application/baseclientapplication.cpp:216 Protocol [ILFL(3)] unregistered from application: flvplayback
  216.  
Add Comment
Please, Sign In to add comment