wworkk
February 14, 2013, 2:38pm
1
Hi,
I'm writing a channel for a RTMP stream and I can record the stream using the rtmpdump as following:
rtmpdump
-a "live/"
-y "brlive_0031"
-W "http://www.cdnbr.biz/swf/player.swf "
-p "http://www.cdnbr.biz/mastertv/Multishow.html "
-o "test.flv"
I have gone thru many samples on services.bundle but still could not make it work.
This is what I have now:
SWF_URL = 'http://www.cdnbr.biz/swf/player.swf'
app = 'live/'
playpathClip = 'brlive_0031'
return IndirectResponse(VideoClipObject, key=RTMPVideoURL(url=player, clip=playpathClip, app=app, swf_url=SWF_URL))
The problem is that rtmpdump will not work without -p argument but I can't figure it out how to pass it.
Any help is appreciated
Thanks
Did you try what I suggested on the other thread?
Putting the pageurl with one of the other parameters may work because these parameters just get passed as one long string anyway.
So if you had a variable like this:
<br />
my_pageURL_string = ' pageURL=http://www.cdnbr.biz/mastertv/Multishow.html'<br />
Then feed this in to the current code like so:
<br />
return IndirectResponse(VideoClipObject, key=RTMPVideoURL(url=player, clip=playpathClip+my_pageURL_string, app=app, swf_url=SWF_URL))<br />
Also make sure if the feed is live to put in the live=True parameter.
RTMP streams are passed to Plex desktop clients in this address format:
<br />
DVDPlayer: Opening: rtmp://live-abc.abcd.com/live playpath=mp4:xyz.f4v swfUrl=http://abc.abcd.com/video/flash/Player.swf?v=2 swfVfy=1 live=1<br />
wworkk
February 14, 2013, 8:06pm
3
Did you try what I suggested on the other thread?
Putting the pageurl with one of the other parameters may work because these parameters just get passed as one long string anyway.
So if you had a variable like this:
<br />
my_pageURL_string = ' pageURL=http://www.cdnbr.biz/mastertv/Multishow.html'<br />
Then feed this in to the current code like so:
<br />
return IndirectResponse(VideoClipObject, key=RTMPVideoURL(url=player, clip=playpathClip+my_pageURL_string, app=app, swf_url=SWF_URL))<br />
Also make sure if the feed is live to put in the live=True parameter.
RTMP streams are passed to Plex desktop clients in this address format:
<br />
DVDPlayer: Opening: rtmp://live-abc.abcd.com/live playpath=mp4:xyz.f4v swfUrl=http://abc.abcd.com/video/flash/Player.swf?v=2 swfVfy=1 live=1<br />
Works like magic.
Sorry for creating another thread but I thought it would be better for others to find if they have same questions.
Answering you question on the other thread: [thread](http://forums.plexapp.com/index.php/topic/49738-rtmpvideourl-argument-list/page__gopid__354705#entry354705)
I'm testing with Plex Client but my goal is to work on Roku.
I tested with and without the live parameter and both worked. So I wondered if I set live=false it may transcode well.
I'll try and update here.
What do you think? Any chance of working with transcode?
Thanks for the help.
Marc
Works like magic.
Sorry for creating another thread but I thought it would be better for others to find if they have same questions.
Answering you question on the other thread: [thread](http://forums.plexapp.com/index.php/topic/49738-rtmpvideourl-argument-list/page__gopid__354705#entry354705)
I'm testing with Plex Client but my goal is to work on Roku.
I tested with and without the live parameter and both worked. So I wondered if I set live=false it may transcode well.
I'll try and update here.
What do you think? Any chance of working with transcode?
Thanks for the help.
Marc
Glad you got it working. I don't know about getting it working on any thing besides the desktop clients, I've just finished a very similar plugin using rtmp streams and live streams are a no-go with the transcoder. Maybe the fact that you can get the stream to play without the live parameter will be useful, but you will have to test on a device that needs a transcoded stream.
If you have any mobile device to test with you will know immediately if it will work on the Roku or not.
Good luck!
system
Closed
December 20, 2019, 10:54pm
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.