Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

i24NEWS Live

(http://stream-recorder.com/forum/showthread.php?t=23954)

j_cool 10-04-2020 06:59 AM

Re: i24NEWS Live


 
darkweblinks raised his voice on this forum 23 times and sadly we get 0 useful links.

wizard 10-05-2020 09:57 AM

Re: i24NEWS Live


 
Quote:

Originally Posted by j_cool (Post 97028)
darkweblinks raised his voice on this forum 23 times and sadly we get 0 useful links.

He is among load of other forum members I have put on ignore...

j_cool 10-05-2020 10:32 AM

Re: i24NEWS Live


 
Yeah,

read my comment in link.
Imagine if there was something genuinely illegal being posted, who would chase who ?
Spam is just another way of free speech so even if somebody keeps his eye on this forum doesn't care about it.

http://stream-recorder.com/forum/sho...31&postcount=5

darkweblinks 10-06-2020 12:43 AM

Re: i24NEWS Live


 
cac mau chieu rong da bay l??n cho anh em c??ng xem n?*o gi?? tốt địa chỉ chá?? t??c chiá??u rồng Ä‘??

http://laser.inf.ethz.ch/2015/index....r&id =1270177

j_cool 10-06-2020 01:47 AM

Re: i24NEWS Live


 
darkweblinks, here you click on this link

https://www.instagram.com/explore/ta...sexuals/?hl=en

j_cool 10-07-2020 12:46 AM

Re: i24NEWS Live


 
Now back to main topic.
I want to watch this stream in player without opening web browser.
Saving the stream will be the same as watching if anybody wants to save some of it.

It appears to be the same problem with source of this stream as it was with play.tv.
I get stream url with http sniffer and then it doesn't play with player and I have to figure out
why it doesn't play. Is it protected in a way unknown to me and no player can play it
or I have to be as quick as before with my script and get url with script in a player.
Before it worked with Troller's tip. Any related information is welcome.



Quote:

Originally Posted by troller12 (Post 96453)
Hi j_cool,

Code:

http://uk.play.tv/player/play/i24-news-uk/?format=hls&language=en
if you call this address then you get json content with entire streamlink you can use.Just need to read it right (format) (see it FF).Not sure about the command you can use with CURL now.Just check that out or maybe you can use anything else to read the content etc.

greetz



https://www.i24news.tv/ar/%D9%85%D8%...A7%D8%B4%D8%B1


Code:

https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602055800~exp=1602059400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=2fdfe3e3a70099795b3d18c5d9f0c9fd932e8ceb0349d607e00a59de2f4024c1&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5

Code:


C:\>youtube-dl.exe --verbose --list-formats --no-check-certificate "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602055800~exp=1602059400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=2fdfe3e3a70099795b3d18c5d9f0c9fd932e8ceb0349d607e00a59de2f4024c1&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--list-formats', '--no-check-certificate', 'https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602055800~exp=1602059400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=2fdfe3e3a70099795b3d18c5d9f0c9fd932e8ceb0349d607e00a59de2f4024c1&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg 4.3.1-2020-10-01-full_build-www.gyan.dev, ffprobe 4.3.1-2020-10-01-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Proxy map: {}
[generic] *~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5: Requesting header
[generic] *~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5: Downloading m3u8 information
[info] Available formats for *~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5:
format code  extension  resolution note
452          mp4        320x180    452k , avc1.77.21, mp4a.40.2
657          mp4        480x270    657k , avc1.77.30, mp4a.40.2
1015        mp4        640x360    1015k , avc1.77.31, mp4a.40.2
1323        mp4        854x480    1323k , avc1.77.32, mp4a.40.2
2083        mp4        960x540    2083k , avc1.77.41, mp4a.40.2
2347        mp4        1280x720  2347k , avc1.77.41, mp4a.40.2 (best)


AAA 10-07-2020 10:32 AM

Re: i24NEWS Live


 
livecli "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602086 400~exp=1602090000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e1cbe69e7ebd13c38a66869141ada76c2134fa76853 1640255d5f1e5c2add936&__nn__=5476555825001&hdnea=s t=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c84770240 68d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=s t=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b4 9292ac0a39914dba1ffc5" best

j_cool 10-07-2020 11:52 AM

Re: i24NEWS Live


 
Code:

C:\livecli "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5" best
[cli][info] Found matching plugin hls for URL https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5
[cli][info] Available streams: 180p (worst), 270p, 360p, 480p, 540p, 720p (best)
[cli][info] Opening stream: 720p (hls)
[cli][info] Starting player: C:\P\VLC\vlc.exe


Code:

C:\>streamlink "https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5" best
[cli][info] Found matching plugin hls for URL https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001&hdnea=st=1602090000~exp=1602093600~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=3c1bf39834b5b0c66072404aa049844800d7c45b39315d70ee3ba874f37bb993&__nn__=5476555825001&hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1&__nn__=5476555825001&hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5
[cli][info] Available streams: 180p (worst), 270p, 360p, 480p, 540p, 720p (best)
[cli][info] Opening stream: 720p (hls)
[cli][error] Try 1/1: Could not open stream <HLSStream('https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445')> (Could not open stream: Unable to open URL: https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445 (403 Client Error: Forbidden for url: https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445))
error: Could not open stream <HLSStream('https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/profile_0/chunklist_dvr.m3u8?hdnea2=exp=1602120384~acl=%2F773a2fa387914315ad11e6957cd54f6e%2Feu-central-1%2F5377161796001%2F*~hmac=2a1eb198394ab80e54d93b00eb919cc4711290805011055236d2532ad6fd8445')>, tried 1 times, exiting

livecli works and streamlink doesn't work. no comment.

Now we know we can play the stream in player just how to get stream url without browser is left unsolved for now.

Maybe some nightly version of some player could play the stream directly, none of my players could.

AAA 10-07-2020 01:10 PM

Re: i24NEWS Live


 
curl -H "Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsE pJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJc zODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10" https://edge.api.brightcove.com/play.../6168209415001

j_cool 10-07-2020 02:34 PM

Re: i24NEWS Live


 
Nearly there. You solved the mystery and now I have to automate it and put in script.

Code:

C:\>curl -k -H "Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsEpJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJczODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10" https://edge.api.brightcove.com/playback/v1/accounts/5377161796001/videos/6168209415001
{"poster":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/81b510f3-7a73-49bf-a2da-c2ce620eed3c/1280x720/match/image.jpg","thumbnail":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/2241157d-98d1-468d-919b-3e058b03b695/160x90/match/image.jpg","poster_sources":[{"src":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/81b510f3-7a73-49bf-a2da-c2ce620eed3c/1280x720/match/image.jpg"}],"thumbnail_sources":[{"src":"https://cf-images.eu-west-1.prod.boltdns.net/v1/static/5377161796001/7ca3cb2c-eae6-485b-9ca0-106095c046da/2241157d-98d1-468d-919b-3e058b03b695/160x90/match/image.jpg"}],"description":null,"tags":[],"cue_points":[],"custom_fields":{},"account_id":"5377161796001","sources":[{"asset_id":"6168211852001","src":"https://i24alive2.akamaized.net/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/playlist-all_dvr.m3u8?__nn__=5476555825001\u0026hdnea=st=1602100800~exp=1602104400~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=7481ab35c27b510dceb7657c4a7de7a4c6fd95c0a0491b00c01278b09cb76feb\u0026__nn__=5476555825001\u0026hdnea=st=1593502200~exp=1593505800~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=e10085a246c4608e9f04e7d4b925449af4c8477024068d6ca8e4e3f9de7364b1\u0026__nn__=5476555825001\u0026hdnea=st=1579100400~exp=1579104000~acl=/773a2fa387914315ad11e6957cd54f6e/eu-central-1/5377161796001/*~hmac=c186cee77d80e35d26659b79813e3945270ce3339b49292ac0a39914dba1ffc5","type":"application/vnd.apple.mpegurl"}],"name":"Arabic live free","reference_id":null,"long_description":null,"duration":0,"economics":"AD_SUPPORTED","text_tracks":[],"published_at":"2020-08-25T18:40:33.825Z","created_at":"2020-06-30T08:00:26.822Z","updated_at":"2020-08-25T18:40:33.851Z","offline_enabled":false,"link":null,"id":"6168209415001","ad_keys":null}

I try to get the header and to work arround this error:

"error_code": "INVALID_POLICY_KEY",
"message": "Request policy key is missing or invalid"

Code:

GET https://edge.api.brightcove.com/playback/v1/accounts/5377161796001/videos/6168209415001 HTTP/1.1
Host: edge.api.brightcove.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Accept: application/json;pk=BCpkADawqM1UIU4favtR1Jj4rqM0ZAkYwMEbgN9bsEpJ2150CdxJmRIG8jK-Up_9w4w37x3tP1AsoO_MZhD_XoAGkdKWxymaaw4OHuhPn_lEJczODTm3AO7S08gLFPnLnb-FcKJwXhbxCQ10
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://www.i24news.tv/ar/%D9%85%D8%A8%D8%A7%D8%B4%D8%B1
Origin: https://www.i24news.tv
DNT: 1
Connection: keep-alive

If these fields aren't volatile there isn't need to get this header every time and code you posted is enough.


All times are GMT -6. The time now is 04:57 AM.