View Single Post
  #1  
Old 07-24-2011, 02:01 PM
dude007 dude007 is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
dude007 is on a distinguished road
Default

Restreaming (Relaying) a FMS stream to another FMS using rtmpdump and/or ffmpeg


Hi,

I am trying restream a stream of my own to a lower quality.

the Code i'm using is

Quote:
C:\rtmpdump-2.3>rtmpdump --live -r "rtmp://1.2.3.4/live/feed1" -p "http://website.net" -W "http://xyz.net/mediaplayer.swf" -q | ffmpeg -i - -re -isync -acodec libfaac -ab 128000 -ar 32000 -vcodec libx264 -b 600k -f flv "rtmp://5.6.7.8/live/feed1relay"
The error message is
Code:
ffmpeg version N-31100-g9251942, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 30 2011 21:17:59 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
pipe:: Invalid data found when processing input
Can i get some help with it?

If i use the above code to save it to a file, it works.

But i cannot seem to restream it.

Can I please get some assistance with this.

Thank you in advance!
Reply With Quote