VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. The m3u8 file location is

    Code:
    https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720.m3u8?Policy=eyJTd....._&Signature=S7pry.....__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ
    The 720.key is in

    Code:
    https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720.key?Policy=eyJTd....._&Signature=S7pry.....__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ
    if I'm using ffmpeg -i "https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720.m3u8?Policy=eyJTd....._&Signature=S7pry.....__ &Key-Pair-Id=APKA..... -c copy 01.ts to download the playlist. It will get a HTTP error 403 Forbidden for its key and ts file
    [https @ 000000000364d8c0] HTTP error 403 Forbidden
    Unable to open key file https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720.key
    [hls,applehttp @ 00000000005ec180] Opening 'crypto+https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720_00000.ts' for rea
    ding
    [https @ 000000000364cc80] HTTP error 403 Forbidden
    [crypto @ 0000000003695dc0] Unable to open resource: https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720_00000.ts
    [hls,applehttp @ 00000000005ec180] Failed to open segment 0 of playlist 0
    [hls,applehttp @ 00000000005ec180] Opening 'crypto+https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720_00001.ts' for rea
    ding
    And then I've figured it out the resouces can only be accessed by some specified query string. In this case, it would be ?Policy=eyJTd....._&Signature=S7pry.....__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ

    My question is how to put a one-time query string to each ts and key files, so that ffmpeg are able to download it.

    The 720.m3u8 file content:

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:10
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="720.key",IV=0x2f1fb3a9fd334f2babb6cc77f77 53129
    #EXTINF:10.000000,
    720_00000.ts
    #EXTINF:10.000000,
    720_00001.ts
    #EXTINF:10.000000,
    720_00002.ts
    #EXTINF:10.000000,
    720_00003.ts
    #EXTINF:8.733333,
    720_00004.ts
    #EXT-X-ENDLIST
    Quote Quote  
  2. Read the sproutvideo threads, here and here.

    Or, don't mask the url to your video as you have done in your post, if you want specific help with that video.
    Quote Quote  
  3. Originally Posted by ponens View Post
    Read the sproutvideo threads, here and here.

    Or, don't mask the url to your video as you have done in your post, if you want specific help with that video.
    streamlink is not working

    I've captured the iframe to jsfiddle: https://jsfiddle.net/uzoh0stg/, you can try it out...

    Also, I cannot visit the site by TubeDigger, I don't know why...
    Quote Quote  
  4. Play the embed url from the iframe in chrome browser with ios user agent setting.

    Watch network traffic for "mp?" url.

    Then use streamlink with user agent header.

    Code:
    streamlink.exe --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36" "hlsvariant://https://videos.sproutvideo.com/mp?url=https%3A%2F%2Fhls2.videos.sproutvideo.com%2F4c6ae9f9a46c5272b1cc754718064aa7%2Fb24db851c76caf337fd636f339bd6301%2Fvideo%2Findex.m3u8&expires=1529196515&signature=y%2BVn0W%2B%2BSVh23vY3iXX0J6WOc9A%3D" best -o output.ts
    Quote Quote  
  5. Originally Posted by ponens View Post
    Play the embed url from the iframe in chrome browser with ios user agent setting.

    Watch network traffic for "mp?" url.

    Then use streamlink with user agent header.

    Code:
    streamlink.exe --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36" "hlsvariant://https://videos.sproutvideo.com/mp?url=https%3A%2F%2Fhls2.videos.sproutvideo.com%2F4c6ae9f9a46c5272b1cc754718064aa7%2Fb24db851c76caf337fd636f339bd6301%2Fvideo%2Findex.m3u8&expires=1529196515&signature=y%2BVn0W%2B%2BSVh23vY3iXX0J6WOc9A%3D" best -o output.ts
    It works, that's so clever thank you . I wondering why do we need to change the User-Agent to IOS, since I can still get the mp? without changing it.
    Last edited by j3321202; 17th Jun 2018 at 17:04.
    Quote Quote  
  6. many thanks for this info and sharing your experience.

    could you please help me getting "mp?" URL from the following embedded link, as I tried many times but couldn't get it:

    https://videos.sproutvideo.com/embed/189adeb61f1ce7c490/38ee36fedc55623d
    Quote Quote  
  7. could you please help me getting "mp?" URL from the following embedded link, as I tried many times but couldn't get it:
    Two questions:
    1) Why when I click on above link using Chrome or Firefox, (see below screenshots), I get unauthorized error, but when I open new browser and paste in link, I can watch video?
    2) If poster wanted to post above link so that it was clickable to watch the video (instead of getting error), how would he do it?

    I used Tubedigger and downloaded video. Sorry I didn't answer your mp question.
    Link to video:
    https://files.videohelp.com/u/61125/ck.mp4
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	66
Size:	73.6 KB
ID:	45920  

    Click image for larger version

