VideoHelp Forum


Try StreamFab All-in-One and download Netflix, Amazon Prime, etc! Or Try DVDFab and copy all Blu-rays and DVDs!

Try NordVPN to access Netflix or other streaming services from any country and also surf safely! Try NordVPN!
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hello,

    I'm trying to download a video from a website that has this structure:

    Image
    [Attachment 61026 - Click to enlarge]


    The first 2 links don't do anything. Then we have the master.m3u8 file that is the one I am interested in. Then we have smaller resolutions and various audio and subtitles file.

    I used this command to find the combination that I needed:

    Code:
    youtube-dl -F "urlhere/master.m3u8"            
    [generic] master: Requesting header
    [generic] master: Downloading m3u8 information
    [info] Available formats for master:
    format code    extension  resolution note
    audio-Italian  mp4        audio only [ita] 
    496            mp4        428x240     496k , avc1.66.30, 25.0fps, video only
    709            mp4        640x360     709k , avc1.66.30, 25.0fps, video only
    715            mp4        854x480     715k , avc1.4d401f, 25.0fps, video only
    1250           mp4        1280x720   1250k , avc1.4d401f, 25.0fps, video only
    2753           mp4        1920x1080  2753k , avc1.4d4028, 25.0fps, video only
    5655           mp4        3840x2160  5655k , avc1.640034, 25.0fps, video only (best)
    And then downloaded what I wanted with:

    Code:
    youtube-dl -f 2753+audio-Italian --merge-output-format mp4 "urlhere/master.m3u8"
    I am trying to download the .ts file as a separate file but I can't make it work with youtube-dl. Can anyone help me out?

    Thanks
    Quote Quote  
  2. Originally Posted by loscamos View Post
    I am trying to download the .ts file as a separate file but I can't make it work with youtube-dl. Can anyone help me out?
    Try Streamlink.
    Code:
    Streamlink "url m3u8" best -o vid.ts
    Quote Quote  
  3. It downloaded the video without subtitles...
    Quote Quote  
  4. Originally Posted by loscamos View Post
    it downloaded the video without subtitles...
    omg!
    Quote Quote  
  5. Not sure if I did anything wrong. It's the first time I use streamlink. Always used youtube-dl for this stuff...
    Quote Quote  
  6. Code:
    youtube-dl -f 2753 --hls-prefer-native "urlhere/master.m3u8" -o video.ts
    Quote Quote  
  7. I havenít tried this one yet but my idea is that the subtitle file is not linked to the master m3u8 video streaming as you can see from the inspector. Should I try to download the .ts stream. If so, how?
    Quote Quote  
  8. Sorry, but you are not being clear.

    What you want is to download the video with or without the subtitles? Because the .ts stream is for the video file.
    Last edited by lfer94; 28th Sep 2021 at 16:20.
    Quote Quote  
  9. I would like to download both the video and the subtitles but as separate files.
    Quote Quote  
  10. Ok. Then try with this:

    Code:
    youtube-dl --list-subs "urlhere/master.m3u8"
    If it shows something, run this:

    Code:
    youtube-dl --write-sub --all-subs "urlhere/master.m3u8"
    If it doesn't, try with master-captions-it.m3u8 instead of master.m3u8
    Quote Quote  
  11. Using the master.m3u8 and the master-captions-it.m3u8 url I get this:

    Code:
    youtube-dl --list-subs "/master.m3u8"
    [generic] master: Requesting header
    [generic] master: Downloading m3u8 information
    master has no subtitles
    Code:
    youtube-dl --list-subs "master-captions-it.m3u8"
    [generic] master-captions-it: Requesting header
    [generic] master-captions-it: Downloading m3u8 information
    master-captions-it has no subtitles
    Using this

    Code:
    youtube-dl -f 2753 --hls-prefer-native "urlhere/master.m3u8" -o video.ts
    I only download the video without audio and without subtitles.

    I also tried to download only the captions but I get this error

    Code:
     Duration: 00:13:50.00, bitrate: 0 kb/s
      Program 0 
        Metadata:
          variant_bitrate : 0
      Stream #0:0: Subtitle: webvtt
        Metadata:
          variant_bitrate : 0
    Output #0, mp4, to 'file:master-captions-it-master-captions-it.mp4.part':
    Output file #0 does not contain any stream
    
    
    ERROR: ffmpeg exited with code 1
    Quote Quote  
  12. Well, I honestly don't have much experience downloading subtitles, so what I suggest is that you change the title of the post by adding the name of the page where you want to get them and someone will probably help you. It would also be very useful if you publish the URL of the video in question.
    Quote Quote  



Similar Threads