Guest User

Untitled

a guest
Mar 19th, 2016
160
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. geusebio@LincolnTux:~/Projects/AutomateEverything$ ffmpeg -i rtsp://guest:guest@10.0.0.80:554/onvif1 -b:a 32k -b:v 64k -maxrate 128k -bufsize 512k -vf scale=160x128 -v debug http://localhost:8090/feed1.ffm
  2. ffmpeg version 2.7.6-0ubuntu0.15.10.1 Copyright (c) 2000-2016 the FFmpeg developers
  3. built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
  4. configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
  5. libavutil 54. 27.100 / 54. 27.100
  6. libavcodec 56. 41.100 / 56. 41.100
  7. libavformat 56. 36.100 / 56. 36.100
  8. libavdevice 56. 4.100 / 56. 4.100
  9. libavfilter 5. 16.101 / 5. 16.101
  10. libavresample 2. 1. 0 / 2. 1. 0
  11. libswscale 3. 1.101 / 3. 1.101
  12. libswresample 1. 2.100 / 1. 2.100
  13. libpostproc 53. 3.100 / 53. 3.100
  14. Splitting the commandline.
  15. Reading option '-i' ... matched as input file with argument 'rtsp://guest:guest@10.0.0.80:554/onvif1'.
  16. Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '32k'.
  17. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '64k'.
  18. Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument '128k'.
  19. Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '512k'.
  20. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=160x128'.
  21. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
  22. Reading option 'http://localhost:8090/feed1.ffm' ... matched as output file.
  23. Finished splitting the commandline.
  24. Parsing a group of options: global .
  25. Applying option v (set logging level) with argument debug.
  26. Successfully parsed a group of options.
  27. Parsing a group of options: input file rtsp://guest:guest@10.0.0.80:554/onvif1.
  28. Successfully parsed a group of options.
  29. Opening an input file: rtsp://guest:guest@10.0.0.80:554/onvif1.
  30. [rtsp @ 0xa2ebe0] SDP:
  31. v=0
  32. o=- 1421069297525233 1 IN IP4 10.0.0.80
  33. s=H.264 Video, RtspServer_0.0.0.2
  34. t=0 0
  35. a=tool:RtspServer_0.0.0.2
  36. a=type:broadcast
  37. a=control:*
  38. a=range:npt=0-
  39. m=video 0 RTP/AVP 96
  40. c=IN IP4 0.0.0.0
  41. b=AS:500
  42. a=rtpmap:96 H264/90000
  43. a=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==
  44. a=control:track1
  45. m=audio 0 RTP/AVP 8
  46. a=control:track2
  47. a=rtpmap:8 PCMA/8000
  48.  
  49. Failed to parse interval end specification ''
  50. [rtsp @ 0xa2ebe0] video codec set to: h264
  51. [rtsp @ 0xa2ebe0] RTP Packetization Mode: 1
  52. [rtsp @ 0xa2ebe0] RTP Profile IDC: 42 Profile IOP: 0 Level: 1f
  53. [rtsp @ 0xa2ebe0] Extradata set to 0xa20f90 (size: 22)
  54. [rtsp @ 0xa2ebe0] audio codec set to: pcm_alaw
  55. [rtsp @ 0xa2ebe0] audio samplerate set to: 8000
  56. [rtsp @ 0xa2ebe0] audio channels set to: 1
  57. [udp @ 0xa2e2c0] end receive buffer size reported is 131072
  58. [udp @ 0xa2e340] end receive buffer size reported is 131072
  59. [udp @ 0xa53280] end receive buffer size reported is 131072
  60. [udp @ 0xa2e3c0] end receive buffer size reported is 131072
  61. [rtsp @ 0xa2ebe0] hello state=0
  62. Failed to parse interval end specification ''
  63. [h264 @ 0xa31340] unknown SEI type 229
  64. Invalid UE golomb code
  65. [h264 @ 0xa31340] unknown SEI type 229
  66. Invalid UE golomb code
  67. [rtsp @ 0xa2ebe0] All info found
  68. [rtsp @ 0xa2ebe0] rfps: 12.333333 0.012871
  69. [rtsp @ 0xa2ebe0] rfps: 12.416667 0.004283
  70. Last message repeated 1 times
  71. [rtsp @ 0xa2ebe0] rfps: 12.500000 0.000312
  72. Last message repeated 1 times
  73. [rtsp @ 0xa2ebe0] rfps: 12.583333 0.000958
  74. Last message repeated 1 times
  75. [rtsp @ 0xa2ebe0] rfps: 12.666667 0.006221
  76. Last message repeated 1 times
  77. [rtsp @ 0xa2ebe0] rfps: 12.750000 0.016100
  78. [rtsp @ 0xa2ebe0] rfps: 24.833333 0.017133
  79. [rtsp @ 0xa2ebe0] rfps: 24.916667 0.006883
  80. Last message repeated 1 times
  81. [rtsp @ 0xa2ebe0] rfps: 25.000000 0.001250
  82. Last message repeated 1 times
  83. [rtsp @ 0xa2ebe0] rfps: 25.083333 0.000233
  84. Last message repeated 1 times
  85. [rtsp @ 0xa2ebe0] rfps: 25.166667 0.003833
  86. Last message repeated 1 times
  87. [rtsp @ 0xa2ebe0] rfps: 25.250000 0.012050
  88. [rtsp @ 0xa2ebe0] rfps: 50.000000 0.005000
  89. Last message repeated 1 times
  90. Guessed Channel Layout for Input Stream #0.1 : mono
  91. Input #0, rtsp, from 'rtsp://guest:guest@10.0.0.80:554/onvif1':
  92. Metadata:
  93. title : H.264 Video, RtspServer_0.0.0.2
  94. Duration: N/A, start: 0.000000, bitrate: N/A
  95. Stream #0:0, 28, 1/90000: Video: h264 (Baseline), 1 reference frame, yuv420p(left), 1280x720, 1/180000, 25.08 tbr, 90k tbn, 180k tbc
  96. Stream #0:1, 86, 1/8000: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s
  97. Successfully opened the file.
  98. Parsing a group of options: output file http://localhost:8090/feed1.ffm.
  99. Applying option b:a (video bitrate (please use -b:v)) with argument 32k.
  100. Applying option b:v (video bitrate (please use -b:v)) with argument 64k.
  101. Applying option vf (set video filters) with argument scale=160x128.
  102. Successfully parsed a group of options.
  103. Opening an output file: http://localhost:8090/feed1.ffm.
  104. [http @ 0x1037540] request: GET /feed1.ffm HTTP/1.1
  105. User-Agent: Lavf/56.36.100
  106. Accept: */*
  107. Range: bytes=0-
  108. Connection: close
  109. Host: localhost:8090
  110. Icy-MetaData: 1
  111.  
  112.  
  113. [ffm @ 0x1028f00] Format ffm probed with size=2048 and score=101
  114. [NULL @ 0x102b4e0] Setting entry with key 'b' to value '32000'
  115. [NULL @ 0x102b4e0] Setting entry with key 'ac' to value '1'
  116. [NULL @ 0x102b4e0] Setting entry with key 'ar' to value '44100'
  117. [NULL @ 0xfe5460] Setting entry with key 'b' to value '64000'
  118. [NULL @ 0xfe5460] Setting entry with key 'bufsize' to value '327680'
  119. [NULL @ 0xfe5460] Setting entry with key 'time_base' to value '1/3'
  120. [NULL @ 0xfe5460] Setting entry with key 'video_size' to value '160x128'
  121. [NULL @ 0xfe5460] Setting entry with key 'g' to value '12'
  122. [NULL @ 0xfe5460] Setting entry with key 'bt' to value '21333'
  123. [NULL @ 0xfe5460] Setting entry with key 'maxrate' to value '128000'
  124. [AVIOContext @ 0x10383a0] Statistics: 4096 bytes read, 0 seeks
  125. [http @ 0x102c060] request: POST /feed1.ffm HTTP/1.1
  126. Transfer-Encoding: chunked
  127. User-Agent: Lavf/56.36.100
  128. Accept: */*
  129. Connection: close
  130. Host: localhost:8090
  131. Icy-MetaData: 1
  132.  
  133.  
  134. Successfully opened the file.
  135. detected 8 logical cores
  136. [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'time_base' to value '1/8000'
  137. [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'sample_rate' to value '8000'
  138. [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'sample_fmt' to value 's16'
  139. [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'channel_layout' to value '0x4'
  140. [graph 0 input from stream 0:1 @ 0x10316a0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:0x4
  141. [audio format for output stream 0:0 @ 0xe4c0a0] Setting 'sample_fmts' to value 's16'
  142. [audio format for output stream 0:0 @ 0xe4c0a0] Setting 'sample_rates' to value '44100'
  143. [audio format for output stream 0:0 @ 0xe4c0a0] Setting 'channel_layouts' to value '0x4'
  144. [audio format for output stream 0:0 @ 0xe4c0a0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
  145. [AVFilterGraph @ 0x1033be0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
  146. [auto-inserted resampler 0 @ 0x10281c0] ch:1 chl:mono fmt:s16 r:8000Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
  147. [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'video_size' to value '1280x720'
  148. [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'pix_fmt' to value '0'
  149. [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'time_base' to value '1/90000'
  150. [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'pixel_aspect' to value '0/1'
  151. [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'sws_param' to value 'flags=2'
  152. [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'frame_rate' to value '301/12'
  153. [graph 1 input from stream 0:0 @ 0xa12b80] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:301/12 sar:0/1 sws_param:flags=2
  154. [scaler for output stream 0:1 @ 0xa2dfa0] Setting 'w' to value '160'
  155. [scaler for output stream 0:1 @ 0xa2dfa0] Setting 'h' to value '128'
  156. [scaler for output stream 0:1 @ 0xa2dfa0] Setting 'flags' to value '0x4'
  157. [scaler for output stream 0:1 @ 0xa2dfa0] w:160 h:128 flags:'0x4' interl:0
  158. [format @ 0x1035a40] compat: called with args=[yuv420p]
  159. [format @ 0x1035a40] Setting 'pix_fmts' to value 'yuv420p'
  160. [AVFilterGraph @ 0xb9bf80] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
  161. [scaler for output stream 0:1 @ 0xa2dfa0] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:160 h:128 fmt:yuv420p sar:0/1 flags:0x4
  162. [mpeg1video @ 0xfef2e0] bitrate tolerance 21333 too small for bitrate 64000, overriding
  163. [mpeg1video @ 0xfef2e0] intra_quant_bias = 96 inter_quant_bias = 0
  164. [mpeg1video @ 0xfef2e0] too many threads/slices (9), reducing to 8
  165. [mpeg1video @ 0xfef2e0] MPEG1/2 does not support 3/1 fps
  166. Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  167. Metadata:
  168. title : H.264 Video, RtspServer_0.0.0.2
  169. creation_time : now
  170. Stream #0:0, 0, 1/44100: Audio: mp2, 44100 Hz, mono, s16, 32 kb/s
  171. Metadata:
  172. encoder : Lavc56.41.100 mp2
  173. Stream #0:1, 0, 0/0: Video: mpeg1video, 1 reference frame, none, 160x128 (0x0), 1/3, q=2-31, 64 kb/s, 25 fps, 3 tbc
  174. Metadata:
  175. encoder : Lavc56.41.100 mpeg1video
  176. Stream mapping:
  177. Stream #0:1 -> #0:0 (pcm_alaw (native) -> mp2 (native))
  178. Stream #0:0 -> #0:1 (h264 (native) -> mpeg1video (native))
  179. Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
  180. [AVIOContext @ 0x1036c60] Statistics: 0 seeks, 0 writeouts
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×