Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

problem with re-streaming

(http://stream-recorder.com/forum/showthread.php?t=18397)

the_streamer 06-09-2014 12:14 PM

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

drbmn 06-09-2014 04:49 PM

Re: problem with re-streaming


 
Code:

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" --live | /ffmpeg/ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1:1935/live/news"
Please try this! :D

the_streamer 06-11-2014 06:39 AM

Re: problem with re-streaming


 
Quote:

Originally Posted by drbmn (Post 68210)
Code:

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" --live | /ffmpeg/ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1:1935/live/news"
Please try this! :D

Thank You! I get this:
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" --live | /ffmpeg/ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1:1935/live/news"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
ffmpeg version N-63833-gd4be3a8 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
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
pipe:: Invalid data found when processing input

drbmn 06-11-2014 05:35 PM

Re: problem with re-streaming


 
Quote:

Originally Posted by the_streamer (Post 68226)
Thank You! I get this:
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" --live | /ffmpeg/ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "rtmp://127.0.0.1:1935/live/news"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
ffmpeg version N-63833-gd4be3a8 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
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
pipe:: Invalid data found when processing input

You will need the updated RTMP Stream Name, URL's and all that stuff. they change every few minutes.


All times are GMT -6. The time now is 03:28 PM.