Advertisement
Guest User

mx1

a guest
Nov 2nd, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. [root@vs1 scripts]# URL1="rtsp://95.104.46.146/tcp_live/ch0_0"
  2. [root@vs1 scripts]# /usr/bin/openRTSP -v -c -t -f 10 -b 1000000 "${URL1}" | /usr/bin/ffmpeg -r 10 -i - -an -c:v libx264 -b:v 500k -bsf h264_mp4toannexb -map 0 -f segment -segment_list /root/dmgweb/dominionge_play.m3u8 -segment_list_size 10 -segment_time 10 live/dominionge_hq_%03d.ts
  3. Opening connection to 95.104.46.146, port 554...
  4. ffmpeg version 0.10.7 Copyright (c) 2000-2013 the FFmpeg developers
  5. built on May 19 2013 18:47:10 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
  6. configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  7. libavutil 51. 35.100 / 51. 35.100
  8. libavcodec 53. 61.100 / 53. 61.100
  9. libavformat 53. 32.100 / 53. 32.100
  10. libavdevice 53. 4.100 / 53. 4.100
  11. libavfilter 2. 61.100 / 2. 61.100
  12. libswscale 2. 1.100 / 2. 1.100
  13. libswresample 0. 6.100 / 0. 6.100
  14. libpostproc 52. 0.100 / 52. 0.100
  15. ...remote connection opened
  16. Sending request: OPTIONS rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
  17. CSeq: 2
  18. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  19.  
  20.  
  21. Received 162 new bytes of response data.
  22. Received a complete OPTIONS response:
  23. RTSP/1.0 200 OK
  24. CSeq: 2
  25. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  26. Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, SET_PARAMETER
  27.  
  28.  
  29. Sending request: DESCRIBE rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
  30. CSeq: 3
  31. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  32. Accept: application/sdp
  33.  
  34.  
  35. Received 394 new bytes of response data.
  36. Received a complete DESCRIBE response:
  37. RTSP/1.0 200 OK
  38. CSeq: 3
  39. Content-Type: application/sdp
  40. Content-Length: 314
  41.  
  42. v=0
  43. o=- 0 0 IN IP4 192.168.0.133
  44. s=RTSP Session
  45. c=IN IP4 192.168.0.133
  46. m=video 0 RTP/AVP 96
  47. a=rtpmap:96 H264/90000
  48. a=control:/video/h264
  49. a=fmtp:96 profile-level-id=420028; packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAty,aM4xUg==
  50. m=audio 0 RTP/AVP 97
  51. a=rtpmap:97 PCMA/8000/1
  52. a=control:/audio/pcma
  53.  
  54. Opened URL "rtsp://95.104.46.146/tcp_live/ch0_0", returning a SDP description:
  55. v=0
  56. o=- 0 0 IN IP4 192.168.0.133
  57. s=RTSP Session
  58. c=IN IP4 192.168.0.133
  59. m=video 0 RTP/AVP 96
  60. a=rtpmap:96 H264/90000
  61. a=control:/video/h264
  62. a=fmtp:96 profile-level-id=420028; packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAty,aM4xUg==
  63. m=audio 0 RTP/AVP 97
  64. a=rtpmap:97 PCMA/8000/1
  65. a=control:/audio/pcma
  66.  
  67. Created receiver for "video/H264" subsession (client ports 50374-50375)
  68. Ignoring "audio/PCMA" subsession, because we've asked to receive a single video session only
  69. Sending request: SETUP rtsp://95.104.46.146/tcp_live/ch0_0/video/h264 RTSP/1.0
  70. CSeq: 4
  71. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  72. Transport: RTP/AVP/TCP;unicast;interleaved=0-1
  73.  
  74.  
  75. Received 95 new bytes of response data.
  76. Received a complete SETUP response:
  77. RTSP/1.0 200 OK
  78. CSeq: 4
  79. Session: 52757bfd
  80. Transport: RTP/AVP/TCP;interleaved=0-1;unicast
  81.  
  82.  
  83. Setup "video/H264" subsession (client ports 50374-50375)
  84. Outputting data from the "video/H264" subsession to 'stdout'
  85. Sending request: PLAY rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
  86. CSeq: 5
  87. User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
  88. Session: 52757bfd
  89. Range: npt=0.000-
  90.  
  91.  
  92. Received a complete PLAY response:
  93. RTSP/1.0 200 OK
  94. CSeq: 5
  95. Session: 52757bfd
  96.  
  97.  
  98. Started playing session
  99. Receiving streamed data (signal with "kill -HUP 19220" or "kill -USR1 19220" to terminate)...
  100. [h264 @ 0x1974000] max_analyze_duration 5000000 reached at 5000000
  101. [h264 @ 0x1974000] Estimating duration from bitrate, this may be inaccurate
  102. Input #0, h264, from 'pipe:':
  103. Duration: N/A, bitrate: N/A
  104. Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x720, 10 fps, 10 tbr, 1200k tbn, 20 tbc
  105. [buffer @ 0x1974640] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
  106. [libx264 @ 0x197b6e0] using cpu capabilities: none!
  107. [libx264 @ 0x197b6e0] profile High, level 3.1
  108. [libx264 @ 0x197b6e0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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 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
  109. Output #0, segment, to 'live/dominionge_hq_%03d.ts':
  110. Metadata:
  111. encoder : Lavf53.32.100
  112. Stream #0:0: Video: h264, yuv420p, 1280x720, q=-1--1, 500 kb/s, 90k tbn, 10 tbc
  113. Stream mapping:
  114. Stream #0:0 -> #0:0 (h264 -> libx264)
  115. Could not write header for output file #0 (incorrect codec parameters ?)
  116. [root@vs1 scripts]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement