Answer for tcp connection refused when using transcode
Written by tfield on . Posted in
Hi Bryan,
Sure thing,
here’s the results of the manual transcode.
/usr/bin/evo-avconv -i rtmp://localhost/live/test2 -c:v libx264 -b:v 720k -c:a libfaac -b:a 32k -metadata streamName=DstStreamName -f flv tcp://localhost:6666/
avconv version v9-1482-gee16a0c, Copyright (c) 2000-2013 the Libav developers
built on Jun 17 2013 04:03:57 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
[tcp @ 0x23b3fa0] Connection to tcp://localhost:1935 failed: Connection refused
[rtmp @ 0x23b3f00] Server error: call to function _checkbw failed
[h264 @ 0x23b57c0] Missing reference picture
[h264 @ 0x23b57c0] decode_slice_header error
[h264 @ 0x23b57c0] concealing 8160 DC, 8160 AC, 8160 MV errors
[flv @ 0x23b39c0] max_analyze_duration reached
[flv @ 0x23b39c0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://localhost/live/test2':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuvj420p, 1920x1080 [PAR 1:1 DAR 16:9], 5 fps, 1k tbn, 10 tbc
Stream #0.1: Audio: [0][0][0][0] / 0x0000, 0 channels
[tcp @ 0x23b9c80] Connection to tcp://localhost:6666/ failed: Connection refused
[libx264 @ 0x23b7bc0] using SAR=1/1
[libx264 @ 0x23b7bc0] MB rate (8160000) > level limit (2073600)
[libx264 @ 0x23b7bc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x23b7bc0] profile High, level 5.2
[libx264 @ 0x23b7bc0] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=6 lookahead_threads=1 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=720 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'tcp://localhost:6666/':
Metadata:
streamName : DstStreamName
encoder : Lavf55.1.0
Stream #0.0: Video: libx264, yuvj420p, 1920x1080 [PAR 1:1 DAR 16:9], q=-1--1, 720 kb/s, 1k tbn, 1k tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Press ctrl-c to stop encoding
[h264 @ 0x3ddbec0] Missing reference picture
[h264 @ 0x3ddbec0] decode_slice_header error
[h264 @ 0x3ddbec0] concealing 8160 DC, 8160 AC, 8160 MV errors
Segmentation fault (core dumped) 0kB time=10000000000.00 bitrate= 0.0kbits/s
Cheers,
Tyler