I actually get .flv file with ffmpeg as well, just for the sake of test I ran one .ts line to show the difference.
Instead of: -c copy c:\model.ts, I do: -c:v copy -c:a aac c:\model.flv,
and then my .flv file I made with ffmpeg is of the same size like .flv file I made with rtmpdump.
Code:
$model = $CmdLine[1]
runwait('cmd.exe /c curl.exe -v -k https://chaturbate.com/' & $model & '/ | CLIP','',@SW_HIDE,'')
$sData = ClipGet()
$sData = StringTrimLeft($sData,StringInStr($sData,"initHlsPlayer(jsplayer, 'https://")+24)
$sData = StringTrimRight($sData,(StringLen($sData)-3)-StringInStr($sData,'m3u8'))
$dtime = @YEAR & '-' & @MON & '-' & @MDAY & '_' & @HOUR & '-' & @MIN & '-' & @SEC & '-' & @MSEC
runwait('cmd.exe /c ffmpeg.exe -i "' & $sData & '" -c:v copy -c:a aac c:\' & $model & '_' & $dtime & '.flv','',@SW_SHOW)