Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-27-2013, 11:35 PM
Rancher Rancher is offline
Junior Member
 
Join Date: Nov 2012
Posts: 29
Rancher is on a distinguished road
Default

JW Player based RTMP


Can somebody create a RTMPDump script for the following stream: http://ntv.rs/live/

I managed to find a RTMP URL, but I don't know how to find swfUrl, pageUrl and other needed stuff. How do I know what is required in order to play the stream in the first place? Thank you in advance.
Reply With Quote
  #2  
Old 11-28-2013, 03:32 AM
dublin dublin is offline
Junior Member
 
Join Date: Jan 2013
Posts: 29
dublin is on a distinguished road
Default

Re: JW Player based RTMP


Quote:
Originally Posted by Rancher View Post
Can somebody create a RTMPDump script for the following stream: http://ntv.rs/live/
Play with vlc:
Code:
rtmpdump -r "rtmp://92.60.231.48:1935/live/" -a "live/" -W "http://ntv.rs/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -y "livestream" | vlc -
Download:
Code:
rtmpdump -r "rtmp://92.60.231.48:1935/live/" -a "live/" -W "http://ntv.rs/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -y "livestream" -o ntv.flv
Quote:
I managed to find a RTMP URL, but I don't know how to find swfUrl, pageUrl and other needed stuff.
For that particular stream you can find all the necessary info simply by viewing the webpages source code.

Quote:
How do I know what is required in order to play the stream in the first place?
Maybe you should start by reading the rtmpdump manpage

Last edited by dublin : 11-28-2013 at 04:07 AM.
Reply With Quote
  #3  
Old 11-28-2013, 05:11 PM
Rancher Rancher is offline
Junior Member
 
Join Date: Nov 2012
Posts: 29
Rancher is on a distinguished road
Default

Re: JW Player based RTMP


Thank you! By the way, is it possible to define multiple output filenames, so that files don't get overwritten? I'm using the Task Scheduler to trigger the .bat scripts, but I'm afraid I won't get a chance to rename the files every time, especially when I'm away from keyboard. Can you think of any solution to overcome this?
Reply With Quote
  #4  
Old 11-29-2013, 03:02 AM
dublin dublin is offline
Junior Member
 
Join Date: Jan 2013
Posts: 29
dublin is on a distinguished road
Default

Re: JW Player based RTMP


Quote:
Originally Posted by Rancher View Post
Thank you! By the way, is it possible to define multiple output filenames, so that files don't get overwritten? I'm using the Task Scheduler to trigger the .bat scripts, but I'm afraid I won't get a chance to rename the files every time, especially when I'm away from keyboard. Can you think of any solution to overcome this?
One way is to use %random% environment variable in the output filename. It generates random number between 0 and 32767.

Code:
rtmpdump -r "rtmp://92.60.231.48:1935/live/" -a "live/" -W "http://ntv.rs/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -y "livestream" -o %random%ntv.flv
Or you can use %time::=% It will use current time as filename.

Code:
rtmpdump -r "rtmp://92.60.231.48:1935/live/" -a "live/" -W "http://ntv.rs/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -y "livestream" -o %time::=%.flv
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons