-
Open devtools and refresh the video page
-
Take playlist URL from devtools
Example:
https://vodstr.rtvslo.si/encrypted05/_definst_//2018/12/21/174584131.smil/chunklist_w1881490815_b1800000.m3u8?keylockhash=BoyBlrQaOuIS-M1dIJWPin1ZErxDmzOWONB75xKL2c0
-
Download that file and save it here as
list.m3u
-
Prefix all lines in the file that don't start with
#
and start withmedia_
, with the begining of the above URL (up to the last /)
Example:
- Prefix:
https://vodstr.rtvslo.si/encrypted05/_definst_//2018/12/21/174584131.smil/
- Before:
media_w2141640485_b1800000_6.ts?keylockhash=mGs19v8oXZ5bVDcCR50MFkj97MHB3XyoHQJO35g_i3M
- After:
https://vodstr.rtvslo.si/encrypted05/_definst_//2018/12/21/174584131.smil/media_w2141640485_b1800000_6.ts?keylockhash=mGs19v8oXZ5bVDcCR50MFkj97MHB3XyoHQJO35g_i3M
You can do that quickly using search-replace with RegExpr enabled (most text editors can do this):
Search: ^media_
Replace: URL_PREFIX/media_
- run this:
ffmpeg -y \
-protocol_whitelist "file,http,https,tcp,tls" \
-v warning \
-loglevel debug \
-i "list.m3u" \
-vcodec copy \
-c copy -f mpegts out.ts