Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-08-2014, 02:04 AM
sweeterpanda sweeterpanda is offline
Junior Member
 
Join Date: Jun 2014
Posts: 16
sweeterpanda is on a distinguished road
Default

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
Reply With Quote
  #2  
Old 06-08-2014, 04:33 AM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

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"
Reply With Quote
  #3  
Old 06-08-2014, 07:13 AM
sweeterpanda sweeterpanda is offline
Junior Member
 
Join Date: Jun 2014
Posts: 16
sweeterpanda is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 06-08-2014, 07:25 AM
sweeterpanda sweeterpanda is offline
Junior Member
 
Join Date: Jun 2014
Posts: 16
sweeterpanda is on a distinguished road
Default

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
Reply With Quote
  #5  
Old 06-08-2014, 10:08 AM
sweeterpanda sweeterpanda is offline
Junior Member
 
Join Date: Jun 2014
Posts: 16
sweeterpanda is on a distinguished road
Default

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
Reply With Quote
  #6  
Old 06-08-2014, 01:16 PM
sweeterpanda sweeterpanda is offline
Junior Member
 
Join Date: Jun 2014
Posts: 16
sweeterpanda is on a distinguished road
Default

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
Reply With Quote
  #7  
Old 06-08-2014, 03:48 PM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

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.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:18 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons