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

rtmpsrv doesn't always work

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

p0k4 10-25-2012 04:59 AM

rtmpsrv doesn't always work


 
I'm having problems with rtmpsrv. I've been able to record successfully for example at livestream.com and twitch.tv but some other stream in the same site just keeps saying
Code:

ERROR: Handshake failed
Closing connection... done!

and won't give me the rtmpdump command.

I'm using Ubuntu as my OS and have set the iptables to redirect port 1935. I also have the latest version of rtmpdump.

The only thing I can think of is if the stream comes from a different port but it sounds weird since it happens in the same site.

svnpenn 10-25-2012 07:26 AM

Re: rtmpsrv doesn't always work


 
Quote:

Originally Posted by Forum rules v1.1
If you truly want definitive answers quickly and without
delay, please include link(s) to the web-page(s) with video(s)


stream-recorder.com/forum/announcement.php?f=4

p0k4 10-25-2012 07:58 AM

Re: rtmpsrv doesn't always work


 
Quote:

Originally Posted by svnpenn (Post 55725)

http://www.livestream.com/bideojuegos
Just some random stream I cannot record for example. I hope it's still online when you or someone else try to record it with rtmpdump.

svnpenn 10-25-2012 11:05 PM

Re: rtmpsrv doesn't always work


 
I was able to get command using

RtmpDumpHelper with RtmpSuck or
RtmpSrv with hosts trick

Code:

rtmpdump -o a.flv -a mogulus-stream-edge/bideojuegos -r rtmp://212-105.livest
ream.com -y rtmp://212-72.livestream.com/affiliateStream/bideojuegos/6c69766572
657065617465723a72746d703a2f2f3231322d37322e6c69766573747265616d2e636f6d2f6d6f6
7756c75732f626964656f6a7565676f732f626964656f6a7565676f73
RTMPDump v2.4-48-gbb36948
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: No application or playpath in URL!
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  author
INFO:  copyright
INFO:  description
INFO:  keywords
INFO:  rating
INFO:  title
INFO:  presetname            Custom
INFO:  creationdate          Thu Oct 25 21:46:02 2012
INFO:  videodevice          XSplitBroadcaster
INFO:  framerate            25.00
INFO:  width                1088.00
INFO:  height                612.00
INFO:  videocodecid          avc1
INFO:  avclevel              51.00
INFO:  avcprofile            100.00
INFO:  videodatarate        390.63
INFO:  videokeyframe_frequency0.00
INFO:  audiodevice          VHAudioCustom
INFO:  audiosamplerate      44100.00
INFO:  audiochannels        2.00
INFO:  audioinputvolume      100.00
INFO:  audiocodecid          mp4a
INFO:  audiodatarate        93.75
INFO:  bufferSize            520k
INFO:  maxBitrate            520k
INFO:  xsplitBroadcasterVersion1.3.0.10
INFO:  xsplitCoreVersion    1.0.1207.2601 Version 1.0
INFO:  xsplitGameSourceVersion1.1.0.21
INFO:  xsplitMediaLibVersion 2.0.0.102
INFO:  lsChannelName        bideojuegos
2422.198 kB / 45.64 sec


p0k4 10-26-2012 01:21 AM

Re: rtmpsrv doesn't always work


 
Quote:

Originally Posted by svnpenn (Post 55748)
I was able to get command using

RtmpDumpHelper with RtmpSuck or
RtmpSrv with hosts trick

RtmpDumpHelper is a Windows app so I can't use it.
The hosts trick seems to require me to edit the /etc/hosts file and add the hostname there. How can I find out the hostname since rtmpsrv and rtmpsuck don't give me any information? And why doesn't the iptables redirection work in this case?

svnpenn 10-26-2012 08:32 AM

Re: rtmpsrv doesn't always work


 
Quote:

Originally Posted by p0k4
How can I find out the hostname since rtmpsrv and rtmpsuck don't give me any information?

You can search the process memory (RAM) for Flash Player, it will have the hostname in plain text.

Quote:

Originally Posted by p0k4
And why doesn't the iptables redirection work in this case?

Probably an error in the RtmpSrv code, that I dont know how to fix.


All times are GMT -6. The time now is 04:52 PM.