[FFmpeg-user] RTMP Issue in running on CentOS 6

Wunder, Greg P CTR (US) greg.p.wunder.ctr at mail.mil
Thu Feb 28 17:04:48 CET 2013


I was able to resolve this issue.
The script I was using did not need to change, but I needed to host the RTMP.
I used Adobe Media Server to accomplish this successfully.
You can close this one.

-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Wunder, Greg P CTR (US)
Sent: Tuesday, February 26, 2013 1:20 PM
To: ffmpeg-user at ffmpeg.org
Subject: [FFmpeg-user] RTMP Issue in running on CentOS 6

I'm attempting to push a MJPEG live feed from a camera to RTMP, but running into issues.
Any ideas on what I am doing wrong?

ffmpeg -v debug -i "http://myuser:mypass@myremoteip/mjpg/video.mjpg" -rtbufsize 10000 -vcodec libx264 -preset medium -b:v 1000k -minrate 1000k -maxrate 1000k -bufsize 1835k -f flv "rtmp://myip/live"

ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
  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
[mjpeg @ 0x797c00] Format mjpeg probed with size=2048 and score=50
[mjpeg @ 0x79fe60] err{or,}_recognition separate: 1; 1
[mjpeg @ 0x79fe60] err{or,}_recognition combined: 1; 10001
[mjpeg @ 0x79fe60] Unsupported bit depth: 0
[mjpeg @ 0x79fe60] marker=d8 avail_size_in_buf=17674
[mjpeg @ 0x79fe60] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x79fe60] marker=fe avail_size_in_buf=17672
[mjpeg @ 0x79fe60] marker parser used 15 bytes (120 bits)
[mjpeg @ 0x79fe60] marker=fe avail_size_in_buf=17655
[mjpeg @ 0x79fe60] marker parser used 15 bytes (120 bits)
[mjpeg @ 0x79fe60] marker=db avail_size_in_buf=17638
[mjpeg @ 0x79fe60] index=0
[mjpeg @ 0x79fe60] qscale[0]: 4
[mjpeg @ 0x79fe60] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x79fe60] marker=db avail_size_in_buf=17569
[mjpeg @ 0x79fe60] index=1
[mjpeg @ 0x79fe60] qscale[1]: 8
[mjpeg @ 0x79fe60] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x79fe60] marker=c0 avail_size_in_buf=17500
[mjpeg @ 0x79fe60] sof0: picture: 704x480
[mjpeg @ 0x79fe60] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x79fe60] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x79fe60] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x79fe60] pix fmt id 21111100
[mjpeg @ 0x79fe60] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x79fe60] marker=c4 avail_size_in_buf=17481
[mjpeg @ 0x79fe60] class=0 index=0 nb_codes=12
[mjpeg @ 0x79fe60] marker parser used 31 bytes (248 bits)
[mjpeg @ 0x79fe60] marker=c4 avail_size_in_buf=17448
[mjpeg @ 0x79fe60] class=1 index=0 nb_codes=251
[mjpeg @ 0x79fe60] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x79fe60] marker=c4 avail_size_in_buf=17265
[mjpeg @ 0x79fe60] class=0 index=1 nb_codes=12
[mjpeg @ 0x79fe60] marker parser used 31 bytes (248 bits)
[mjpeg @ 0x79fe60] marker=c4 avail_size_in_buf=17232
[mjpeg @ 0x79fe60] class=1 index=1 nb_codes=251
[mjpeg @ 0x79fe60] marker parser used 181 bytes (1448 bits)
[mjpeg @ 0x79fe60] escaping removed 122 bytes
[mjpeg @ 0x79fe60] marker=da avail_size_in_buf=17049
[mjpeg @ 0x79fe60] component: 0
[mjpeg @ 0x79fe60] component: 1
[mjpeg @ 0x79fe60] component: 2
[mjpeg @ 0x79fe60] marker parser used 16926 bytes (135408 bits)
[mjpeg @ 0x79fe60] marker=d9 avail_size_in_buf=67
[mjpeg @ 0x79fe60] mjpeg decode frame unused 67 bytes
[mjpeg @ 0x797c00] max_analyze_duration 5000000 reached at 5000000
[mjpeg @ 0x797c00] Estimating duration from bitrate, this may be inaccurate
Input #0, mjpeg, from 'http://myname:mypass@myremoteip/mjpg/video.mjpg':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 127, 1/1200000: Video: mjpeg, yuvj422p, 704x480, 1/25, 25 fps, 25 tbr, 1200k tbn, 25 tbc
Parsing...
Parsed protocol: 0
Parsed host    : myip
Parsed app     : live
RTMP_Connect0, failed to connect socket. 111 (Connection refused)
rtmp://myip/live: Operation not permitted
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list