View Single Post
  #4  
Old 01-04-2011, 06:56 PM
jcj2002 jcj2002 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 10
jcj2002 is on a distinguished road
Default

Re: How to use rtmpdump with rtmpsrv in Mac OS X


Quote:
Originally Posted by Skeeve View Post
Okay... I tried that.

First question: What is the purpose of the "RTMP" user?

Second Question: Why do I get a "Bus error" as soon as the film starts?
I also obtain a bus error with rtmpe (mac osx 10.6.5), but using other method for redirecting instead of changing firewall ipfw rules, by with terminal editing the hosts file as follows:

Terminal
$ sudo nano etc/hosts
change in window to:
#127.0.0.1 local host
127.0.0.1 <domain of your stream-server URL, e.g. sss.aaa.com, in my example rt.fms.visionip.tv>
Ctrl O + enter (save); Ctrl X (go out of editor)

Then run: $./rtmpsuck

After this editing, rtmpsuck (v. 2.3) works well when re-open the stream-video. I used a trick: in firefox one tab I left the video always running from before hosts file editing, in a second tab with same URL, I test with play and pause and rtmpsuck or rtmpsrv listening). In these conditions, rtmpsuck works well, but rtmprv give the bus error same of you.

I have tested as example with http://actualidad.rt.com/mas/envivo/...UkhfAodF0HskQ). RTMPSUCK gives all information you can need in rtmpdump

Quote:
e.g. rtmpdump -r "rtmp://rt.fms.visionip.tv/live/" -a "live/" -f "WIN 10,2,151,49" -W "http://actualidad.rt.com/swf/player.swf" -p "http://actualidad.rt.com/mas/envivo/?gclid=COfbgf7UkqYCPUkhfAodF0HskQ" -y "RT_Spanish_3" -o RT_Spanish_3.flv)
Note that after running rtmpsuck (or rtmpsrv), you must edit the hosts file to its original values (127.0.0.1 localhost without #) before running downloader rtmpdump.

Hope this help
Reply With Quote