Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: Getting rtmpsrv working on Mac OS X 10.6.7? Almost there.yes. i have the same problem cyberscott has. any ideas?
|
#12
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XI am using rtmpdump for my mac however I was looking at these two commands
sudo ipfw add 40 fwd 127.0.0.1,1935 tcp from any to any 1935 sudo ipfw add 40 fwd 127.0.0.1,1935 tcp from any to any 1935 not uid RTMP I read the man page for pfctl since ipfw is no longer supported in Yosemite. If anyone can help convert the two commands on top to pfctl syntax. Thank you |
#13
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XI have exactly the same problem as magichandz and cyberscott,
on Mac OS 10.9.5? ERROR: serverThread: accept failed Any ideas? Did anyone solve it? Thanks |
#14
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XHere are the correct port forwarding rules for Mac OS X Yosemite:
enable internal port forwarding: sudo sysctl -w net.inet.ip.forwarding=1 apply the pf rules: echo ' rdr pass log on lo0 proto tcp from en1 to any port 1935 -> 127.0.0.1 pass out on en1 route-to lo0 inet proto tcp from en1 to any port 1935 keep state ' | sudo pfctl -ef - check the pf rules: sudo pfctl -s all clear the pf rules: sudo pfctl -F all -f /etc/pf.conf Thanks to http://serverfault.com/questions/421...to-localhost22 I want to capture the stream urls from http://www.drakulastream.eu/tennis-l...ing-video.html, unfortunately the rtmpsrv crashed with Bus error: 10 At the end I used Linux rtmpsrv with the IPTables example and captured the following: rtmpdump -r "rtmpe://46.246.124.71:1935/live/" -a "live/" -f "LNX 11,2,202,457" -W "http://www.lshstream.com/jw/jwplayer.flash.swf/[[DYNAMIC]]/2/[[DYNAMIC]]/3" -p "http://www.lshstream.com/embed.php?u=bucharest1&vw=640&vh=360&domain=live.d rakulastream.eu" -y "bucharest1" -o bucharest1.flv Does anybody knows anything about the dynamic flashplayer parameters? |
#15
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XQuote:
Now 1. Some (almost all) of the rtmp streams don't run with this pf enabled. 2. rtmpsuck doesn't return any output in the terminal window. It just keeps on showing Streaming on rtmp://0.0.0.0:1935. Seems like many other also before me faced this issue, can anyone help me here and update what was the solution that fixed it for them? Thanks! Last edited by iamsumit : 12-15-2015 at 01:33 PM. |
#16
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XAnyone please? Been stuck for more than a day on this. Anyone done this previously for mac?
Edit: Ok so here are my findings. Port 1935 is closed for me. So, i guess thats why the streams doesn't load when i port forward rtmp protocols to port 1935. And as a result the rtmpsuck/rtmpsrv keep on waiting for something to read on port 1935, which of course never happens. With no port forwarding, i notice that my machine uses random ports such as 49686/43585 for rtmp protocols. Does anybody here has any workaround for me or has faced a similar scenario? Can rtmpsuck be modified to listen instead on some other port? Edit 2 - my ports are all fine. The port tester service says its closed but i can receive packets on it. Seems like i have Stateful-firewall (https://en.wikipedia.org/wiki/Stateful_firewall). But the bottom line is rtmpsuck still sits idle like a lazy old bum... any ideas? Last edited by iamsumit : 12-16-2015 at 03:30 AM. |
#17
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XThanks to miroman4o, rtmpsrv and rtmpsuck have worked successfully on 10.11 El Capitan.
PF rules: Code:
rdr pass on lo0 proto tcp from en1 to any port 1935 -> 127.0.0.1 pass out route-to lo0 inet proto tcp from en1 to any port 1935 user != 2NDUSER Start rtmpsrv (or rtmpsuck) on 2NDUSER, like: Code:
su - 2NDUSER rtmpsrv net.inet.ip.forwarding isn't needed to be set to 1. PF rules can also be written simpler by using tag: Code:
rdr pass inet tagged TAGNAME -> lo0 pass out route-to lo0 inet proto tcp from en1 to any port 1935 user != 2NDUSER tag TAGNAME |
#18
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XIf you wouldn't mind, even if in a direct message. Would you please be able to explain to me how to use rtmpdump with some good detailed steps on a Macintosh. I have rtmpdump, rtmpsrv, rtmpsuck installed on OS X El Capitan 10.11.2 machine. I have just never been able to figure out how to use it. I had found this posting months ago, and now with your new post I thought I would ask for help.
For Example, I would like to get things from Crackle.com http://www.crackle.com/powers/2494883 Any and all help you may be able to provide would be great and much appreciated! Thank you! |
#19
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS XQuote:
still nothing happens. is there another step i am missing? thanks |
#20
|
|||
|
|||
Re: How to use rtmpdump with rtmpsrv in Mac OS Xstreamers,
Did you reload /etc/pf.conf or reboot the OS? Do you see the rules in the output of pfctl if you do "sudo pfctl -s nat", "sudo pfctl -s rules", or just "sudo pfctl -s all"? Please try with the first stream "LIVE STREAMING – SIMULATED LIVE BROADCAST" on this page: http://www.netromedia.com/video/vide...ming-examples/ This should be easy. |
Tags: apple, mac, mac os, mac os x, macintosh, macos, rtmpdump, rtmpsrv |
Thread Tools | |
Display Modes | |
|
|