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

Stream with Rtmpdump to another rtmp server

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

sweeterpanda 06-08-2014 01:04 AM

Stream with Rtmpdump to another rtmp server


 
Hello guys hope you're fine all of you ^^ well i'm looking to how :

re stream an active rtmp link to another server like hdcast ... iguide ....

i can't find the commands ><

to start i know it should be like that :

Code:

rtmpdump -v -r "RTMPLINK" -W "SwfPlayer" -p "Webpage" | "C:\Program Files\VideoLAN\VLC\vlc.exe"  - Here i need to add wich commands ?
thank you guys

drbmn 06-08-2014 03:33 AM

Re: Stream with Rtmpdump to another rtmp server


 
use ffmpeg!
Code:

rtmpdump -v -r "RTMPLINK" -W "SwfPlayer" -p "Webpage" | ffmpeg -i -isync -acodec copy -vcodec copy -f flv "rtmp://url/streamname"

sweeterpanda 06-08-2014 06:13 AM

Re: Stream with Rtmpdump to another rtmp server


 
Thank you sir for the replay, can you please help me how to use it coz i'm noob :v

sweeterpanda 06-08-2014 06:25 AM

Re: Stream with Rtmpdump to another rtmp server


 
i just tested again on rtmpdump it works perfectly the stream shown on vlc and work, i tried the same code on ffmpeg results :

RTMP_ReadPacket, Failed to read rtmp packet header


any solutions please

sweeterpanda 06-08-2014 09:08 AM

Re: Stream with Rtmpdump to another rtmp server


 
this is the report :
Code:

ffmpeg started on 2014-06-08 at 17:05:10
Report written to "ffmpeg-20140608-170510.log"
Command line:
ffmpeg -report -re -i "rtmp://XXXX swfurl=http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf pageurl=XXXXX" "rtmp://stream.iguide.to/iguide?pass=XXX/XXXX"
ffmpeg version N-63833-gd4be3a8 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  7 2014 22:01:59 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  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
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input file with argument 'rtmp://XXXX swfurl=http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf pageurl=XXXX'.
Reading option 'rtmp://stream.iguide.to/iguide?pass=XXX/XXXX' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file rtmp://XXXXX swfurl=http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf pageurl=http://XXX.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: rtmp://XXXXX swfurl=http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf pageurl=http://XXX.
Parsing...
Parsed protocol: 0
Parsed host    : XXXX
Parsed app    : live
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer  : 03
HandShake: Server Uptime : 4135402
HandShake: FMS Version  : 0.0.0.0
HandShake: Handshaking finished....
RTMP_Connect1, handshaked
RTMP_SendPacket: fd=496, size=266
Invoking connect
RTMP_ReadPacket: fd=496
HandleServerBW: server BW = 5000000
RTMP_ReadPacket: fd=496
HandleClientBW: client BW = 5000000 2
RTMP_ReadPacket: fd=496
HandleChangeChunkSize, received: chunk size change to 4096
RTMP_ReadPacket: fd=496
RTMP_ClientPacket, received: invoke 190 bytes
(object begin)
Property: <Name:          no-name., STRING:        _result>
Property: <Name:          no-name., NUMBER:        1.00>
Property: <Name:          no-name., OBJECT>
(object begin)
Property: <Name:            fmsVer, STRING:        FMS/3,0,1,123>
Property: <Name:      capabilities, NUMBER:        31.00>
(object end)
Property: <Name:          no-name., OBJECT>
(object begin)
Property: <Name:              level, STRING:        status>
Property: <Name:              code, STRING:        NetConnection.Connect.Success>
Property: <Name:        description, STRING:        Connection succeeded.>
Property: <Name:    objectEncoding, NUMBER:        0.00>
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
RTMP_SendPacket: fd=496, size=4
sending ctrl. type: 0x0003
RTMP_SendPacket: fd=496, size=10
RTMP_SendPacket: fd=496, size=25
Invoking createStream
RTMP_ReadPacket: fd=496
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name:          no-name., STRING:        _result>
Property: <Name:          no-name., NUMBER:        2.00>
Property: NULL
Property: <Name:          no-name., NUMBER:        1.00>
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <createStream>
SendPlay, seekTime=0, stopTime=0, sending play: ch303?code=XXXX
RTMP_SendPacket: fd=496, size=72
Invoking play
sending ctrl. type: 0x0003
RTMP_SendPacket: fd=496, size=10
RTMP_ReadPacket: fd=496
RTMP_SendPacket: fd=496, size=34
Invoking deleteStream
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://XXXXX swfurl=http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf pageurl=http://XXX: Unknown error occurred


sweeterpanda 06-08-2014 12:16 PM

Re: Stream with Rtmpdump to another rtmp server


 
Tired to try all things :( any solutions guys ?

Read from RTMP (with Rtmpdump ) ==> Streaming to another RTMP server life Aliez.tv

waiting for you

THANK YOU

drbmn 06-08-2014 02:48 PM

Re: Stream with Rtmpdump to another rtmp server


 
If you post a stream you wish to use, i will tell you an exact command to use. :)


All times are GMT -6. The time now is 09:25 AM.