View Single Post
  #1  
Old 06-09-2014, 12:14 PM
the_streamer the_streamer is offline
Junior Member
 
Join Date: Jun 2014
Posts: 2
the_streamer is on a distinguished road
Default

problem with re-streaming


Hello,
I have a Debian Wheezy Server and i installed ffmpeg, rtmpdump and red5. Now, I can download Streams without any problems. But I want to restream! Sorry for my bad English, I am from German!
I have tried this to restream:
rtmpdump -r "rtmp://cp275083.edgefcs.net:1935/ondemand?auth=daEbpdQaRb_aObKbubOcAaUd_dRdhdGdNdB-btLE_9-j40a-JAojwzEmovpCq&aifp=1605&slist=clips/mp4-840/3251000/3251478-840-733507.mp4;clips/mp4-1200/3251000/3251478-1200-548037.mp4;clips/mp4-1600/3251000/3251478-1600-407626.mp4;clips/mp4-2000/3251000/3251478-2000-806701.mp4;clips/mp4-2500/3251000/3251478-2500-689679.mp4" -a "ondemand?auth=daEbpdQaRb_aObKbubOcAaUd_dRdhdG dNdB-btLE_9-j40a-JAojwzEmovpCq&aifp=1605&slist=clips/mp4-840/3251000/3251478-840-733507.mp4;clips/mp4-1200/3251000/3251478-1200-548037.mp4;clips/mp4-1600/3251000/3251478-1600-407626.mp4;clips/mp4-2000/3251000/3251478-2000-806701.mp4;clips/mp4-2500/3251000/3251478-2500-689679.mp4" -f "WIN 13,0,0,214" -W "http://is.myvideo.de/player/GP/4.0.19/player.swf" -p "http://www.prosieben.de/tv/galileo/videos/6152-freitag-rechtsirrtuemer-reloaded-reise-ganze-folge" -y "mp4:clips/mp4-840/3251000/3251478-840-733507.mp4" -o 3251478-840-733507.flv --live | /ffmpeg/ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1:1935/live/news"

I get this:
ffmpeg version N-63833-gd4be3a8RTMPDump v2.4
Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 8 2014 05:16:08 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 42.101 / 55. 42.101
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 6.100 / 4. 6.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
Download may be incomplete (downloaded about 0.00%), try resuming
pipe:: Invalid data found when processing input
Reply With Quote