-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ArteTV] Wrong subtitles language #9242
Comments
seems to be a long-standing issue that also occurs in stable and is unrelated to the closed captions patch |
You are right, this happens also on master [debug] Command-line config: ['--list-subs', 'https://www.arte.tv/fr/videos/110970-002-A', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.12.30 from yt-dlp/yt-dlp [f10589e34] (zip)
[debug] Python 3.11.7 (CPython arm64 64bit) - macOS-14.1.1-arm64-arm-64bit (OpenSSL 3.2.1 30 Jan 2024)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.45.1, urllib3-1.26.18, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.12.30 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.12.30 from yt-dlp/yt-dlp)
[ArteTV] Extracting URL: https://www.arte.tv/fr/videos/110970-002-A
[ArteTV] 110970-002-A: Downloading JSON metadata
WARNING: [ArteTV] Video is geo restricted. Retrying extraction with fake IP 82.117.29.126 (LI) as X-Forwarded-For.
[ArteTV] Extracting URL: https://www.arte.tv/fr/videos/110970-002-A
[ArteTV] 110970-002-A: Downloading JSON metadata
[ArteTV] 110970-002-A: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available subtitles for 110970-002-A:
Language Formats
fr vtt, vtt
de vtt, vtt
en vtt |
The m3u8 served by Arte tags those tracks as English:
To solve this temporarily we could add more language overwrites based on the file URL, but to solve this properly, yt-dlp needs to support for subtitle track names and additional flags such as "forced" and "hearing impaired". |
I stopped using https://www.arte.tv/ |
Unfortunately, most of the georestricted content is not available on YouTube. This includes a large part of the Cinema catalogue, some documentaries and series. |
Is it possible to preset a language with yt-dlp?
I have to download the audio and video tracks separately and then merge them with ffmpeg. Well, it works, but it's annoying. It would be nice if it would always use "VA-STA-audio_0-Deutsch" and if this language is not available, print a message like "language not available" and stop. Edit: I'm no heavy Githuber and I don't how know to open a new issue. |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
France, Germany
Provide a description that is worded well enough to be understood
I'm testing the nightly version to try the new feature that collect closed captions (aka language-acc.vtt) subtitles from arte.tv.
I discovered that some subtitles tracks that does not exist on the website are downloaded.
The English subtitle is actually in French and the browser does not display any english track
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: