Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording > (French | Français) Récuperer des streams audio et video
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-15-2017, 01:33 PM
ImPesto ImPesto is offline
Junior Member
 
Join Date: Nov 2017
Posts: 12
ImPesto is on a distinguished road
Default

Un coup de main pour AdobeHDS.php


Bonjour,

Quelqu'un pour me guider sur la procédure a suivre pour lire cette vidéo https://www.histoire.fr/actualités/h...iale-moyen-âge avec
Code:
php AdobeHDS.php --manifest "manifest_url" --play | vlc --file-caching=10000 -
Le manifeste est
Code:
https://web-wat-ssl.tf1.fr/2/USP-0x0...m/13490468.f4m?vk=MTM0OTA0NjguZjRt&st=9eEg3eVykyHaVGJKPVcN5w&e=1510900650&t=1510771050&bu=TF1&login=histoire-videos&i=10.247.38.20&u=352816f8c11a98639ce99ef2c7a7dff3&sum=5fffd33f143de9bdf64c2cee372443e8&min_bitrate=400000&max_bitrate=700000&seek=wat&hdcore=2.11.3&g=NDVYNUKKHEFD
Ce qui donne :
Code:
php AdobeHDS.php --manifest "https://web-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.f4m" --play | vlc --file-caching=10000 -
VLC se lance mais c'est tout.

EDIT : le lien de la vidéo https://www.wat.tv/embedframe/658770chuPP3r13490468?

Last edited by ImPesto : 11-16-2017 at 07:00 AM.
Reply With Quote
  #2  
Old 11-15-2017, 05:12 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Hi,

you need to use "your" User Agent paramter and some paramters after f4m link (read webconsole).Example below...
Code:
streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0" "hds://https://web-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.f4m?vk=MTM0OTA0NjguZjRt&st=*&e=*" best
For the * enter your datas or use the entire link you got.If you did something wrong then you get status "403 Forbidden" as response.If you do it right then the stream starts to play in VLC.

Au revoir & greetz
Reply With Quote
  #3  
Old 11-15-2017, 05:18 PM
TubeDigger TubeDigger is offline
Senior Member
 
Join Date: Jun 2011
Posts: 134
TubeDigger is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Open Network Stream (Ctrl+N) in VLC:
Code:
https://das-q1-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.m3u8?vk=MTM0OTA0NjgubXBk&st=l6-ezah6MWtoV7DQl2z59Q&e=1510797716&t=1510786916&min_bitrate=100000&max_bitrate=1600001
Reply With Quote
  #4  
Old 11-16-2017, 03:21 AM
ImPesto ImPesto is offline
Junior Member
 
Join Date: Nov 2017
Posts: 12
ImPesto is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Thanks bros for answering me on local forum ...

Quote:
Originally Posted by troller12 View Post
For the * enter your datas or use the entire link you got.
I tried to follow you step by step and now i'm coping a 403 error as you mentionned it in your post. I can't understand properly what you're meaning with your datas or the entire link

I suppose that if you 've been using * here
Code:
*&e=*
, it means that my first post was not containing neither my datas nor my entire link. So where/how should I extract them ?


So here's the poor result of my attempts :


@TubeDigger
Your solution is really fine; would you mine decrypting me the way you build this line code ? (a link would be appreciated ...)

We, french people, are unfortunately not gifted for any foreign languages ... forgive my poor english

EDIT : @troller12
My mistake : I forgot to give this link https://www.tf1.fr/embedframe/658770chuPP3r13490468? in my first post. Maybe this is the mysterious entire link you were refering to. Nevertheless, I can't get rid of it.

Last edited by ImPesto : 11-16-2017 at 07:03 AM.
Reply With Quote
  #5  
Old 11-16-2017, 04:43 AM
TubeDigger TubeDigger is offline
Senior Member
 
Join Date: Jun 2011
Posts: 134
TubeDigger is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Quote:
Originally Posted by ImPesto View Post
@TubeDigger
Your solution is really fine; would you mine decrypting me the way you build this line code ? (a link would be appreciated ...)
Perhaps someone here may provide more detailed instructions, but the idea is to change User-Agent string in Google Chrome (or Chromium) to Android, then open developer tools (F12), start video to play, search for pattern '.mpd' and in found URL replace '.mpd' with '.m3u8'.
Reply With Quote
  #6  
Old 11-16-2017, 07:01 AM
ImPesto ImPesto is offline
Junior Member
 
Join Date: Nov 2017
Posts: 12
ImPesto is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Thanks a lot TubeDigger, explanation is perfect
Reply With Quote
  #7  
Old 11-17-2017, 06:04 PM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Code:
https://ios-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.m3u8
Reply With Quote
  #8  
Old 11-19-2017, 02:03 PM
ami_go ami_go is offline
Junior Member
 
Join Date: May 2014
Posts: 19
ami_go is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Bonjour ,

2 cas de figures :

Code:
set "ua=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"

livestreamer --http-header "User-Agent=%ua%" "hlsvariant://https://ios-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.m3u8" 360p
---
[cli][info] Available streams: 225p, 272p, 360p (best), 50k (worst)
[cli][info] Opening stream: 360p (hls)

