VideoHelp Forum
+ Reply to Thread
Results 1 to 22 of 22
Thread
  1. Good morning!

    Please…
    Is it possible to download video files from this via direct download links instead of fragmented files, all the programs are rebroadcasted programs (not live)?

    How to do that, and find the direct link to the video?
    Thank you in advance
    Quote Quote  
  2. Originally Posted by gmbps305 View Post
    Good morning!

    Please…
    Is it possible to download video files from this via direct download links instead of fragmented files, all the programs are rebroadcasted programs (not live)?

    How to do that, and find the direct link to the video?
    Thank you in advance
    i think it isn't possible a direct link for a live stream
    what is your problem with fragmented files?
    Quote Quote  
  3. That site provides an alternative hls stream which you can capture with livestreamer.

    Code:
    livestreamer "hlsvariant://http://live-19.viewer.dacast.com/i/dclive_1@192860/master.m3u8?hdnea=st=1442872366~exp=1442872486~acl=/i/dclive_1@192860*~hmac=52312cef8d628bc8b08e2b07eceffa142b0d6f353a12ffb3425f28a0976f515e&hdcore=3.6" best -o live.flv
    The bit in red is the code you will have to find each time yourself by using something like HttpFox and searching for "m3u8" (without the quotes).

    Image
    [Attachment 33784 - Click to enlarge]


    Image
    [Attachment 33785 - Click to enlarge]
    Quote Quote  
  4. Originally Posted by biezom View Post
    Originally Posted by gmbps305 View Post
    Good morning!

    Please…
    Is it possible to download video files from this via direct download links instead of fragmented files, all the programs are rebroadcasted programs (not live)?

    How to do that, and find the direct link to the video?
    Thank you in advance
    i think it isn't possible a direct link for a live stream
    what is your problem with fragmented files?

    Thank you for your fast response and also your question.

    I'm facing a real problem with how to manage interruptions when I’m downloading fragmented files?
    This often results in incomplete video files.

    I use adobe.php

    I try my best to learn about it (adobe.php), and after several attempt, here’s an example of my code

    Code:
    php AdobeHDS.php --manifest "http://live-19.viewer.dacast.com/z/dclive_1@192860/manifest.f4m?hdnea=st=1442872902~exp=1442873022~acl=%2Fz%2Fdclive_1@192860%2A~hmac=83c7e207653fcd9835ae6ec10e812bd14d9dccf8854fbfbfab57a7837023c7f1&hdcore=3.6&g=KZQBQRQIVBNO&plugin=aasp-3.7.0.39.44" --delete --auth "hdntl=exp=1442959313~acl=%2fz%2fdclive_1%40192860*~data=hdntl~hmac=d051e7fad6d829d578205531dcd7785e4ae77764a4db084b22b1c68829bc587a&hdcore=3.6&als=0,3,NaN,0,0,NaN,0,0,0,281,f,0,6132.25,t,u,KZQBQRQIVBNO,3.7.0,281&plugin=aasp-3.7.0.39.44" --useragent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" --quality "exact bitrate" --outdir "C:\vid" --outfile "vid.00" --filesize "256" --parallel "1"
    Last edited by gmbps305; 21st Sep 2015 at 17:32.
    Quote Quote  
  5. For what it's worth I couldn't get AdobeHDS.php to work with that channel either but the method above seemed to work fine. biezom however will probably succeed where we failed!
    Quote Quote  
  6. Originally Posted by Moet View Post
    That site provides an alternative hls stream which you can capture with livestreamer.

    Code:
    livestreamer "hlsvariant://http://live-19.viewer.dacast.com/i/dclive_1@192860/master.m3u8?hdnea=st=1442872366~exp=1442872486~acl=/i/dclive_1@192860*~hmac=52312cef8d628bc8b08e2b07eceffa142b0d6f353a12ffb3425f28a0976f515e&hdcore=3.6" best -o live.flv
    The bit in red is the code you will have to find each time yourself by using something like HttpFox and searching for "m3u8" (without the quotes).

    Image
    [Attachment 33784 - Click to enlarge]


    Image
    [Attachment 33785 - Click to enlarge]
    Thank you very much for this alternative
    I am currently busy in testing it...
    Quote Quote  
  7. Originally Posted by Moet View Post
    For what it's worth I couldn't get AdobeHDS.php to work with that channel either but the method above seemed to work fine. biezom however will probably succeed where we failed!
    Thanks greatly for your help, I really appreciate
    Quote Quote  
  8. I should have mentioned that you will have to disable Flash in Firefox first to get it to work, sorry.
    Quote Quote  
  9. Originally Posted by Moet View Post
    I should have mentioned that you will have to disable Flash in Firefox first to get it to work, sorry.
    Thanks
    I was already being confronted with the fact that it didn't work as expected
    Quote Quote  
  10. with hds link detector addon on firefox the adobehds code works

    Code:
    php AdobeHDS.php --manifest "http://live-19.viewer.dacast.com/z/dclive_1@192860/manifest.f4m?hdnea=st=1442875178~exp=1442875298~acl=%2Fz%2Fdclive_1@192860%2A~hmac=9f6f0fec18ef9564dfeb8bbe2fb88f7f2e23808e53e3b1fa789920cc0bf94213&hdcore=3.6&g=LDBYAZWSLPST&plugin=aasp-3.7.0.39.44" --delete --auth "hdntl=exp=1442961589~acl=%2fz%2fdclive_1%40192860*~data=hdntl~hmac=c7820b30aa5338e96bd33bc74f1ac4f62aa15767cfa0268b0c22c9dd240e0483&hdcore=3.6&als=0,3,NaN,0,0,NaN,0,0,0,38,f,0,8477.31,t,u,LDBYAZWSLPST,3.7.0,38&plugin=aasp-3.7.0.39.44" --useragent "Mozilla/5.0 (X11; Linux i686; rv:40.0) Gecko/20100101 Firefox/40.0 Iceweasel/40.0.3"
    
                                KSV Adobe HDS Downloader
    
    Processing manifest info....                                                   
    Quality Selection:                                                             
     Available: 596
     Selected : 596                                                                
    Fragments Total: 240479200, First: 240477783, Start: 240479199, Parallel: 8    
    Downloading 240479205/240479205 fragments
    the code got by moet works

    Code:
    livestreamer "hlsvariant://http://live-19.viewer.dacast.com/i/dclive_1@192860/master.m3u8?hdnea=st=1442875479~exp=1442875599~acl=/i/dclive_1@192860*~hmac=73642cf2fb5cb685becbccbc62b7fbc36f341eeea1c3a78fb57931ae6611e7b8" best -o live.ts
    all is static except the part in red

    you can update this part with
    https://services.dacast.com/token/i/b/51788/c/69350?

    IMPORTANT do not forget to remove the two \ in "acl=\/i\/dclive"

    if you have already use adobeHDS you have php in your system
    so it's possible to write a php code that update automatically the dynamic part
    Quote Quote  
  11. Originally Posted by gmbps305 View Post
    Originally Posted by Moet View Post
    That site provides an alternative hls stream which you can capture with livestreamer.

    Code:
    livestreamer "hlsvariant://http://live-19.viewer.dacast.com/i/dclive_1@192860/master.m3u8?hdnea=st=1442872366~exp=1442872486~acl=/i/dclive_1@192860*~hmac=52312cef8d628bc8b08e2b07eceffa142b0d6f353a12ffb3425f28a0976f515e&hdcore=3.6" best -o live.flv
    The bit in red is the code you will have to find each time yourself by using something like HttpFox and searching for "m3u8" (without the quotes).

    Image
    [Attachment 33784 - Click to enlarge]


    Image
    [Attachment 33785 - Click to enlarge]
    Thank you very much for this alternative
    I am currently busy in testing it...
    I finally managed to try your method, it works very well too
    Quote Quote  
  12. Yes, thanks once again biezom. I have HDS link detector/php etc. I just made a trivial error in its use.
    Quote Quote  
  13. Originally Posted by Moet View Post
    Yes, thanks once again biezom. I have HDS link detector/php etc. I just made a trivial error in its use.

    what is the version?

    Code:
    php -v
    did you have Download PHP.ini and copy it to the same folder?


    i write a php code to run the stream with livestreamer automatically

    Code:
    <?php
    $hls=file_get_contents('http://json.dacast.com/b/51788/c/69350');
    
    $m3u81b= strpos($hls, '"hls":"'); $m3u81e=  strripos($hls, '"}'); $m3u81f = $m3u81e - $m3u81b ;
    $m3u81= substr($hls, $m3u81b , $m3u81f); $m3u82=str_replace('\\',"",$m3u81); $m3u83=str_replace('"hls":"',"",$m3u82);
    
    $pretoken= file_get_contents("https://services.dacast.com/token/i/b/51788/c/69350?");
    $pretokenb= strpos($pretoken, '?hdnea'); $pretokene=  strripos($pretoken, '","expiration'); $pretokenf = $pretokene - $pretokenb ;
    $token1= substr($pretoken, $pretokenb , $pretokenf); $token=str_replace('\\',"",$token1);
    echo "\n\n";
    $m3u8= $m3u83 .$token;
    echo "$m3u8\n\n";
    $hlsvariant=str_replace('http',"hlsvariant://http",$m3u8);
    
    echo "Starting vlc with livestreamer...\n\n";
    	echo shell_exec("livestreamer  \"$hlsvariant\" best  &");
    	echo "Done.\n";
    
    ?>

    Click image for larger version

