Laj,
here is HRTV recorded as one continuous file.
You can play it with a player "as it goes", but player may stumble or fall now and then.
Recorded file will be of acceptable standard.
@title hrtvVLCrtmp.bat
@if "%time:~0,1%" == " " (set d=%date:~-4%%date:~3,2%%date:~0,2%0%time:~1,1%%time:~3,2%%ti me:~6,2%) ^
else (set d=%date:~-4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%%tim e:~6,2%)
:start
@for /f %%x in ('hrtv.exe') do @set var=%%x
vlc.exe %var% --sout=file{append}/ts:hrtv_%d%.mpg
:loop
@for /f %%y in ('hrtv.exe') do @set var2=%%y
if "%var%"=="%var2" goto loop
goto start
For this to work you need these files in the same location and vlc on the path,
and to make an effort and compile hrtv.au3 with autoit to get hrtv.exe.
hrtvVLCrtmp.bat
hrtv.exe
curl.exe
Recorded file will look something like this:
hrtv_201701131915.mpg
;hrtv.au3
RunWait( 'cmd.exe /c curl -A Mozilla/5.0 -s
http://www.filmon.com/api-v2/channel/694?protocol=rtmp | CLIP','', @SW_HIDE )
$sData = ClipGet()
$first = StringInStr( $sData, '"quality":"high","url":"' ) + 23
$sData = StringTrimLeft( $sData, $first )
$last = StringLen( $sData ) - ( StringInStr( $sData, '","watch-timeout":0}]' ) - 1 )
$sData = StringTrimRight( $sData, $last ) & '/694.high.stream'
ConsoleWrite( $sData & @CRLF )
autoit:
https://www.autoitscript.com/site/autoit/downloads/
autoit-v3.zip
Aut2Exe.exe /in hrtv.au3
curl:
http://www.paehl.com/open_source/?CURL_7.51.0
curl_751_0.zip
https://wiki.videolan.org/Documentat...Save_a_Stream/