Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2013
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 KB | None | 0 0
  1. [root@vs1 scripts]# /usr/bin/openRTSP -v -c -t -f 10 -b 1000000 "${URL1}" | /usr/local/bin/ffmpeg_static -r 10 -i - -an -c:v libx264 -b:v 500k -bsf h264_mp4toannexb -map 0 -f segment -segment_list dominionge_play.m3u8 -segment_list_size 10 -segment_time 10 dominionge_hq_%03d.ts
  2. Opening connection to 95.104.46.146, port 554...
  3. ffmpeg version N-57307-g23c0698 Copyright (c) 2000-2013 the FFmpeg developers
  4. built on Oct 22 2013 05:34:44 with gcc 4.6 (Debian 4.6.3-1)
  5. configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
  6. libavutil 52. 47.101 / 52. 47.101
  7. libavcodec 55. 37.102 / 55. 37.102
  8. libavformat 55. 19.103 / 55. 19.103
  9. libavdevice 55. 4.100 / 55. 4.100
  10. libavfilter 3. 89.100 / 3. 89.100
  11. libswscale 2. 5.101 / 2. 5.101
  12. libswresample 0. 17.104 / 0. 17.104
  13. libpostproc 52. 3.100 / 52. 3.100
  14. ...remote connection opened
  15. Sending request: OPTIONS rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
  16. CSeq: 2
  17. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  18.  
  19.  
  20. Received 162 new bytes of response data.
  21. Received a complete OPTIONS response:
  22. RTSP/1.0 200 OK
  23. CSeq: 2
  24. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  25. Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, SET_PARAMETER
  26.  
  27.  
  28. Sending request: DESCRIBE rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
  29. CSeq: 3
  30. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  31. Accept: application/sdp
  32.  
  33.  
  34. Received 394 new bytes of response data.
  35. Received a complete DESCRIBE response:
  36. RTSP/1.0 200 OK
  37. CSeq: 3
  38. Content-Type: application/sdp
  39. Content-Length: 314
  40.  
  41. v=0
  42. o=- 0 0 IN IP4 192.168.0.133
  43. s=RTSP Session
  44. c=IN IP4 192.168.0.133
  45. m=video 0 RTP/AVP 96
  46. a=rtpmap:96 H264/90000
  47. a=control:/video/h264
  48. a=fmtp:96 profile-level-id=420028; packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAty,aM4xUg==
  49. m=audio 0 RTP/AVP 97
  50. a=rtpmap:97 PCMA/8000/1
  51. a=control:/audio/pcma
  52.  
  53. Opened URL "rtsp://95.104.46.146/tcp_live/ch0_0", returning a SDP description:
  54. v=0
  55. o=- 0 0 IN IP4 192.168.0.133
  56. s=RTSP Session
  57. c=IN IP4 192.168.0.133
  58. m=video 0 RTP/AVP 96
  59. a=rtpmap:96 H264/90000
  60. a=control:/video/h264
  61. a=fmtp:96 profile-level-id=420028; packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAty,aM4xUg==
  62. m=audio 0 RTP/AVP 97
  63. a=rtpmap:97 PCMA/8000/1
  64. a=control:/audio/pcma
  65.  
  66. Created receiver for "video/H264" subsession (client ports 47884-47885)
  67. Ignoring "audio/PCMA" subsession, because we've asked to receive a single video session only
  68. Sending request: SETUP rtsp://95.104.46.146/tcp_live/ch0_0/video/h264 RTSP/1.0
  69. CSeq: 4
  70. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  71. Transport: RTP/AVP/TCP;unicast;interleaved=0-1
  72.  
  73.  
  74. Received 95 new bytes of response data.
  75. Received a complete SETUP response:
  76. RTSP/1.0 200 OK
  77. CSeq: 4
  78. Session: 52757f57
  79. Transport: RTP/AVP/TCP;interleaved=0-1;unicast
  80.  
  81.  
  82. Setup "video/H264" subsession (client ports 47884-47885)
  83. Outputting data from the "video/H264" subsession to 'stdout'
  84. Sending request: PLAY rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
  85. CSeq: 5
  86. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  87. Session: 52757f57
  88. Range: npt=0.000-
  89.  
  90.  
  91. Received a complete PLAY response:
  92. RTSP/1.0 200 OK
  93. CSeq: 5
  94. Session: 52757f57
  95.  
  96.  
  97. Started playing session
  98. Receiving streamed data (signal with "kill -HUP 21195" or "kill -USR1 21195" to terminate)...
  99. Input #0, h264, from 'pipe:':
  100. Duration: N/A, bitrate: N/A
  101. Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
  102. [libx264 @ 0x29fb3e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
  103. [libx264 @ 0x29fb3e0] profile High, level 3.1
  104. [libx264 @ 0x29fb3e0] 264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  105. Output #0, segment, to 'dominionge_hq_%03d.ts':
  106. Metadata:
  107. encoder : Lavf55.19.103
  108. Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 500 kb/s, 90k tbn, 10 tbc
  109. Stream mapping:
  110. Stream #0:0 -> #0:0 (h264 -> libx264)
  111. [libx264 @ 0x29fb3e0] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
  112. Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec libx264: Invalid argument
  113. [mpegts @ 0x7caf080] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
  114. av_interleaved_write_frame(): Invalid argument
  115. [root@vs1 scripts]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement