Answer for tcp connection refused when using transcode
Written by tfield on . Posted in
Hi Don,
Here is the output:
$ /usr/bin/evo-avconv -i rtsp://192.168.1.195:554/ufirststream -c:v libx264 -b:v 720k -b:a 32k -metadata streamName=evoteststream -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)
[rtsp @ 0x265e980] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://192.168.1.195:554/ufirststream':
Metadata:
title : 192.168.1.195
comment : ufirststream
Duration: N/A, start: 0.127000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuvj420p, 1920x1080 [PAR 1:1 DAR 16:9], 5 fps, 90k tbn, 10 tbc
[tcp @ 0x2752780] Connection to tcp://localhost:6666 failed: Connection refused
[libx264 @ 0x27637a0] using SAR=1/1
[libx264 @ 0x27637a0] MB rate (734400000) > level limit (2073600)
[libx264 @ 0x27637a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x27637a0] profile High, level 5.2
[libx264 @ 0x27637a0] 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:
title : 192.168.1.195
comment : ufirststream
streamName : evoteststream
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, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Press ctrl-c to stop encoding
Segmentation fault (core dumped) 0kB time=10000000000.00 bitrate= 0.0kbits/s