Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - [root@vs1 scripts]# URL1="rtsp://95.104.46.146/tcp_live/ch0_0"
 - [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
 - Opening connection to 95.104.46.146, port 554...
 - ffmpeg version 0.10.7 Copyright (c) 2000-2013 the FFmpeg developers
 - built on May 19 2013 18:47:10 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
 - 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
 - libavutil 51. 35.100 / 51. 35.100
 - libavcodec 53. 61.100 / 53. 61.100
 - libavformat 53. 32.100 / 53. 32.100
 - libavdevice 53. 4.100 / 53. 4.100
 - libavfilter 2. 61.100 / 2. 61.100
 - libswscale 2. 1.100 / 2. 1.100
 - libswresample 0. 6.100 / 0. 6.100
 - libpostproc 52. 0.100 / 52. 0.100
 - ...remote connection opened
 - Sending request: OPTIONS rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
 - CSeq: 2
 - User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
 - Received 162 new bytes of response data.
 - Received a complete OPTIONS response:
 - RTSP/1.0 200 OK
 - CSeq: 2
 - User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
 - Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, SET_PARAMETER
 - Sending request: DESCRIBE rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
 - CSeq: 3
 - User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
 - Accept: application/sdp
 - Received 394 new bytes of response data.
 - Received a complete DESCRIBE response:
 - RTSP/1.0 200 OK
 - CSeq: 3
 - Content-Type: application/sdp
 - Content-Length: 314
 - v=0
 - o=- 0 0 IN IP4 192.168.0.133
 - s=RTSP Session
 - c=IN IP4 192.168.0.133
 - m=video 0 RTP/AVP 96
 - a=rtpmap:96 H264/90000
 - a=control:/video/h264
 - a=fmtp:96 profile-level-id=420028; packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAty,aM4xUg==
 - m=audio 0 RTP/AVP 97
 - a=rtpmap:97 PCMA/8000/1
 - a=control:/audio/pcma
 - Opened URL "rtsp://95.104.46.146/tcp_live/ch0_0", returning a SDP description:
 - v=0
 - o=- 0 0 IN IP4 192.168.0.133
 - s=RTSP Session
 - c=IN IP4 192.168.0.133
 - m=video 0 RTP/AVP 96
 - a=rtpmap:96 H264/90000
 - a=control:/video/h264
 - a=fmtp:96 profile-level-id=420028; packetization-mode=1;sprop-parameter-sets=Z0IAKOkAoAty,aM4xUg==
 - m=audio 0 RTP/AVP 97
 - a=rtpmap:97 PCMA/8000/1
 - a=control:/audio/pcma
 - Created receiver for "video/H264" subsession (client ports 50374-50375)
 - Ignoring "audio/PCMA" subsession, because we've asked to receive a single video session only
 - Sending request: SETUP rtsp://95.104.46.146/tcp_live/ch0_0/video/h264 RTSP/1.0
 - CSeq: 4
 - User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
 - Transport: RTP/AVP/TCP;unicast;interleaved=0-1
 - Received 95 new bytes of response data.
 - Received a complete SETUP response:
 - RTSP/1.0 200 OK
 - CSeq: 4
 - Session: 52757bfd
 - Transport: RTP/AVP/TCP;interleaved=0-1;unicast
 - Setup "video/H264" subsession (client ports 50374-50375)
 - Outputting data from the "video/H264" subsession to 'stdout'
 - Sending request: PLAY rtsp://95.104.46.146/tcp_live/ch0_0 RTSP/1.0
 - CSeq: 5
 - User-Agent: /usr/bin/openRTSP (LIVE555 Streaming Media v2012.04.27)
 - Session: 52757bfd
 - Range: npt=0.000-
 - Received a complete PLAY response:
 - RTSP/1.0 200 OK
 - CSeq: 5
 - Session: 52757bfd
 - Started playing session
 - Receiving streamed data (signal with "kill -HUP 19220" or "kill -USR1 19220" to terminate)...
 - [h264 @ 0x1974000] max_analyze_duration 5000000 reached at 5000000
 - [h264 @ 0x1974000] Estimating duration from bitrate, this may be inaccurate
 - Input #0, h264, from 'pipe:':
 - Duration: N/A, bitrate: N/A
 - Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x720, 10 fps, 10 tbr, 1200k tbn, 20 tbc
 - [buffer @ 0x1974640] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
 - [libx264 @ 0x197b6e0] using cpu capabilities: none!
 - [libx264 @ 0x197b6e0] profile High, level 3.1
 - [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
 - Output #0, segment, to 'live/dominionge_hq_%03d.ts':
 - Metadata:
 - encoder : Lavf53.32.100
 - Stream #0:0: Video: h264, yuv420p, 1280x720, q=-1--1, 500 kb/s, 90k tbn, 10 tbc
 - Stream mapping:
 - Stream #0:0 -> #0:0 (h264 -> libx264)
 - Could not write header for output file #0 (incorrect codec parameters ?)
 - [root@vs1 scripts]#
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment