Does anyone know the difference between the -p and the -roptions in the rtmpdump utility for media streaming? I am confused because I think that the RTMP server should be the server streaming the video, but then rtmpdump asks for the -p option, which is the page url…
Does anyone know the difference between the -p and the -r options in the
Share
As I understand it:
-r(or--rtmp) is for specifying the actual location of the content stream/server.-p(or--pageUrl) is for the URL of the website where the SWF player (which is the-Wor--swfUrlargument) was embedded.So, if you would ordinarily find your stream by going to
http://example.com/video, that would go under-p. The flash player embedded on or accessed from that page would go under-W. The server that the flash player streams the content from belongs to-r.See
man rtmpdumporrtmpdump --helpfor all the options.