VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. I think we discussed this once, search around this sub-forum.
    ffmpeg should be able to download and decrypt, however, the problem was with the VPN servers.
    Or it was a problem with the version of ffmpeg.

    Yes, it was the ffmpeg version.
    Just use the version that comes with Streamlink

    Image
    [Attachment 60654 - Click to enlarge]


    Erm, this version stopped at part 227 -_-

    Dude, you are the same guy from previous thread...
    https://forum.videohelp.com/threads/400673-Using-ffmpeg-to-dowload-webvtt-subtitles?highlight=rts.ch
    Last edited by [ss]vegeta; 10th Sep 2021 at 05:46.
    Quote Quote  
  2. Originally Posted by [ss]vegeta View Post
    I think we discussed this once, search around this sub-forum.
    ffmpeg should be able to download and decrypt, however, the problem was with the VPN servers.
    Or it was a problem with the version of ffmpeg.

    Yes, it was the ffmpeg version.
    Just use the version that comes with Streamlink

    Image
    [Attachment 60654 - Click to enlarge]


    Erm, this version stopped at part 227 -_-

    Dude, you are the same guy from previous thread...
    https://forum.videohelp.com/threads/400673-Using-ffmpeg-to-dowload-webvtt-subtitles?highlight=rts.ch
    Yes, I continue to have issues with extracting subtitles from the movies available at RTS.CH so I did ask similar questions in the past. I wouldn't have bothered you with my requests if I had found effective solution.

    Since I use Ubuntu 20.04.1 as an OS, current version of streamlink is 2.0.0. Can you advise how to use ffmpeg version particularly from this package for my purpose?
    Quote Quote  
  3. Originally Posted by ecolek View Post
    Can you advise how to use ffmpeg version particularly from this package for my purpose?
    No.
    Quote Quote  
  4. hello,

    Again I started to have issues with extracting VTT subtitles from the movies published at RTS.CH.
    So far streamlink app has worked fine for this purpose, now I get the error below.


    This is the movie:

    https://www.rts.ch/play/tv/le-crime-lui-va-si-bien/video/mauvais-role?urn=urn:rts:video:12857136

    which are being kept in in the URL below

    https://rts-vod-amd.akamaized.net/ch/12857136/039689bb-1a3d-3797-81cc-17e4678afa3f/ind...ormat_type=hls

    When I try to use streamlink (version 1.7.0 or 3.1.1) for this purpose, got this error below:

    streamlink --http-header "User-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0" --http-header "Referer=https://www.rts.ch/" -o "index-f6.ts" "https://rts-vod-amd.akamaized.net/ch/12857136/039689bb-1a3d-3797-81cc-17e4678afa3f/index-f6.m3u8?aka_me_session_id=AAAAAAAAAABqUw5iAAAAAFSl jKFUPZQBYI6vaP%2fYc+K4kPjoHIk4JgKtcikwDtctEjCWj3jT tht%2f8+PpxEafxa1sA4UvrZUA&aka_media_format_type=h ls" worst
    [cli][info] Found matching plugin hls for URL https://rts-vod-amd.akamaized.net/ch/12857136/039689bb-1a3d-3797-81cc-17e4678afa3f/ind...ormat_type=hls
    [cli][info] Available streams: live (worst, best)
    [cli][info] Opening stream: live (hls)
    Exception in thread Thread-HLSStreamWriter:
    Traceback (most recent call last):
    File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
    File "/usr/lib/python3/dist-packages/streamlink/stream/segmented.py", line 190, in run
    self.write(segment, result)
    File "/usr/lib/python3/dist-packages/streamlink/stream/hls.py", line 157, in write
    self.reader.buffer.write(pkcs7_decode(decrypted_ch unk))
    File "/usr/lib/python3/dist-packages/streamlink/stream/hls.py", line 34, in pkcs7_decode
    raise StreamError("Input is not padded or padding is corrupt, got padding size of {0}".format(val))
    streamlink.exceptions.StreamError: Input is not padded or padding is corrupt, got padding size of 206

    ^CInterrupted! Exiting...
    [cli][info] Closing currently open stream...

    Any idea how to fix this issue? Is there any patched version of streamlink available?

    Any alternate method to extract this VTT subtitles?

    regards
    EC
    Quote Quote  
  5. youtube-dl --hls-prefer-native "https://rts-vod-amd.akamaized.net/ch/12857136/039689bb-1a3d-3797-81cc-17e4678afa3f/index-f6.m3u8?aka_me_session_id=AAAAAAAAAAB1eQ5iAAAAABKW VGWG7kWpbAI8ijTv5xlB56lcCtm+Qnz4cG3YTlPxdyl90PCi%2 fJOQeY5oV2Obp969xTVG8Ctq&aka_media_format_type=hls "
    [generic] index-f6: Requesting header
    [generic] index-f6: Downloading m3u8 information
    [hlsnative] Downloading m3u8 manifest
    [hlsnative] Total fragments: 673
    [download] Destination: index-f6-index-f6.mp4
    [download] 100% of 126.20KiB in 04:25

    Remove more superfluous in text editor.
    Quote Quote  
  6. Originally Posted by LZAA View Post
    youtube-dl --hls-prefer-native "https://rts-vod-amd.akamaized.net/ch/12857136/039689bb-1a3d-3797-81cc-17e4678afa3f/index-f6.m3u8?aka_me_session_id=AAAAAAAAAAB1eQ5iAAAAABKW VGWG7kWpbAI8ijTv5xlB56lcCtm+Qnz4cG3YTlPxdyl90PCi%2 fJOQeY5oV2Obp969xTVG8Ctq&aka_media_format_type=hls "
    [..]

    Remove more superfluous in text editor.
    Thanks LZAA, it did work.
    Quote Quote  



Similar Threads

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