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