I have a windows program which can download streams, I specify the output. Would like to use as output filename the epoch time + extension (for example mp4). I've tried this example but doesn't work:
PS C:\>streamlink --hls-live-restart -o (Get-Date -Date ((Get-Date).DateTime) -UFormat %s)+".mp4" URL best
How can I format the filename properly?