Name:	Clipboard02.jpg
Views:	52
Size:	86.7 KB
ID:	45921  

    Last edited by jimdagys; 25th Jun 2018 at 08:01.
    Quote Quote  
  8. Originally Posted by jimdagys View Post
    1) Why when I click on above link using Chrome or Firefox, (see below screenshots), I get unauthorized error, but when I open new browser and paste in link, I can watch video?
    The HTTP referer field. When you click on the link here the referer is videohelp.com... If you paste the link into a new browser there is no referer.
    Quote Quote  
  9. Thank you for answering question #1.
    I have two more questions:
    3) Is this limitation (not being able to click on the link) imposed by the sprouts video website?
    4) Might there be a converse case where ONLY the link can be clickable from a certain website (and copy/paste into new browser would not work, and click link from another website would also not work)? If so, how would a person post such a video link for others to watch video?

    Waiting for answer to question #2. I think that is an important question, since the average computer user would not know to copy/paste url into new browser. When they click on the link and get error, they would just give up. It would be useful to be able to post a link that is clickable in all cases.
    Quote Quote  
  10. Originally Posted by jimdagys View Post
    2) If poster wanted to post above link so that it was clickable to watch the video (instead of getting error), how would he do it?
    I don't think you can do it here. But if you have control of a web site you can do it.

    https://security.stackexchange.com/questions/27906/playing-with-referrer-header#27916

    Originally Posted by jimdagys View Post
    3) Is this limitation (not being able to click on the link) imposed by the sprouts video website?
    Yes.

    Originally Posted by jimdagys View Post
    4) Might there be a converse case where ONLY the link can be clickable from a certain website (and copy/paste into new browser would not work, and click link from another website would also not work)?
    Yes. We already covered this:

    https://forum.videohelp.com/threads/389365-Getting-video-link-from-URL-to-feed-livestr...er#post2522541

    Originally Posted by jimdagys View Post
    If so, how would a person post such a video link for others to watch video?
    Again, you would have to have control of the web site. I don't think videohelp has any mechanism that would let you specify the referer field when you post a link.
    Quote Quote  
  11. Originally Posted by ponens View Post
    Play the embed url from the iframe in chrome browser with ios user agent setting.

    Watch network traffic for "mp?" url.

    Then use streamlink with user agent header.

    Code:
    streamlink.exe --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36" "hlsvariant://https://videos.sproutvideo.com/mp?url=https%3A%2F%2Fhls2.videos.sproutvideo.com%2F4c6ae9f9a46c5272b1cc754718064aa7%2Fb24db851c76caf337fd636f339bd6301%2Fvideo%2Findex.m3u8&expires=1529196515&signature=y%2BVn0W%2B%2BSVh23vY3iXX0J6WOc9A%3D" best -o output.ts
    hi ponens and everybody,

    i used to do exactly what you suggesting and be able to download videos from sproutvideo. however, not any longer! today i switch chrome to iphone or ipad user agent, look for "mp?" and guess what? ... don't find it! not only that, the video won't play with that agent, indefinitely clocking! any ideas on this please?
    any other way to download from sproutvideo?

    thank you in advanvce!
    Last edited by stasha; 22nd Nov 2018 at 12:10. Reason: found some unclear places in text + fixed grammar + rearranged centences
    Quote Quote  
  12. Member
    Join Date
    Dec 2018
    Location
    Romania
    Search Comp PM
    Yes, yes, yes: the problem is that the link with /mp? is no longer there. Something was modified by sprout recently. So: a new workaround? Need help! Thanks.
    Quote Quote  
  13. Give the url to the sproutvideo you are trying to download. I'll see if Tubedigger will download it.
    Quote Quote  
  14. Member
    Join Date
    Dec 2018
    Location
    Romania
    Search Comp PM
    Tubedigger will download it. I`ve tested. Yet, would be nice a new workaround, for a free solution. The one with /mp? was working just great (for 1-2 years for me).
    Quote Quote  



Similar Threads