Name:	0dacast.png
Views:	1818
Size:	277.3 KB
ID:	33789
    Quote Quote  
  14. Originally Posted by biezom View Post
    with hds link detector addon on firefox the adobehds code works

    Code:
    php AdobeHDS.php --manifest "http://live-19.viewer.dacast.com/z/dclive_1@192860/manifest.f4m?hdnea=st=1442875178~exp=1442875298~acl=%2Fz%2Fdclive_1@192860%2A~hmac=9f6f0fec18ef9564dfeb8bbe2fb88f7f2e23808e53e3b1fa789920cc0bf94213&hdcore=3.6&g=LDBYAZWSLPST&plugin=aasp-3.7.0.39.44" --delete --auth "hdntl=exp=1442961589~acl=%2fz%2fdclive_1%40192860*~data=hdntl~hmac=c7820b30aa5338e96bd33bc74f1ac4f62aa15767cfa0268b0c22c9dd240e0483&hdcore=3.6&als=0,3,NaN,0,0,NaN,0,0,0,38,f,0,8477.31,t,u,LDBYAZWSLPST,3.7.0,38&plugin=aasp-3.7.0.39.44" --useragent "Mozilla/5.0 (X11; Linux i686; rv:40.0) Gecko/20100101 Firefox/40.0 Iceweasel/40.0.3"
    
                                KSV Adobe HDS Downloader
    
    Processing manifest info....                                                   
    Quality Selection:                                                             
     Available: 596
     Selected : 596                                                                
    Fragments Total: 240479200, First: 240477783, Start: 240479199, Parallel: 8    
    Downloading 240479205/240479205 fragments
    the code got by moet works

    Code:
    livestreamer "hlsvariant://http://live-19.viewer.dacast.com/i/dclive_1@192860/master.m3u8?hdnea=st=1442875479~exp=1442875599~acl=/i/dclive_1@192860*~hmac=73642cf2fb5cb685becbccbc62b7fbc36f341eeea1c3a78fb57931ae6611e7b8" best -o live.ts
    all is static except the part in red

    you can update this part with
    https://services.dacast.com/token/i/b/51788/c/69350?

    IMPORTANT do not forget to remove the two \ in "acl=\/i\/dclive"

    if you have already use adobeHDS you have php in your system
    so it's possible to write a php code that update automatically the dynamic part
    I feel improved exponentially
    Thanks a lot

    Will you allow me a small bonus, please... This is my last request
    Here's my modest usual code template in AdobeHDS.php script (a more experienced version of it, is welcome)
    Code:
    "HDS Link Detector addon CODE" --quality "exact bitrate" --outdir "C:\vid" --outfile "vid" --filesize "256" --parallel "1"
    Which existing AdobeHDS.php script instructions can help me to automatically avoid minor interruptions from "live streaming service" side, during download (in other words, to increase more connection attempts before giving up)
    I've probably missed something...

    Thank you in advance
    Quote Quote  
  15. Originally Posted by biezom View Post
    Originally Posted by Moet View Post
    Yes, thanks once again biezom. I have HDS link detector/php etc. I just made a trivial error in its use.

    what is the version?

    Code:
    php -v
    did you have Download PHP.ini and copy it to the same folder?


    i write a php code to run the stream with livestreamer automatically

    Code:
    <?php
    $hls=file_get_contents('http://json.dacast.com/b/51788/c/69350');
    
    $m3u81b= strpos($hls, '"hls":"'); $m3u81e=  strripos($hls, '"}'); $m3u81f = $m3u81e - $m3u81b ;
    $m3u81= substr($hls, $m3u81b , $m3u81f); $m3u82=str_replace('\\',"",$m3u81); $m3u83=str_replace('"hls":"',"",$m3u82);
    
    $pretoken= file_get_contents("https://services.dacast.com/token/i/b/51788/c/69350?");
    $pretokenb= strpos($pretoken, '?hdnea'); $pretokene=  strripos($pretoken, '","expiration'); $pretokenf = $pretokene - $pretokenb ;
    $token1= substr($pretoken, $pretokenb , $pretokenf); $token=str_replace('\\',"",$token1);
    echo "\n\n";
    $m3u8= $m3u83 .$token;
    echo "$m3u8\n\n";
    $hlsvariant=str_replace('http',"hlsvariant://http",$m3u8);
    
    echo "Starting vlc with livestreamer...\n\n";
    	echo shell_exec("livestreamer  \"$hlsvariant\" best  &");
    	echo "Done.\n";
    
    ?>

    Image
    [Attachment 33789 - Click to enlarge]
    GREAT!!!
    Quote Quote  
  16. Originally Posted by gmbps305 View Post

    I feel improved exponentially
    Thanks a lot

    Will you allow me a small bonus, please... This is my last request
    Here's my modest usual code template in AdobeHDS.php script (a more experienced version of it, is welcome)
    Code:
    "HDS Link Detector addon CODE" --quality "exact bitrate" --outdir "C:\vid" --outfile "vid" --filesize "256" --parallel "1"
    Which existing AdobeHDS.php script instructions can help me to automatically avoid minor interruptions from "live streaming service" side, during download (in other words, to increase more connection attempts before giving up)
    I've probably missed something...

    Thank you in advance
    I think no command can improve. I think it's their server is saturated. or any thing like that. because there interruptions also on the browser

    earlier in the day there was no dinterruption
    Quote Quote  
  17. Originally Posted by biezom View Post
    Originally Posted by gmbps305 View Post

    I feel improved exponentially
    Thanks a lot

    Will you allow me a small bonus, please... This is my last request
    Here's my modest usual code template in AdobeHDS.php script (a more experienced version of it, is welcome)
    Code:
    "HDS Link Detector addon CODE" --quality "exact bitrate" --outdir "C:\vid" --outfile "vid" --filesize "256" --parallel "1"
    Which existing AdobeHDS.php script instructions can help me to automatically avoid minor interruptions from "live streaming service" side, during download (in other words, to increase more connection attempts before giving up)
    I've probably missed something...

    Thank you in advance
    I think no command can improve. I think it's their server is saturated. or any thing like that. because there interruptions also on the browser

    earlier in the day there was no dinterruption
    Thank you for all, really
    Last edited by gmbps305; 21st Sep 2015 at 19:47.
    Quote Quote  
  18. i forgot the function json_decode with it the code is easer

    Code:
    <?php
    $hls=json_decode(file_get_contents("http://json.dacast.com/b/51788/c/69350"))->hls;
    $token=json_decode(file_get_contents("https://services.dacast.com/token/i/b/51788/c/69350?"))->token;
    $m3u8= $hls .$token; $hlsvariant=str_replace('http',"hlsvariant://http",$m3u8);
    echo "\n";
    echo "$m3u8\n\n";
    echo "Starting vlc with livestreamer...\n\n";
    	echo shell_exec("livestreamer  \"$hlsvariant\" best  &");
    	echo "Done.\n";
    ?>
    Quote Quote  
  19. Originally Posted by biezom View Post
    i forgot the function json_decode with it the code is easer

    Code:
    <?php
    $hls=json_decode(file_get_contents("http://json.dacast.com/b/51788/c/69350"))->hls;
    $token=json_decode(file_get_contents("https://services.dacast.com/token/i/b/51788/c/69350?"))->token;
    $m3u8= $hls .$token; $hlsvariant=str_replace('http',"hlsvariant://http",$m3u8);
    echo "\n";
    echo "$m3u8\n\n";
    echo "Starting vlc with livestreamer...\n\n";
    	echo shell_exec("livestreamer  \"$hlsvariant\" best  &");
    	echo "Done.\n";
    ?>
    Ok
    ...much easier

    Thank you again
    GOOD MORNING!
    Quote Quote  
  20. I have php version 2.4.0 - with "PHP.ini" in the same folder.
    Quote Quote  
  21. Originally Posted by Moet View Post
    I have php version 2.4.0 - with "PHP.ini" in the same folder.

    version 2.4.0 is too old version

    http://windows.php.net/downloads/releases/php-5.4.45-Win32-VC9-x86.zip


    https://github.com/K-S-V/Scripts/wiki#installing-php-for-dummies-windows-only
    Quote Quote  
  22. Thanks biezom.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!