Hello,
can you help me to extract subtitles from this movie? I can't figure out how to do it with youtube-dl or ffmpeg
https://www.rts.ch/play/tv/telefilm/video/le-pont-du-diable?urn=urn:rts:video:12469395
https://rts-vod-amd.akamaized.net/ch/hls/12469395/ed5c1c67-1fb4-3ca0-ae49-b44c816546e9/master.m3u8
TIA
br
EC
+ Reply to Thread
Results 1 to 9 of 9
-
-
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
[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.chLast edited by [ss]vegeta; 10th Sep 2021 at 05:46.
-
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? -
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 -
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.
Similar Threads
-
Problem with extracting tx3g subtitles
By Fleand in forum Video ConversionReplies: 21Last Post: 21st Jul 2021, 10:28 -
Extracting subtitles from m4v/mp4.
By protoX in forum SubtitleReplies: 54Last Post: 16th Dec 2020, 12:26 -
Extracting subtitles fom ripped BD
By carlmart in forum SubtitleReplies: 1Last Post: 10th Sep 2019, 14:04 -
Issue extracting subtitles from DVD with VSRip
By Vitality in forum SubtitleReplies: 3Last Post: 17th Oct 2018, 14:00 -
Question/Help Regarding Extracting Subtitles
By truegalbklyn in forum SubtitleReplies: 1Last Post: 15th Sep 2016, 11:40