Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [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
- Opening connection to 95.104.46.146, port 554...
- ffmpeg version N-57307-g23c0698 Copyright (c) 2000-2013 the FFmpeg developers
- built on Oct 22 2013 05:34:44 with gcc 4.6 (Debian 4.6.3-1)
- 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
- libavutil 52. 47.101 / 52. 47.101
- libavcodec 55. 37.102 / 55. 37.102
- libavformat 55. 19.103 / 55. 19.103
- libavdevice 55. 4.100 / 55. 4.100
- libavfilter 3. 89.100 / 3. 89.100
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 17.104 / 0. 17.104
- libpostproc 52. 3.100 / 52. 3.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 47884-47885)
- 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: 52757f57
- Transport: RTP/AVP/TCP;interleaved=0-1;unicast
- Setup "video/H264" subsession (client ports 47884-47885)
- 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: 52757f57
- Range: npt=0.000-
- Received a complete PLAY response:
- RTSP/1.0 200 OK
- CSeq: 5
- Session: 52757f57
- Started playing session
- Receiving streamed data (signal with "kill -HUP 21195" or "kill -USR1 21195" to terminate)...
- Input #0, h264, from 'pipe:':
- Duration: N/A, bitrate: N/A
- Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
- [libx264 @ 0x29fb3e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
- [libx264 @ 0x29fb3e0] profile High, level 3.1
- [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
- Output #0, segment, to 'dominionge_hq_%03d.ts':
- Metadata:
- encoder : Lavf55.19.103
- Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 500 kb/s, 90k tbn, 10 tbc
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 -> libx264)
- [libx264 @ 0x29fb3e0] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream
- Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec libx264: Invalid argument
- [mpegts @ 0x7caf080] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
- av_interleaved_write_frame(): Invalid argument
- [root@vs1 scripts]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement