Laj,
are you still alive and well?
Here are HRTV chunks recorded in sequence one after the other.
@title hrtvRDump.bat
:START
@if "%time:~0,1%" == " " (set d=%date:~-4%-%date:~3,2%-%date:~0,2%_0%time:~1,1%-%time:~3,2%-%time:~6,2%) ^
else (set d=%date:~-4%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%-%time:~6,2%)
@FOR /f %%x IN ('HRTV.exe') DO @set var=%%x
rtmpdump.exe -v -r %var% -o %d%_hrtv.flv
@FOR %%I in (%d%_hrtv.flv) do @if %%~zI LSS 1 del "%%I"
:LOOP
@FOR /f %%a IN ('HRTV.exe') DO @set var2=%%a
if "%var%"=="%var2" goto LOOP
goto START
For this to work you need these files in the same location or on the path:
hrtvrdump.bat
hrtv.exe
curl.exe
rtmpdump.exe
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 )
you need to compile .au3 with autoit to get .exe
Aut2Exe.exe /in hrtv.au3
https://www.autoitscript.com/site/autoit/downloads/
autoit-v3.zip
If you want to see the output from hrtv.exe on its own you need to enter on command line: hrtv|more
curl:
http://www.paehl.com/open_source/?CURL_7.51.0
curl_751_0.zip
After you run hrtvrdump.bat for some time you will find chunks looking like this:
2016-12-30_17-24-14_hrtv.flv
2016-12-30_17-26-22_hrtv.flv
2016-12-30_17-28-31_hrtv.flv
2016-12-30_17-30-37_hrtv.flv
2016-12-30_17-32-46_hrtv.flv
you can concatenate them and get continuous stream.
You can play the stream directly, player will be restarting every 2 minutes,
.bat file looping sometimes until the next chunk starts.
@title hrtvFF.bat
:START
@FOR /f %%x IN ('HRTV.exe') DO @set var=%%x
rtmpdump.exe -v -r %var% |ffplay.exe -autoexit -
:LOOP
@FOR /f %%a IN ('HRTV.exe') DO @set var2=%%a
if "%var%"=="%var2" goto LOOP
goto START
This can be improved upon if we knew how to get rtmpdump or ffmpeg
keep appending chunks instead of overwriting them, other members welcome with feedback.