VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. when i use this code in ffmpeg,i can download it sometimes

    Code:
    ffmpeg -i "http://m3.highso.com.cn/1405/ERMVSPJS/ERMVSPJS_low/ERMVSPJS_low.m3u8" -c copy 001.ts
    ,but sometime get wrong

    so i want to down all the ts files and combine it,but its encrypted,anyone know how to decrypted it?
    Image Attached Thumbnails Click image for larger version

Name:	222.png
Views:	4220
Size:	20.2 KB
ID:	25436  

    Quote Quote  
  2. Hi ,

    @asdasdqqq : Informations needed are given in your image . Try :

    Code:
    @echo on
    ffmpeg -i "http://m3.highso.com.cn/1405/DCFIADCB/DCFIADCB_high/DCFIADCB_high.m3u8" -c copy DCFIADCB_high.ts
    pause
    :fin
    Duration Video : 45mn 02 ( DL more longer !!! )

    Regards .
    Quote Quote  
  3. Originally Posted by aazerty View Post
    Hi ,

    @asdasdqqq : Informations needed are given in your image . Try :

    Code:
    @echo on
    ffmpeg -i "http://m3.highso.com.cn/1405/DCFIADCB/DCFIADCB_high/DCFIADCB_high.m3u8" -c copy DCFIADCB_high.ts
    pause
    :fin
    Duration Video : 45mn 02 ( DL more longer !!! )

    Regards .

    thanks a lot!
    how does it work?::"@echo on" ":fin"
    Quote Quote  
  4. Hi ,

    @asdasdqqq :

    It is a batch file ( used under Windows ) .
    Open a text editor paste the lines and save as blabla.bat .
    Note : in the same directory where is stored ffmpeg .

    1) keep the windows open

    @echo on
    ffmpeg ...
    pause
    :fin

    you could also have
    2) close the windows automatically

    @echo off
    ffmpeg ...
    :end

    Cheers .
    Quote Quote  
  5. Member Emeritus
    Join Date
    May 2014
    Search PM
    I think he is asking how to assemble all of the .ts file segments if he downloads all of them independently of ffmpeg.

    One way to do that is download the m3u8 file, and then the key file from the url found at the beginning of such m3u8 file. Then download all of the .ts segments by whatever method.

    Then put the m3u8 file, the key file, and all of the .ts files into a folder. Edit the m3u8 file so the key reference is not a url, but instead just the key's filename.

    The run ffmpeg with the edited m3u8 filename as the input, rather than the url.
    Quote Quote  
  6. Originally Posted by ponens View Post
    I think he is asking how to assemble all of the .ts file segments if he downloads all of them independently of ffmpeg.

    One way to do that is download the m3u8 file, and then the key file from the url found at the beginning of such m3u8 file. Then download all of the .ts segments by whatever method.

    Then put the m3u8 file, the key file, and all of the .ts files into a folder. Edit the m3u8 file so the key reference is not a url, but instead just the key's filename.

    The run ffmpeg with the edited m3u8 filename as the input, rather than the url.
    yes its the best answer,thanks!found it support local combine with the key file~

    Quote Quote  
  7. Hi ,

    As he tolds :
    > when i use this code in ffmpeg ...

    I have ansered , thinking
    _ he knews how to use ffmpeg
    _ using ffmpeg , no more instructions ( for assembling ) are needed . It's the best !!!

    Just waiting the end of the process .
    And convert to .mp4 eventually .

    Cheers .
    Quote Quote  
  8. Originally Posted by ponens View Post
    One way to do that is download the m3u8 file, and then the key file from the url found at the beginning of such m3u8 file.
    @ponens, please help me with this problem. I know this topic is from 2014 but is actual for me
    I downloaded all ts files, index.m3u8 file and hq.m3u8 file but I don't find... the key file.
    In the hq.m3u8 file is not an address to a key file but: #EXT-X-KEY:METHOD=AES-128,URI="key:content=SV-00007652"

    The index.m3u8 file content:
    ==========
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1562656,RESOLUTION=720x576,CODECS=" avc1.64001e,mp4a.40.2"
    hq.m3u8
    ==========

    The hq.m3u8 file content:
    ==========
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:11
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="key:content=SV-00007652"
    #EXTINF:10,
    hq-0.ts
    #EXTINF:10,
    hq-1.ts
    #EXTINF:10,
    hq-2.ts
    #EXTINF:10,
    hq-3.ts
    #EXTINF:10,
    ---------------
    hq-136.ts
    #EXTINF:0.75,
    hq-137.ts
    #EXT-X-ENDLIST
    =============
    Quote Quote  
  9. Member Emeritus
    Join Date
    May 2014
    Search PM
    You'll have to explain more about the environment in which you obtained the m3u8 file. Usually when the URI= is not a url, but instead some "xxx:" reference, then the host hls player is getting the key from some local source that the hls player has implemented and understands. This sort of implementation is very common with mobile app hls players, and also some flash based hls players.
    Quote Quote  
  10. The links to the files were obtain with live http headers in chrome.
    When I try to play a video those steps I see:

    1. The site goes to >>> http://www."the site address"/html5nagravod/api.php?url=aBC0cHM6Ly9kaWdpYXBpcy5yY3MtcmRzLnJvL. ......

    2.Then.. http://"some addres"/"some folder"/api/v10/streams_v.php?action=getStreamSVod&id_stream=SV-00007652&platform=Browser&id_device=chrome_52_win3 2_833e8bbcdc0f22b9bd240b299a632aa9_PCBROWSER&q=a&c d=0&version_platform=win32_chrome_52&version_app=1 .0.0

    If the IP is from my country then {"meta":{"version":10,"result_code":"0","result_me ssage":"OK","have_data":"1"},"data":{"stream_url": "","stream_url_lq":"http://"the address"/chrome/ac6699347eafaae84821850b30ea9fa0/s/SV-00007652/SV-00007652_lq/index.m3u8","stream_url_mq":"http://"the address"/chrome/ac6699347eafaae84821850b30ea9fa0/s/SV-00007652/SV-00007652_mq/index.m3u8","stream_url_hq":"http://"the address"/chrome/ac6699347eafaae84821850b30ea9fa0/s/SV-00007652/SV-00007652_hq/index.m3u8","stream_url_hd":"","session":"ac669934 7eafaae84821850b30ea9fa0","stream_err":""}}

    3. http://"the address"/chrome/2f5d08a86249292fca9f95da90ba3623/s/SV-00007652/SV-00007652_hq/index.m3u8

    4. http://"the address"/chrome/2f5d08a86249292fca9f95da90ba3623/s/SV-00007652/SV-00007652_hq/hq.m3u8

    5. http://"the address"/chrome/2f5d08a86249292fca9f95da90ba3623/s/SV-00007652/SV-00007652_hq/hq-0.ts

    6. http://"the address"/chrome/2f5d08a86249292fca9f95da90ba3623/s/SV-00007652/SV-00007652_hq/hq-1.ts

    7. again like step 1. The site goes to >>> http://www."the site address"/html5nagravod/api.php?url=aBC0cHM6Ly9kaWdpYXBpcy5yY3MtcmRzLnJvL. ......

    8. the rest of ts files follows

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