ou

streamlink --http-header "User-Agent=%ua%" "hls://https://ios-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.m3u8" 360p
---
[cli][info] Available streams: 50k (worst), 225p_alt, 225p, 272p, 360p (best)
[cli][info] Opening stream: 360p (hls)
Cordialement .
Reply With Quote
  #9  
Old 11-20-2017, 07:27 AM
tranglinhdn1 tranglinhdn1 is offline
Junior Member
 
Join Date: Nov 2017
Posts: 7
tranglinhdn1 is on a distinguished road
Default

Quote:
Originally Posted by ImPesto View Post
Bonjour, Quelqu'un pour me guider sur la proc�dure a suivre pour lire cette vid�o https://www.histoire.fr/actualit&#65...yen-�ge avec
Code:
php AdobeHDS.php --manifest "manifest_url" --play | vlc --file-caching=10000 -
Le manifeste est
Code:
https://web-wat-ssl.tf1.fr/2/USP-0x0...m/13490468.f4m?vk=MTM0OTA0NjguZjRt&st=9eEg3eVykyHaVGJKPVcN5w&e=1510900650&t=1510771050&bu=TF1&login=histoire-videos&i=10.247.38.20&u=352816f8c11a98639ce99ef2c7a7dff3&sum=5fffd33f143de9bdf64c2cee372443e8&min_bitrate=400000&max_bitrate=700000&seek=wat&hdcore=2.11.3&g=NDVYNUKKHEFD
Ce qui donne :
Code:
php AdobeHDS.php --manifest "https://web-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.f4m" --play | vlc --file-caching=10000 -
VLC se lance mais c'est tout. EDIT : le lien de la vid�o https://www.wat.tv/embedframe/658770chuPP3r13490468?
Bá??n c?? bị k?*ch th?*ch kh?´ngâ?¤?¸?â?¤?¸???
Poodle l?´ng trá??ng, má?·t xinh ???©???©
L?´ng xoÄ?n d?*y.
M?µm tr??n ngá??n.
Khoá?» má??nh, nÄ?ng Ä‘á»™ng, nịnh ná»?t, nh?°ng dá»… bá??o
???¶ Ä??? tá?©y giun v?* ti??m vacxin Ä‘á?§y đủ, Ä?n c??m v?* há??t Ä‘á»?u Ä‘?°á»?câ?¨


Sức khá»?e cá»±c tốt sá?µn s?*ng vá»? nh?* má»›i vá»›i chủ y??u th?°??ng

H?¬nh c??c b?© tá??i petstore th?? c?°ng KPETMART









Xem th??m h?¬nh c??c b?© tá??i link facebook của shop á??

https://www.facebook.com/KPetMart.net/posts/1877326659246159

Má»?i chi tiá??t xin vui l??ng li??n hệ:

#KPETMART- thá?? giá»›i th?? c?°ng
Trá??i ch?? cá??nh uy t?*n- chá??t l?°á»?ng tá??i Ä‘?* ná?µng
Ä?ịa chỉ: 19 nguyá»…n ph?°á»›c th??i, thanh kh??, Ä?N
Hotline: 0989.288.470
- Website: www.petdn.com


like page gi??p m?¬nh nh?© cá?? nh?*
https://www.facebook.com/KPetMart.net/
Reply With Quote
  #10  
Old 11-26-2017, 11:13 AM
ImPesto ImPesto is offline
Junior Member
 
Join Date: Nov 2017
Posts: 12
ImPesto is on a distinguished road
Default

Re: Un coup de main pour AdobeHDS.php


Bonsoir ami_go,

Merci de ta réponse; tes 2 lignes de commande fonctionnent correctement.
Code:
livestreamer --http-header "User-Agent=%ua%" "hlsvariant://https://ios-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.m3u8" 360p
et
Code:
streamlink --http-header "User-Agent=
%" "hls://https://ios-wat-ssl.tf1.fr/2/USP-0x0/04/68/13490468/ssm/13490468.ism/13490468.m3u8" 360p
J'en ai fait 2 batchs simplissimes :

Code:
@echo off
echo =======================
echo Livestreamer Entrer URL 
echo =======================
echo.
set /p "URL=URL (m3u8): "

set "ua=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"

livestreamer --http-header "User-Agent=ua%" "hlsvariant://%URL%" best
pause
et
Code:
@echo off
echo =======================
echo Streamlink Entrer URL 
echo =======================
echo.
set /p "URL=URL (m3u8): "

set "ua=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"

streamlink --http-header "User-Agent=ua%" "hls://%URL%" best
pause
Le 1er marche parfaitement; le second, quasi "copie conforme", ne parvient pas a traiter correctement la ligne de commande streamlink ...

Une idée ?!?

PS : Grrr, pour une raison inconnue, le caractere % crée un désordre dans ma ligne de code batch; il faut ajouter % devant la chaîne de caractere ua%. J'espere etre suffisamment clair

Last edited by ImPesto : 11-27-2017 at 06:08 AM.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:32 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons