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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-09-2017, 03:22 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

sniff RTMP stream


Simple.

Website not hiding it's stream on purpose, PRESS TV.

Courtesy of PRESS TV, firefox debugger:


<script type="text/javascript">
//var s = "http://efusion1-i.akamaihd.net/hls/live/252882/ptven/playlist.m3u8";
var s = "http://178.32.255.199:1935/live/ptven/playlist.m3u8";
//var s = "rtmp://192.99.219.222:1935/live/ptven";


I get RTMP url by guessing here ( rtmp://178.32.255.199:1935/live/ptven )
and would like to ask what is the way or utility to see RTMP url at source.

http://www.presstv.com/Default/Live

Why bother with this?

It cannot be better stream than the one at source, probably RTMP stream.

I watch a few streams on GINIKO, and when their shitty server grinds to a halt it is frustrating.



Playing:

@title PRESS
set var=rtmp://178.32.255.199:1935/live/ptven
start wmove " - %var%"
start /min ffplay.exe -i %var% -vf scale=864:480



Recording:

@title ~PRES
:START
@FOR /f %%x IN ('DT') DO @set d=%%x
set var=rtmp://178.32.255.199:1935/live/ptven
ffmpeg -i %var% -c:v h264 -c:a aac -vf scale=854:480 "c:\%d%_PRES.flv"
SLEEP 3
goto START



;wmove.au3
winwait($CmdLine[1], "", 6)
winactivate($CmdLine[1], "")
; MsgBox ( 0, 'CmdLine[1] is:', $CmdLine[1])
If WinExists($CmdLine[1]) Then
Select
Case $CmdLine[0] = 3
WinMove($CmdLine[1], "", $CmdLine[2],$CmdLine[3])
Case $CmdLine[0] = 5
WinMove($CmdLine[1], "", $CmdLine[2],$CmdLine[3],$CmdLine[4],$CmdLine[5])
EndSelect
EndIf


program DT;
{$APPTYPE CONSOLE}
uses SysUtils;
var dtime: string;
begin
dtime:= FormatDateTime('yyyy-mm-dd_hh-nn-ss', Now);
writeln(dtime);
end.


http://www.robvanderwoude.com/wait.php#SLEEP

Last edited by j_cool : 01-09-2017 at 04:07 AM.
Reply With Quote
 
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 10:39 PM.


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