daily pastebin goal
30%
SHARE
TWEET

ffmpeg rtsp streaming failed

a guest Jun 2nd, 2015 20 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ffmpeg started on 2015-06-01 at 22:39:24
  2. Report written to "ffmpeg-20150601-223924.log"
  3. Command line:
  4. /home/broadcaster/bin/ffmpeg -v 9 -loglevel 99 -use_wallclock_as_timestamps 1 -r 25 -thread_queue_size 51200 -threads 1 -i "rtsp://admin:admin@192.168.0.200:8557/PSIA/Streaming/channels/2?videoCodecType=H.264" -use_wallclock_as_timestamps 1 -r 25 -b:v 2048k -bufsize 20480 -c:v copy -f flv "rtmp://XXXXXXXXXXXXXXXXX" -report
  5. ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
  6.   built with gcc 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
  7.   configuration: --prefix=/home/broadcaster/ffmpeg_2.6_building/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/broadcaster/ffmpeg_2.6_building/ffmpeg_build/include --extra-ldflags=-L/home/broadcaster/ffmpeg_2.6_building/ffmpeg_build/lib --bindir=/home/broadcaster/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --disable-inline-asm
  8.   libavutil      54. 20.100 / 54. 20.100
  9.   libavcodec     56. 26.100 / 56. 26.100
  10.   libavformat    56. 25.101 / 56. 25.101
  11.   libavdevice    56.  4.100 / 56.  4.100
  12.   libavfilter     5. 11.102 /  5. 11.102
  13.   libswscale      3.  1.101 /  3.  1.101
  14.   libswresample   1.  1.100 /  1.  1.100
  15.   libpostproc    53.  3.100 / 53.  3.100
  16. Splitting the commandline.
  17. Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
  18. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
  19. Reading option '-use_wallclock_as_timestamps' ... matched as AVOption 'use_wallclock_as_timestamps' with argument '1'.
  20. Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '25'.
  21. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '51200'.
  22. Reading option '-threads' ... matched as AVOption 'threads' with argument '1'.
  23. Reading option '-i' ... matched as input file with argument 'rtsp://admin:admin@192.168.0.200:8557/PSIA/Streaming/channels/2?videoCodecType=H.264'.
  24. Reading option '-use_wallclock_as_timestamps' ... matched as AVOption 'use_wallclock_as_timestamps' with argument '1'.
  25. Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '25'.
  26. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '2048k'.
  27. Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '20480'.
  28. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
  29. Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
  30. Reading option 'rtmp://XXXXXXXXXXXXXXXXX' ... matched as output file.
  31. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
  32. Finished splitting the commandline.
  33. Parsing a group of options: global .
  34. Applying option v (set logging level) with argument 9.
  35. Applying option loglevel (set logging level) with argument 99.
  36. Applying option report (generate a report) with argument 1.
  37. Successfully parsed a group of options.
  38. Parsing a group of options: input file rtsp://admin:admin@192.168.0.200:8557/PSIA/Streaming/channels/2?videoCodecType=H.264.
  39. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25.
  40. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 51200.
  41. Successfully parsed a group of options.
  42. Opening an input file: rtsp://admin:admin@192.168.0.200:8557/PSIA/Streaming/channels/2?videoCodecType=H.264.
  43. [rtsp @ 0x39a5020] SDP:
  44. v=0
  45. o=- 1433167224214870 1 IN IP4 192.168.0.200
  46. s=RTSP/RTP stream from Network Video Server
  47. i=2?videoCodecType=H.264
  48. t=0 0
  49. a=tool:LIVE555 Streaming Media v2011.05.25
  50. a=type:broadcast
  51. a=control:*
  52. a=range:npt=0-
  53. a=x-qt-text-nam:RTSP/RTP stream from Network Video Server
  54. a=x-qt-text-inf:2?videoCodecType=H.264
  55. m=video 0 RTP/AVP 96
  56. c=IN IP4 0.0.0.0
  57. b=AS:12000
  58. a=rtpmap:96 H264/90000
  59. a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAKa2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LKkAAAMAeAAAF3BgQAB9AAADAIygb3vheEQjUA==,AAAAAQ==
  60. a=control:track1
  61.  
  62. [rtsp @ 0x39a5020] video codec set to: h264
  63. [rtsp @ 0x39a5020] RTP Packetization Mode: 1
  64. [rtsp @ 0x39a5020] RTP Profile IDC: 64 Profile IOP: 0 Level: 1f
  65. [rtsp @ 0x39a5020] Extradata set to 0x39a7df0 (size: 130)
  66. [udp @ 0x39a6f40] end receive buffer size reported is 131072
  67. [udp @ 0x39a4900] end receive buffer size reported is 131072
  68. [rtsp @ 0x39a5020] hello state=0
  69. [h264 @ 0x39a7960] Unknown NAL code: 0 (0 bits)
  70. [h264 @ 0x39a7960] Unknown NAL code: 0 (0 bits)
  71. [h264 @ 0x39a7960] RTP: missed 9 packets
  72. [h264 @ 0x39a7960] RTP: missed 12 packets
  73. [h264 @ 0x39a7960] RTP: missed 9 packets
  74. [h264 @ 0x39a7960] RTP: missed 4 packets
  75. [rtsp @ 0x39a5020] All info found
  76. rfps: 120.000000 0.014252
  77. Input #0, rtsp, from 'rtsp://admin:admin@192.168.0.200:8557/PSIA/Streaming/channels/2?videoCodecType=H.264':
  78.   Metadata:
  79.     title           : RTSP/RTP stream from Network Video Server
  80.     comment         : 2?videoCodecType=H.264
  81.   Duration: N/A, start: 1433223564.225778, bitrate: N/A
  82.     Stream #0:0, 22, 1/90000: Video: h264 (High), yuvj420p(pc, left), 1920x1080 (1920x1088), 1/50, 25 fps, 25 tbr, 90k tbn, 50 tbc
  83. Successfully opened the file.
  84. Parsing a group of options: output file rtmp://XXXXXXXXXXXXXXXXX.
  85. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25.
  86. Applying option b:v (video bitrate (please use -b:v)) with argument 2048k.
  87. Applying option c:v (codec name) with argument copy.
  88. Applying option f (force format) with argument flv.
  89. Successfully parsed a group of options.
  90. Opening an output file: rtmp://XXXXXXXXXXXXXXXXX.
  91. [rtmp @ 0x3ae1a40] Handshaking...
  92. [rtmp @ 0x3ae1a40] Type answer 3
  93. [rtmp @ 0x3ae1a40] Server version 4.5.7.1
  94. [rtmp @ 0x3ae1a40] Proto = rtmp, path = /livepkgr/testingforlord1?adbe-live-event=liveevent, app = livepkgr, fname = testingforlord1?adbe-live-event=liveevent
  95. [rtmp @ 0x3ae1a40] Server bandwidth = 2500000
  96. [rtmp @ 0x3ae1a40] Client bandwidth = 2500000
  97. [rtmp @ 0x3ae1a40] New incoming chunk size = 1024
  98. [rtmp @ 0x3ae1a40] Releasing stream...
  99. [rtmp @ 0x3ae1a40] FCPublish stream...
  100. [rtmp @ 0x3ae1a40] Creating stream...
  101. [rtmp @ 0x3ae1a40] Sending publish command for 'testingforlord1?adbe-live-event=liveevent'
  102. [rtmp @ 0x3ae1a40] New incoming chunk size = 1024
  103. Successfully opened the file.
  104. Output #0, flv, to 'rtmp://XXXXXXXXXXXXXXXXX':
  105.   Metadata:
  106.     title           : RTSP/RTP stream from Network Video Server
  107.     comment         : 2?videoCodecType=H.264
  108.     encoder         : Lavf56.25.101
  109.     Stream #0:0, 0, 1/1000: Video: h264 ([7][0][0][0] / 0x0007), yuvj420p(left), 1920x1080 (0x0), 1/25, q=2-31, 2048 kb/s, 25 fps, 25 tbr, 1k tbn, 25 tbc
  110. Stream mapping:
  111.   Stream #0:0 -> #0:0 (copy)
  112. Press [q] to stop, [?] for help
  113. frame=    4 fps=0.0 q=-1.0 size=      70kB time=00:00:00.14 bitrate=3957.8kbits/s    
  114. frame=   20 fps= 18 q=-1.0 size=     196kB time=00:00:00.34 bitrate=4723.9kbits/s    
  115. [NULL @ 0x39a7960] RTP: missed 1843 packets
  116. [NULL @ 0x39a7960] RTP: missed 6 packets
  117. frame=   39 fps= 23 q=-1.0 size=     371kB time=00:00:14.19 bitrate= 214.2kbits/s    
  118. frame=   48 fps= 22 q=-1.0 size=     463kB time=00:00:14.69 bitrate= 258.0kbits/s    
  119. frame=   59 fps= 21 q=-1.0 size=     573kB time=00:00:15.27 bitrate= 307.2kbits/s    
  120. frame=   69 fps= 21 q=-1.0 size=     682kB time=00:00:15.83 bitrate= 352.6kbits/s    
  121. frame=   79 fps= 21 q=-1.0 size=     772kB time=00:00:16.37 bitrate= 386.2kbits/s    
  122. frame=   89 fps= 20 q=-1.0 size=     874kB time=00:00:16.91 bitrate= 423.4kbits/s    
  123. frame=   99 fps= 20 q=-1.0 size=     972kB time=00:00:17.45 bitrate= 456.3kbits/s    
  124. frame=  109 fps= 20 q=-1.0 size=    1071kB time=00:00:17.99 bitrate= 487.6kbits/s    
  125. frame=  119 fps= 20 q=-1.0 size=    1179kB time=00:00:18.52 bitrate= 521.4kbits/s    
  126. frame=  129 fps= 20 q=-1.0 size=    1273kB time=00:00:19.07 bitrate= 546.7kbits/s    
  127. frame=  139 fps= 20 q=-1.0 size=    1371kB time=00:00:19.61 bitrate= 572.6kbits/s    
  128. frame=  149 fps= 20 q=-1.0 size=    1474kB time=00:00:20.14 bitrate= 599.2kbits/s    
  129. frame=  159 fps= 19 q=-1.0 size=    1574kB time=00:00:20.69 bitrate= 623.1kbits/s    
  130. frame=  169 fps= 19 q=-1.0 size=    1681kB time=00:00:21.23 bitrate= 648.5kbits/s    
  131. frame=  178 fps= 19 q=-1.0 size=    1761kB time=00:00:21.73 bitrate= 663.7kbits/s    
  132. frame=  188 fps= 19 q=-1.0 size=    1863kB time=00:00:22.27 bitrate= 684.9kbits/s    
  133. frame=  198 fps= 19 q=-1.0 size=    1964kB time=00:00:22.81 bitrate= 705.1kbits/s    
  134. frame=  208 fps= 19 q=-1.0 size=    2064kB time=00:00:23.35 bitrate= 723.8kbits/s    
  135. frame=  218 fps= 19 q=-1.0 size=    2174kB time=00:00:23.89 bitrate= 745.6kbits/s    
  136. frame=  228 fps= 19 q=-1.0 size=    2264kB time=00:00:24.43 bitrate= 759.0kbits/s    
  137. frame=  238 fps= 19 q=-1.0 size=    2362kB time=00:00:24.98 bitrate= 774.4kbits/s    
  138. frame=  248 fps= 19 q=-1.0 size=    2464kB time=00:00:25.52 bitrate= 790.7kbits/s    
  139. frame=  258 fps= 19 q=-1.0 size=    2565kB time=00:00:26.06 bitrate= 806.2kbits/s    
  140. frame=  268 fps= 19 q=-1.0 size=    2675kB time=00:00:26.61 bitrate= 823.4kbits/s    
  141. frame=  278 fps= 19 q=-1.0 size=    2765kB time=00:00:27.15 bitrate= 834.2kbits/s    
  142. frame=  288 fps= 19 q=-1.0 size=    2865kB time=00:00:27.68 bitrate= 847.8kbits/s    
  143. frame=  298 fps= 19 q=-1.0 size=    2962kB time=00:00:28.22 bitrate= 859.7kbits/s    
  144. frame=  308 fps= 19 q=-1.0 size=    3065kB time=00:00:28.76 bitrate= 872.9kbits/s    
  145. frame=  317 fps= 19 q=-1.0 size=    3170kB time=00:00:29.26 bitrate= 887.4kbits/s    
  146. frame=  327 fps= 19 q=-1.0 size=    3254kB time=00:00:29.80 bitrate= 894.2kbits/s    
  147. frame=  337 fps= 19 q=-1.0 size=    3353kB time=00:00:30.35 bitrate= 905.1kbits/s    
  148. frame=  347 fps= 19 q=-1.0 size=    3456kB time=00:00:30.90 bitrate= 916.2kbits/s    
  149. frame=  357 fps= 19 q=-1.0 size=    3555kB time=00:00:31.42 bitrate= 926.5kbits/s    
  150. frame=  367 fps= 19 q=-1.0 size=    3669kB time=00:00:31.96 bitrate= 940.2kbits/s    
  151. frame=  377 fps= 19 q=-1.0 size=    3755kB time=00:00:32.51 bitrate= 946.3kbits/s    
  152. frame=  387 fps= 19 q=-1.0 size=    3855kB time=00:00:33.04 bitrate= 955.7kbits/s    
  153. frame=  397 fps= 19 q=-1.0 size=    3954kB time=00:00:33.58 bitrate= 964.5kbits/s    
  154. frame=  407 fps= 19 q=-1.0 size=    4057kB time=00:00:34.12 bitrate= 973.7kbits/s    
  155. frame=  417 fps= 19 q=-1.0 size=    4168kB time=00:00:34.67 bitrate= 984.7kbits/s    
  156. frame=  427 fps= 19 q=-1.0 size=    4254kB time=00:00:35.20 bitrate= 989.8kbits/s    
  157. frame=  437 fps= 19 q=-1.0 size=    4354kB time=00:00:35.75 bitrate= 997.6kbits/s    
  158. frame=  447 fps= 19 q=-1.0 size=    4456kB time=00:00:36.29 bitrate=1005.7kbits/s    
  159. frame=  457 fps= 19 q=-1.0 size=    4555kB time=00:00:36.84 bitrate=1012.6kbits/s    
  160. frame=  467 fps= 19 q=-1.0 size=    4671kB time=00:00:37.38 bitrate=1023.6kbits/s    
  161. frame=  477 fps= 19 q=-1.0 size=    4756kB time=00:00:37.92 bitrate=1027.2kbits/s    
  162. frame=  487 fps= 19 q=-1.0 size=    4855kB time=00:00:38.46 bitrate=1033.9kbits/s    
  163. frame=  497 fps= 19 q=-1.0 size=    4956kB time=00:00:39.00 bitrate=1040.7kbits/s    
  164. frame=  507 fps= 19 q=-1.0 size=    5056kB time=00:00:39.54 bitrate=1047.3kbits/s    
  165. frame=  517 fps= 19 q=-1.0 size=    5177kB time=00:00:40.08 bitrate=1057.9kbits/s    
  166. frame=  527 fps= 19 q=-1.0 size=    5256kB time=00:00:40.63 bitrate=1059.8kbits/s    
  167. frame=  537 fps= 19 q=-1.0 size=    5357kB time=00:00:41.16 bitrate=1065.9kbits/s    
  168. frame=  547 fps= 19 q=-1.0 size=    5456kB time=00:00:41.70 bitrate=1071.6kbits/s    
  169. frame=  557 fps= 19 q=-1.0 size=    5556kB time=00:00:42.24 bitrate=1077.3kbits/s    
  170. frame=  566 fps= 19 q=-1.0 size=    5662kB time=00:00:42.74 bitrate=1085.1kbits/s    
  171. frame=  576 fps= 19 q=-1.0 size=    5747kB time=00:00:43.27 bitrate=1088.0kbits/s    
  172. frame=  586 fps= 19 q=-1.0 size=    5846kB time=00:00:43.82 bitrate=1092.6kbits/s    
  173. frame=  596 fps= 19 q=-1.0 size=    5945kB time=00:00:44.35 bitrate=1098.1kbits/s    
  174. frame=  606 fps= 19 q=-1.0 size=    6047kB time=00:00:44.90 bitrate=1103.2kbits/s    
  175. frame=  616 fps= 19 q=-1.0 size=    6165kB time=00:00:45.45 bitrate=1111.1kbits/s    
  176. frame=  626 fps= 19 q=-1.0 size=    6249kB time=00:00:45.98 bitrate=1113.1kbits/s    
  177. frame=  636 fps= 19 q=-1.0 size=    6347kB time=00:00:46.51 bitrate=1117.6kbits/s    
  178. frame=  646 fps= 19 q=-1.0 size=    6445kB time=00:00:47.06 bitrate=1121.8kbits/s    
  179. frame=  656 fps= 19 q=-1.0 size=    6546kB time=00:00:47.60 bitrate=1126.4kbits/s    
  180. frame=  665 fps= 19 q=-1.0 size=    6657kB time=00:00:48.10 bitrate=1133.7kbits/s    
  181. frame=  675 fps= 19 q=-1.0 size=    6738kB time=00:00:48.63 bitrate=1134.9kbits/s    
  182. frame=  685 fps= 19 q=-1.0 size=    6836kB time=00:00:49.18 bitrate=1138.4kbits/s    
  183. frame=  695 fps= 19 q=-1.0 size=    6938kB time=00:00:49.71 bitrate=1143.4kbits/s    
  184. frame=  705 fps= 19 q=-1.0 size=    7038kB time=00:00:50.26 bitrate=1147.0kbits/s    
  185. frame=  715 fps= 19 q=-1.0 size=    7157kB time=00:00:50.81 bitrate=1153.9kbits/s    
  186. frame=  725 fps= 19 q=-1.0 size=    7239kB time=00:00:51.34 bitrate=1154.9kbits/s    
  187. frame=  735 fps= 19 q=-1.0 size=    7336kB time=00:00:51.89 bitrate=1158.1kbits/s    
  188. frame=  745 fps= 19 q=-1.0 size=    7436kB time=00:00:52.42 bitrate=1161.9kbits/s    
  189. frame=  755 fps= 19 q=-1.0 size=    7538kB time=00:00:52.96 bitrate=1166.0kbits/s    
  190. frame=  764 fps= 19 q=-1.0 size=    7655kB time=00:00:53.46 bitrate=1172.9kbits/s    
  191. frame=  774 fps= 19 q=-1.0 size=    7727kB time=00:00:53.99 bitrate=1172.5kbits/s    
  192. frame=  784 fps= 19 q=-1.0 size=    7827kB time=00:00:54.53 bitrate=1175.8kbits/s    
  193. frame=  794 fps= 19 q=-1.0 size=    7927kB time=00:00:55.07 bitrate=1179.1kbits/s    
  194. frame=  804 fps= 19 q=-1.0 size=    8028kB time=00:00:55.63 bitrate=1182.1kbits/s    
  195. frame=  814 fps= 19 q=-1.0 size=    8152kB time=00:00:56.17 bitrate=1188.9kbits/s    
  196. frame=  824 fps= 19 q=-1.0 size=    8226kB time=00:00:56.70 bitrate=1188.4kbits/s    
  197. frame=  834 fps= 19 q=-1.0 size=    8327kB time=00:00:57.24 bitrate=1191.7kbits/s    
  198. frame=  844 fps= 19 q=-1.0 size=    8426kB time=00:00:57.79 bitrate=1194.5kbits/s    
  199. frame=  854 fps= 19 q=-1.0 size=    8530kB time=00:00:58.33 bitrate=1197.9kbits/s    
  200. frame=  864 fps= 19 q=-1.0 size=    8652kB time=00:00:58.86 bitrate=1204.0kbits/s    
  201. frame=  874 fps= 19 q=-1.0 size=    8726kB time=00:00:59.41 bitrate=1203.3kbits/s    
  202. [flv @ 0x39dd840] Failed to update header with correct duration.
  203. [flv @ 0x39dd840] Failed to update header with correct filesize.
  204. frame=  879 fps= 19 q=-1.0 Lsize=    8779kB time=00:00:59.67 bitrate=1205.3kbits/s    
  205. video:8762kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.199694%
  206. Input file #0 (rtsp://admin:admin@192.168.0.200:8557/PSIA/Streaming/channels/2?videoCodecType=H.264):
  207.   Input stream #0:0 (video): 879 packets read (8972215 bytes);
  208.   Total: 879 packets (8972215 bytes) demuxed
  209. Output file #0 (rtmp://XXXXXXXXXXXXXXXXX):
  210.   Output stream #0:0 (video): 879 packets muxed (8972215 bytes);
  211.   Total: 879 packets (8972215 bytes) muxed
  212. 0 frames successfully decoded, 0 decoding errors
  213. [AVIOContext @ 0x3abf1e0] Statistics: 0 seeks, 899 writeouts
  214. [rtmp @ 0x3ae1a40] UnPublishing stream...
  215. [rtmp @ 0x3ae1a40] Deleting stream...
  216. Received signal 2: terminating.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top