[FFmpeg-user] Connection refused and how to get frame rate of rtsp live straem

Sunil M.S sunil at artificerstechnologies.com
Thu Mar 10 14:29:22 CET 2016


1)  the error code  is  "code": -111,      "string": "Connection refused"

> GIT Version : git --version git version 1.7.1

> i have followed steps of installation  following link
http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat

> Linux server with cent os 6.5

command line:
ffprobe  -loglevel  trace -print_format json  -show_streams -show_error
rtsp://lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp

Output:
ffprobe version N-78974-g8ca2c87 Copyright (c) 2007-2016 the FFmpeg
developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
  configuration: --prefix=/root/ffmpeg_build
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin
--extra-libs=-ldl --enable-version3 --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libvpx --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--enable-libxvid --enable-ffplay --enable-gpl --enable-postproc
--enable-nonfree --enable-avfilter --enable-pthreads --enable-debug
--enable-stripping
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 28.100 / 57. 28.100
  libavformat    57. 28.100 / 57. 28.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.102 /  6. 39.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
{
Probing rtsp score:100 size:0
[tcp @ 0x433aa60] No default whitelist set
[tcp @ 0x433aa60] Connection to tcp://
lwsnb160-cam.cs.purdue.edu:554?timeout=0
<http://lwsnb160-cam.cs.purdue.edu:554/?timeout=0> failed: Connection
refused
rtsp://lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp: Connection refused
    "error": {
        "code": -111,
        "string": "Connection refused"
    }
}


2)  actually i am in need for Frame rate of live stream camera,  from
the rtsp://lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp links, do you
suggest any other command line method to get the Frame rate of the live
stream

Thanks
sunil


More information about the ffmpeg-user mailing list