Skip to content
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

[SRGSSR] the only audio track downloaded is the audio description track, instead of the default #9827

Open
11 tasks done
k1llz0000ne opened this issue Apr 30, 2024 · 4 comments
Labels
geo-blocked Content is geo-blocked site-bug Issue with a specific website triage Untriaged issue

Comments

@k1llz0000ne
Copy link

k1llz0000ne commented Apr 30, 2024

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

Switzerland

Provide a description that is worded well enough to be understood

The audio track that downloads is the audio description track, for some reason, instead of the normal one, which is what I want (and which I assume would be the default since the normal one plays by default). This is on "rts.ch" which uses the same extractor as "srf.ch". Content on site is geolocked to Switzerland (but works with a VPN).

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [ac817bc83] (pip)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 2023-03-02-git-814178f926-full_build-www.gyan.dev (setts), ffprobe 2023-03-02-git-814178f926-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.06.15, mutagen-1.46.0, requests-2.31.0, sqlite3-3.40.1, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds)
[SRGSSRPlay] Extracting URL: https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085
[SRGSSR] Extracting URL: srgssr:rts:video:13756085
[SRGSSR] 13756085: Downloading JSON metadata
[SRGSSR] 13756085: 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
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 13756085: Downloading 1 format(s): HLS-H264-HD-2128+HLS-H264-HD-audio0-Français__AD_
[debug] Invoking hlsnative downloader on "https://rts-vod-amd.akamaized.net/ch/13756085/76043c88-759a-3f84-a0c3-817f297e8f44/index-f3-v1.m3u8?aka_me_session_id=AAAAAAAAAADo6DFmAAAAALaVjtnYHGHGqj6YK5wFkDBReTZL4aFRUhtP2l9fBXZE4XQGtMO2EMdAVw7Wi2RKKAm4d2kW9ADp&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 391
[download] Destination: Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-2128.mp4
[debug] File locking is not supported. Proceeding without locking
[download]   3.5% of ~ 675.38MiB at    3.09MiB/s ETA 03:16 (frag 15/391)^C
F:\Filestuff>yt-dlp -vU "https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085"
[debug] Command-line config: ['-vU', 'https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [ac817bc83] (pip)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 2023-03-02-git-814178f926-full_build-www.gyan.dev (setts), ffprobe 2023-03-02-git-814178f926-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.06.15, mutagen-1.46.0, requests-2.31.0, sqlite3-3.40.1, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds)
[SRGSSRPlay] Extracting URL: https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085
[SRGSSR] Extracting URL: srgssr:rts:video:13756085
[SRGSSR] 13756085: Downloading JSON metadata
[SRGSSR] 13756085: 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
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 13756085: Downloading 1 format(s): HLS-H264-HD-2128+HLS-H264-HD-audio0-Français__AD_
[debug] Invoking hlsnative downloader on "https://rts-vod-amd.akamaized.net/ch/13756085/76043c88-759a-3f84-a0c3-817f297e8f44/index-f3-v1.m3u8?aka_me_session_id=AAAAAAAAAABI6TFmAAAAAEytzaRq%2foRZx3JXApoYrMd5mh0wBXxABoKomyppIyBw39ZMJtoFk8MJVHpuQlVuWGmLrX%2f6vynu&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 391
[download] Destination: Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-2128.mp4
[debug] File locking is not supported. Proceeding without locking
[download] 100% of  764.75MiB in 00:05:12 at 2.45MiB/s
[debug] Invoking hlsnative downloader on "https://rts-vod-amd.akamaized.net/ch/13756085/76043c88-759a-3f84-a0c3-817f297e8f44/index-f4-a1.m3u8?aka_me_session_id=AAAAAAAAAABI6TFmAAAAAEytzaRq%2foRZx3JXApoYrMd5mh0wBXxABoKomyppIyBw39ZMJtoFk8MJVHpuQlVuWGmLrX%2f6vynu&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 391
[download] Destination: Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-audio0-Français__AD_.mp4
[download] 100% of   52.16MiB in 00:03:21 at 265.69KiB/s
[debug] ffmpeg command line: ffprobe -show_streams "file:Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-audio0-Français__AD_.mp4"
[Merger] Merging formats into "Les survivants de l’OTS parlent 1⧸4 [13756085].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-2128.mp4" -i "file:Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-audio0-Français__AD_.mp4" -c copy -map 0:v:0 -map 1:a:0 -bsf:a:0 aac_adtstoasc -movflags +faststart "file:Les survivants de l’OTS parlent 1⧸4 [13756085].temp.mp4"
Deleting original file Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-audio0-Français__AD_.mp4 (pass -k to keep)
Deleting original file Les survivants de l’OTS parlent 1⧸4 [13756085].fHLS-H264-HD-2128.mp4 (pass -k to keep)
@k1llz0000ne k1llz0000ne added site-bug Issue with a specific website triage Untriaged issue labels Apr 30, 2024
@fnair

This comment was marked as off-topic.

@bashonly
Copy link
Member

bashonly commented May 6, 2024

@fnair please open a new issue with a complete verbose log

@bashonly
Copy link
Member

bashonly commented May 6, 2024

@k1llz0000ne can you show the output of yt-dlp -vF "https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085" ?

@bashonly bashonly added the geo-blocked Content is geo-blocked label May 6, 2024
@k1llz0000ne
Copy link
Author

k1llz0000ne commented May 10, 2024

@k1llz0000ne can you show the output of yt-dlp -vF "https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085" ?

yt-dlp -vF "https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085"
[debug] Command-line config: ['-vF', 'https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [6b54ccc] (pip)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t 7 Feb 2023)
[debug] exe versions: ffmpeg 2023-03-02-git-814178f926-full_build-www.gyan.dev (setts), ffprobe 2023-03-02-git-814178f926-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.06.15, mutagen-1.46.0, requests-2.31.0, sqlite3-3.40.1, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[SRGSSRPlay] Extracting URL: https://www.rts.ch/play/tv/-/video/les-survivants-de-lots-parlent-14?urn=urn:rts:video:13756085
[SRGSSR] Extracting URL: srgssr:rts:video:13756085
[SRGSSR] 13756085: Downloading JSON metadata
[SRGSSR] 13756085: 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 formats for 13756085:
ID EXT RESOLUTION FPS │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC MORE INFO
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
HLS-H264-HD-audio0-Français mp4 audio only │ m3u8 │ audio only unknown [fr] Français
HLS-H264-HD-audio0-Français__AD_ mp4 audio only │ m3u8 │ audio only unknown [fr] Français (AD)
HLS-H264-HD-628 mp4 484x272 25 │ ~231.87MiB 628k m3u8 │ avc1.4d401f 628k video only
HLS-H264-HD-1328 mp4 640x360 25 │ ~490.35MiB 1328k m3u8 │ avc1.4d401f 1328k video only
HLS-H264-HD-2128 mp4 960x540 25 │ ~785.78MiB 2128k m3u8 │ avc1.4d401f 2128k video only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geo-blocked Content is geo-blocked site-bug Issue with a specific website triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

3 participants