VideoHelp Forum
+ Reply to Thread
Results 1 to 25 of 25
Thread
  1. Hello,

    I am trying to use ffmpeg to download subtitles from rts.ch server (without video or audio, just subtitles).

    When I type the command

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/11939634/c312a730-29df-37c0-bcd0-fcd591e964fb/index-f7.m3u8?aka_me_session_id=AAAAAAAAAADOQCRgAAAAAKaR 0iPtqt2nCH%2fsXwUI%2fXToRAS8en0tZY%2fka7HtqKbzD168 Fkbs8KCtxez739Dp2GN9eIEHVO9%2f"

    then it gives me the result:

    [..]
    Duration: 01:33:00.56, bitrate: 0 kb/s
    Program 0
    Metadata:
    variant_bitrate : 0
    Stream #0:0: Subtitle: webvtt
    Metadata:
    variant_bitrate : 0
    At least one output file must be specified


    when I add output.vtt at the end of the command it results in:

    Output #0, webvtt, to 'output.vtt':
    Metadata:
    encoder : Lavf58.65.101
    Stream #0:0: Subtitle: webvtt
    Metadata:
    variant_bitrate : 0
    encoder : Lavc58.119.100 webvtt
    Stream mapping:
    Stream #0:0 -> #0:0 (webvtt (native) -> webvtt (native))
    Press [q] to stop, [?] for help
    size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)


    Which switches I should use with ffmpeg to properly download VTT or ideally SRT file?

    Thanks in advance
    EC
    Quote Quote  
  2. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Link expired, do you have a link to embedded video?
    Quote Quote  
  3. By default ffmpeg doesn't mux subtitles. Try adding -map 0 (copy all streams) after specifying the source video. If that doesn't work thy adding a further -an and -vn (audio none, video none) too.
    Quote Quote  
  4. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Ok,i just tried downloading subs from a random video of that site and had no problems with FFMPEG, actually all you need to do is use a built in subtitle-codec argument:
    -scodec (codec)

    In this case this should work with no problem:
    Code:
    ffmpeg.exe -i "https://rts-vod-amd.../ww/hls/..m3u8" -scodec srt output_subs.srt
    Code:
    Input #0, hls, from 'https://rts-vod-amd.akamaized.net/ww/hls/.../index-f7.m3u8':
      Duration: 00:44:54.24, bitrate: 0 kb/s
      Program 0
        Metadata:
          variant_bitrate : 0
        Stream #0:0: Subtitle: webvtt
        Metadata:
          variant_bitrate : 0
    Output #0, srt, to 'output_subs.srt':
      Metadata:
        encoder         : Lavf58.45.100
        Stream #0:0: Subtitle: subrip (srt)
        Metadata:
          variant_bitrate : 0
          encoder         : Lavc58.91.100 srt
    Stream mapping:
      Stream #0:0 -> #0:0 (webvtt (native) -> subrip (srt))
    Press [q] to stop, [?] for help
    size=      55kB time=00:44:51.04 bitrate=   0.2kbits/s speed=7.19e+04x
    video:0kB audio:0kB subtitle:30kB other streams:0kB global headers:0kB muxing overhead: 79.925674%
    Hope this works
    Quote Quote  
  5. Originally Posted by Sviests View Post
    Ok,i just tried downloading subs from a random video of that site and had no problems with FFMPEG, actually all you need to do is use a built in subtitle-codec argument:
    -scodec (codec)

    In this case this should work with no problem:
    Code:
    ffmpeg.exe -i "https://rts-vod-amd.../ww/hls/..m3u8" -scodec srt output_subs.srt
    Hope this works
    Worked like a charm, thanks!
    EC
    Quote Quote  
  6. Hello again,

    Once again, encountering issue when trying to download these subtitles:

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc/index-f7.m3u8" -scodec srt meurtres_en_berry_subs.srt

    It just stops on segment #27 and produces a small SRT file with first lines of subtitles.



    [hls @ 0x562a658ec6c0] Opening 'crypto+https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc..._hls_version=3' for reading
    [webvtt @ 0x562a65c4b200] Dropping 13 duplicated subtitle events
    Input #0, hls, from 'https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc/index-f7.m3u8':
    Duration: 01:34:32.48, bitrate: 0 kb/s
    Program 0
    Metadata:
    variant_bitrate : 0
    Stream #0:0: Subtitle: webvtt
    Metadata:
    variant_bitrate : 0
    File 'meurtres_en_berry_subs2.srt' already exists. Overwrite ? [y/N] y
    Output #0, srt, to 'meurtres_en_berry_subs2.srt':
    Metadata:
    encoder : Lavf58.29.100
    Stream #0:0: Subtitle: subrip (srt)
    Metadata:
    variant_bitrate : 0
    encoder : Lavc58.54.100 srt
    Stream mapping:
    Stream #0:0 -> #0:0 (webvtt (native) -> subrip (srt))
    Press [q] to stop, [?] for help
    size= 0kB time=00:02:08.92 bitrate= 0.0kbits/s speed=2.39e+05x
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 294.230774%




    Any suggestion, please?

    Kind regards
    EC
    Quote Quote  
  7. Originally Posted by LZAA View Post
    Url?
    For grabbing the subtitles I use the M3U8 file provided it in my earlier email:

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc/index-f7.m3u8" -scodec srt meurtres_en_berry_subs.srt

    Actual URL to movie: https://www.rts.ch/play/tv/telefilm/video/meurtres-en-berry?urn=urn:rts:video:11997514

    regards
    EC
    Last edited by ecolek; 27th Feb 2021 at 01:57.
    Quote Quote  
  8. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by ecolek View Post
    Originally Posted by LZAA View Post
    Url?
    I have provided it in my earlier email:

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc/index-f7.m3u8" -scodec srt meurtres_en_berry_subs.srt

    regards
    EC
    try running your link through the firefox extension called "the stream detector" to grab the subtitles
    Quote Quote  
  9. Originally Posted by october262 View Post
    try running your link through the firefox extension called "the stream detector" to grab the subtitles
    I use this extension to determine *.m3u8 components on actual page with the movie, but it doesn't have the capability to merge set of *.vtt files (here 710 segments) into one SRT file.

    I was able to use FFMPEG for this purpose for previous movies at RTS, but here it breaks after collection of ~27 segments.

    Actual URL to movie: https://www.rts.ch/play/tv/telefilm/video/meurtres-en-berry?urn=urn:rts:video:11997514

    regds
    EC
    Quote Quote  
  10. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    These specific subtitles are under DRM, unlike the previous ones. I guess it depends on the video you're trying to watch.
    Quote Quote  
  11. Is this one also DRM protected? How do you recognize there is such protection in place?
    https://www.rts.ch/play/tv/telefilm/video/meurtres-a-mulhouse?urn=urn:rts:video:12003885
    At the website the movie is normally displayed with the subtitles without any limitations.

    Attempt of extracting subtitles below just stops after 20 segments without any particular reason:
    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8" -scodec srt subs.srt



    regards
    EC
    Quote Quote  
  12. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Kinda they are,they have a line of:

    Code:
    #EXT-X-KEY:METHOD=AES-128,URI="https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/serve.key?aka_me_session_id=AAAAAAAAAAA1YkFgAAAAAHOWOaz2ok%2ffFiM3Jv2qx4hagFzLMlw6Fh5XK5GYA438d%2fNqLEjeZYmz8S9x0b85YAST5FbTZokk"
    There is probably a way to bypass it,but most likely with passing some headers/referers/user-agents or whatever.
    Quote Quote  
  13. how can i download this vtt correctly .. because when i opened on subtitle edit show encrypted Code .. please any help

    ( https://content.hilalplay.com/caption/49d4de16-ff44-49cf-8f1f-c8a7f7952c41ar.vtt?t=eyJ...JD-il0nVO52EXg)
    Quote Quote  
  14. Originally Posted by ecolek View Post
    Is this one also DRM protected? How do you recognize there is such protection in place?

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8" -scodec srt subs.srt


    regards
    EC

    Download/save/open index-f7.m3u8 (notepad++), AES-128 -> encryption

    #EXTM3U
    #EXT-X-TARGETDURATION:8
    #EXT-X-ALLOW-CACHE:YES
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-KEY:METHOD=AES-128,URI="https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/serve.key?aka_me_session_id=AAAAAAAAAAAvEVFgAAAAAA GKpFiilT9RnTb9BhuXGQaZfDswVQEw6QIH5FWznn32uGbtoMWd dk9W+TSk9wK+caobJqjy7T%2fA"
    #EXTINF:8.000,
    segment-1-f7.vtt?aka_me_session_id=AAAAAAAAAAAvEVFgAAAAAAGKpFiilT9 RnTb9BhuXGQaZfDswVQEw6QIH5FWznn32uGbtoMWddk9W+TSk9 wK+caobJqjy7T%2fA&aka_msn=1&aka_hls_version=3&aka_ media_format_type=hls
    #EXTINF:8.000,
    ...
    ...

    segment-674-f7.vtt?aka_me_session_id=AAAAAAAAAAAvEVFgAAAAAAGKpFiilT9 RnTb9BhuXGQaZfDswVQEw6QIH5FWznn32uGbtoMWddk9W+TSk9 wK+caobJqjy7T%2fA&aka_msn=674&aka_hls_version=3&ak a_media_format_type=hls
    #EXT-X-ENDLIST

    Originally Posted by ecolek View Post
    I was able to use FFMPEG for this purpose for previous movies at RTS, but here it breaks after collection of ~27 segments.
    Run ffmpeg again, the srt should have 1300 lines, last timestamp should be 01:29:39,840 --> 01:29:44,840. Run it 2-3 times (test1.srt, test2.srt) and see if you get the same result (~27 segments). Sometimes I get the (full) subtitles the the first time sometimes after the 2nd or 3rd try.

    @jagabo @Sviests By default ffmpeg (using 4.2.3) will download the subtitles without the need to specify -scodec (codec) and/or map and/or -an -vn, just an output with the srt extension. Also ffmpeg will take care of decrypting the (encrypted) vtt files.

    ffmpeg -i "https://URL/subtitle.m3u8?tokenifpresent" MyMovie.srt

    BTW It also works for vtt output: ffmpeg -i "https://yourURL2sub.m3u8" test-1.vtt

    Output #0, webvtt, to 'test-1.vtt':
    Metadata:
    encoder : Lavf58.29.100
    Stream #0:0: Subtitle: webvtt
    Metadata:
    variant_bitrate : 0
    encoder : Lavc58.54.100 webvtt
    Stream mapping:
    Stream #0:0 -> #0:0 (webvtt (native) -> webvtt (native))
    Press [q] to stop, [?] for help
    size= 75kB time=01:29:39.84 bitrate= 0.1kbits/s speed=3.5e+05x
    video:0kB audio:0kB subtitle:40kB other streams:0kB global headers:0kB muxing ov
    erhead: 88.028938%
    Last edited by jojo; 15th Mar 2021 at 16:41.
    Quote Quote  
  15. Subtitles for "Meurtres en Berry" are not available anymore but for "Meurtres a Mulhouse" I still get the same result:

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8?aka_me_session_id=AAAAAAAAAABXtlFgAAAAAEQK yHGHTJWpgd2gS2hxNS28qcSh%2fyZjMulBbz27LbP4I3FelMPT li3UtkxFbJU5VOZ+vz5TnSwr&aka_media_format_type=hls " meurtres_en_mulhouse_subs_1.srt
    ffmpeg version 4.3.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
    [..]
    [hls @ 0xc0e3940] Skip ('#EXT-X-ALLOW-CACHE:YES')
    [hls @ 0xc0e3940] Skip ('#EXT-X-VERSION:3')
    [hls @ 0xc0e3940] Opening 'https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/serve.key?aka_me_session_id=AAAAAAAAAABXtlFgAAAAAE QKyHGHTJWpgd2gS2hxNS28qcSh%2fyZjMulBbz27LbP4I3FelM PTli3UtkxFbJU5VOZ+vz5TnSwr' for reading
    [hls @ 0xc0e3940] Opening 'crypto+https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e...ormat_type=hls' for reading
    [...]
    [hls @ 0xc0e3940] Opening 'crypto+https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e...ormat_type=hls' for reading
    Input #0, hls, from 'https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8?aka_me_session_id=AAAAAAAAAABXtlFgAAAAAEQK yHGHTJWpgd2gS2hxNS28qcSh%2fyZjMulBbz27LbP4I3FelMPT li3UtkxFbJU5VOZ+vz5TnSwr&aka_media_format_type=hls ':
    Duration: 01:29:44.84, bitrate: 0 kb/s
    Program 0
    Metadata:
    variant_bitrate : 0
    Stream #0:0: Subtitle: webvtt
    Metadata:
    variant_bitrate : 0
    File 'meurtres_en_mulhouse_subs_1.srt' already exists. Overwrite? [y/N] y
    Output #0, srt, to 'meurtres_en_mulhouse_subs_1.srt':
    Metadata:
    encoder : Lavf58.45.100
    Stream #0:0: Subtitle: subrip (srt)
    Metadata:
    variant_bitrate : 0
    encoder : Lavc58.91.100 srt
    Stream mapping:
    Stream #0:0 -> #0:0 (webvtt (native) -> subrip (srt))
    Press [q] to stop, [?] for help
    size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)





    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8?aka_me_session_id=AAAAAAAAAABXtlFgAAAAAEQK yHGHTJWpgd2gS2hxNS28qcSh%2fyZjMulBbz27LbP4I3FelMPT li3UtkxFbJU5VOZ+vz5TnSwr&aka_media_format_type=hls " -scodec srt meurtres_en_mulhouse_subs_1.srt
    ffmpeg version 4.3.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
    [..]
    [hls @ 0xc2eb940] Skip ('#EXT-X-ALLOW-CACHE:YES')
    [hls @ 0xc2eb940] Skip ('#EXT-X-VERSION:3')
    [hls @ 0xc2eb940] Opening 'https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/serve.key?aka_me_session_id=AAAAAAAAAABXtlFgAAAAAE QKyHGHTJWpgd2gS2hxNS28qcSh%2fyZjMulBbz27LbP4I3FelM PTli3UtkxFbJU5VOZ+vz5TnSwr' for reading
    [hls @ 0xc2eb940] Opening 'crypto+https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e...ormat_type=hls' for reading
    [..]
    [hls @ 0xc2eb940] Opening 'crypto+https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e...ormat_type=hls' for reading
    Input #0, hls, from 'https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8?aka_me_session_id=AAAAAAAAAABXtlFgAAAAAEQK yHGHTJWpgd2gS2hxNS28qcSh%2fyZjMulBbz27LbP4I3FelMPT li3UtkxFbJU5VOZ+vz5TnSwr&aka_media_format_type=hls ':
    Duration: 01:29:44.84, bitrate: 0 kb/s
    Program 0
    Metadata:
    variant_bitrate : 0
    Stream #0:0: Subtitle: webvtt
    Metadata:
    variant_bitrate : 0
    File 'meurtres_en_mulhouse_subs_1.srt' already exists. Overwrite? [y/N] y
    Output #0, srt, to 'meurtres_en_mulhouse_subs_1.srt':
    Metadata:
    encoder : Lavf58.45.100
    Stream #0:0: Subtitle: subrip (srt)
    Metadata:
    variant_bitrate : 0
    encoder : Lavc58.91.100 srt
    Stream mapping:
    Stream #0:0 -> #0:0 (webvtt (native) -> subrip (srt))
    Press [q] to stop, [?] for help
    size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
    Quote Quote  
  16. hello!

    Anybody can help downloading webVTT subtitles from this movie: https://www.rts.ch/play/tv/telefilm/video/meurtres-dans-les-trois-vallees?urn=urn:rts:video:12274261 ?

    My attempt fails after few segments when using:

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/index-f7.m3u8?aka_me_session_id=AAAAAAAAAACn3M5gAAAAAIOr zzlrE6ieIKaPrPD06FMJH70DGgKLzP9jC0Ckv9HwcfVuMb73PG 3aLcEwipwhlf+oRNDZ65J7&aka_media_format_type=hls" -scodec srt meurtres_en_trois_valles_subs.srt

    regards
    EC
    Quote Quote  
  17. For a brief period of time, all this links opened slightly encoded in the browser.
    Code:
    https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/segment-1-f7.vtt?aka_me_session_id=AAAAAAAAAAAB5c5gAAAAAMltL6Nm6qIDrics6SbUJdhCoFycW%2frkTSx%2fwJjffZ36puKgb2Uox7accDG9DK7eGPf2S1M7jEqD&aka_msn=1&aka_hls_version=3&aka_media_format_type=hls
    https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/segment-2-f7.vtt?aka_me_session_id=AAAAAAAAAAAB5c5gAAAAAMltL6Nm6qIDrics6SbUJdhCoFycW%2frkTSx%2fwJjffZ36puKgb2Uox7accDG9DK7eGPf2S1M7jEqD&aka_msn=2&aka_hls_version=3&aka_media_format_type=hls
    https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/segment-3-f7.vtt?aka_me_session_id=AAAAAAAAAAAB5c5gAAAAAMltL6Nm6qIDrics6SbUJdhCoFycW%2frkTSx%2fwJjffZ36puKgb2Uox7accDG9DK7eGPf2S1M7jEqD&aka_msn=3&aka_hls_version=3&aka_media_format_type=hls
    https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/segment-4-f7.vtt?aka_me_session_id=AAAAAAAAAAAB5c5gAAAAAMltL6Nm6qIDrics6SbUJdhCoFycW%2frkTSx%2fwJjffZ36puKgb2Uox7accDG9DK7eGPf2S1M7jEqD&aka_msn=4&aka_hls_version=3&aka_media_format_type=hls
    https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/segment-5-f7.vtt?aka_me_session_id=AAAAAAAAAAAB5c5gAAAAAMltL6Nm6qIDrics6SbUJdhCoFycW%2frkTSx%2fwJjffZ36puKgb2Uox7accDG9DK7eGPf2S1M7jEqD&aka_msn=5&aka_hls_version=3&aka_media_format_type=hls
    .
    ..
    ...
    The content was
    Code:
    WEBVTT
    
    00:00:00.000 --> 00:00:01.840
    blabla
    
    00:00:01.840 --> 00:00:04.810
    blabla
    
    [random text of ~30 characters gibberish]
    I was trying to find a way to batch download them but I couldn't (jDownloader was giving a temporary error or something and downthemall can't batch download when 2 or more variables need to be changed).

    Now it stopped working and gives complete gibberish.

    I have no idea why I could opened them almost fine for a brief period of time and I'm sad that I couldn't find a way to dl them...
    Quote Quote  
  18. Originally Posted by ecolek View Post
    hello!

    Anybody can help downloading webVTT subtitles from this movie: https://www.rts.ch/play/tv/telefilm/video/meurtres-dans-les-trois-vallees?urn=urn:rts:video:12274261 ?

    My attempt fails after few segments when using:

    ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/index-f7.m3u8?aka_me_session_id=AAAAAAAAAACn3M5gAAAAAIOr zzlrE6ieIKaPrPD06FMJH70DGgKLzP9jC0Ckv9HwcfVuMb73PG 3aLcEwipwhlf+oRNDZ65J7&aka_media_format_type=hls" -scodec srt meurtres_en_trois_valles_subs.srt

    regards
    EC
    It probably boils down to the ffmpeg you are using.
    After playing around with this the whole day, I finally managed to get the subtitles.
    Use the same command and use the ffmpeg.exe that comes with Streamlink.
    47.2 MB (49,592,832 bytes)
    47.2 MB (49,594,368 bytes)

    The downloaded subtitles seem to be different than the one LZAA provided.
    LZAA subtitle has duplication.
    This one doesn't.
    But LZAA's version does not contain the long and unneeded dots.
    This one does.

    Now, a slightly off topic question.

    How can a program like ffmpeg, open source, free, public etc etc. have the option to decrypt AES-128 without key?
    It's basically destroying the protection the site is using.
    Quote Quote  
  19. I am using Linux (Ubuntu 20.04.1) and streamlink doesn't come with any ffmpeg version embedded.

    I have tried the newest ffmpeg packages (ffmpeg-4.4-i686-static or ffmpeg-git-20210611-i686-static) and effect is the same: WebVTT subtitle download cuts after 22nd segment.

    Regarding decryption of subtitle, subjected file index-f7.m3u8 includes a key:

    #EXT-X-KEY:METHOD=AES-128,URI="[....]"

    Can you share your downloaded version of these subtitles?

    --
    EC
    Quote Quote  
  20. Originally Posted by ecolek View Post
    Can you share your downloaded version of these subtitles?
    ffmpeg https://drive.google.com/file/d/1c_kQ3WP4V9ayuAe-vFP5lnsWIIjfEGFy/view?usp=sharing
    subs https://drive.google.com/file/d/19Mf2H9zwmHhk6S6lclCMahO-9BlryQNp/view?usp=sharing

    This is the build info inside ffmpeg folder of Streamlink
    Code:
    Zeranoe FFmpeg Builds <http://ffmpeg.zeranoe.com/builds/>
    
    Build: ffmpeg-4.2.2-win32-static
    
    Configuration:
      --enable-gpl
      --enable-version3
      --enable-sdl2
      --enable-fontconfig
      --enable-gnutls
      --enable-iconv
      --enable-libass
      --enable-libdav1d
      --enable-libbluray
      --enable-libfreetype
      --enable-libmp3lame
      --enable-libopencore-amrnb
      --enable-libopencore-amrwb
      --enable-libopenjpeg
      --enable-libopus
      --enable-libshine
      --enable-libsnappy
      --enable-libsoxr
      --enable-libtheora
      --enable-libtwolame
      --enable-libvpx
      --enable-libwavpack
      --enable-libwebp
      --enable-libx264
      --enable-libx265
      --enable-libxml2
      --enable-libzimg
      --enable-lzma
      --enable-zlib
      --enable-gmp
      --enable-libvidstab
      --enable-libvorbis
      --enable-libvo-amrwbenc
      --enable-libmysofa
      --enable-libspeex
      --enable-libxvid
      --enable-libaom
      --enable-libmfx
      --enable-amf
      --enable-ffnvcodec
      --enable-cuvid
      --enable-d3d11va
      --enable-nvenc
      --enable-nvdec
      --enable-dxva2
      --enable-avisynth
      --enable-libopenmpt
    
    Libraries:
      SDL               20200120-cb4dae5  <https://libsdl.org>
      Fontconfig        2.13.92           <http://freedesktop.org/wiki/Software/fontconfig>
      GnuTLS            3.6.11.1          <https://gnutls.org/>
      libiconv          1.16              <http://gnu.org/software/libiconv>
      libass            0.14.0            <https://github.com/libass/libass>
      dav1d             20200115-010eae8  <https://code.videolan.org/videolan/dav1d>
      libbluray         20191112-137974c  <https://www.videolan.org/developers/libbluray.html>
      FreeType          2.10.1            <http://freetype.sourceforge.net>
      LAME              3.100             <http://lame.sourceforge.net>
      OpenCORE AMR      20170731-07a5be4  <https://sourceforge.net/projects/opencore-amr>
      OpenJPEG          20200113-b63a433  <https://github.com/uclouvain/openjpeg>
      Opus              20200119-6d29f51  <https://opus-codec.org>
      shine             20190420-76ea4f0  <https://github.com/savonet/shine>
      Snappy            1.1.7             <https://github.com/google/snappy>
      libsoxr           20180224-945b592  <http://sourceforge.net/projects/soxr>
      Theora            20171023-e5d205b  <http://theora.org>
      TwoLAME           0.4.0             <http://twolame.org>
      vpx               20200118-b78d3b2  <http://webmproject.org>
      WavPack           5.2.0             <http://wavpack.com>
      WebP              20200106-0fa56f3  <https://developers.google.com/speed/webp>
      x264              20191127-1771b55  <https://www.videolan.org/developers/x264.html>
      x265              20200120-acc5d16  <https://bitbucket.org/multicoreware/x265/wiki/Home>
      libxml2           2.9.10            <http://xmlsoft.org>
      z.lib             20191204-9ae36d7  <https://github.com/sekrit-twc/zimg>
      XZ Utils          5.2.4             <http://tukaani.org/xz>
      zlib              1.2.11            <http://zlib.net>
      GMP               6.1.2             <https://gmplib.org>
      vid.stab          20190213-aeabc8d  <http://public.hronopik.de/vid.stab>
      Vorbis            20190128-9eadecc  <http://vorbis.com>
      VisualOn AMR-WB   20141107-3b3fcd0  <https://sourceforge.net/projects/opencore-amr>
      libmysofa         20190907-e07edb3  <https://github.com/hoene/libmysofa>
      Speex             20190808-58ac1d4  <http://speex.org>
      Xvid              1.3.5             <https://labs.xvid.com>
      aom               20200120-412efe2  <https://aomedia.googlesource.com/aom>
      libmfx            1.28              <https://software.intel.com/en-us/media-sdk>
      AMF               20191216-acbd877  <https://gpuopen.com/gaming-product/advanced-media-framework>
      nv-codec-headers  20191126-250292d  <https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git>
      OpenMPT           20191010-51cb021  <https://openmpt.org>
    
    Copyright (C) 2020 Kyle Schwarz
    
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    Quote Quote  
  21. I have downloaded the version below and it goes a bit further and fetches until 56th segment and then it stops.


    ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
    built with gcc 8 (Debian 8.3.0-6)
    configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
    libavutil 56. 31.100 / 56. 31.100
    libavcodec 58. 54.100 / 58. 54.100
    libavformat 58. 29.100 / 58. 29.100
    libavdevice 58. 8.100 / 58. 8.100
    libavfilter 7. 57.100 / 7. 57.100
    libswscale 5. 5.100 / 5. 5.100
    libswresample 3. 5.100 / 3. 5.100
    libpostproc 55. 5.100 / 55. 5.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
    Quote Quote  
  22. Originally Posted by ecolek View Post
    I have downloaded the version below and it goes a bit further and fetches until 56th segment and then it stops.
    Are you using VPN? I use Nord VPN.
    I have no idea what's happening.
    I tried again and I got the same result as you, stops after 50ish segment.
    Then I tried another Swiss server, I think the same I used yesterday when I succeeded, it goes to the end but throws an error
    Code:
    Error when loading first segment 'https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/segment-1-f7.vtt?aka_me_session_id=AAAAAAAAAAAbT9BgAAAAAAfyC+g3gaUxL00kIC1ukK3QbMVAF5Io9XaYvmptQK4fIpOPYphQF3RGgCwi3qWaEpjFyqWmGZ8d&aka_msn=1&aka_hls_version=3&aka_media_format_type=hls'
    https://rts-vod-amd.akamaized.net/ch/hls/12274261/d53cddc8-9375-38a4-b225-9016ba31ba02/index-f7.m3u8?aka_me_session_id=AAAAAAAAAAAbT9BgAAAAAAfyC+g3gaUxL00kIC1ukK3QbMVAF5Io9XaYvmptQK4fIpOPYphQF3RGgCwi3qWaEpjFyqWmGZ8d&aka_media_format_type=hls: Invalid data found when processing input
    Quote Quote  
  23. I have succeeded again with Swiss #308 on Nord VPN.
    Quote Quote  



Similar Threads

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