MServer icon indicating copy to clipboard operation
MServer copied to clipboard

Arte-Mediathek in Full-HD

Open bernhard42 opened this issue 1 year ago • 8 comments

Die Arte-Mediathek bietet seit ein paar Wochen Titel in Full-HD an. Die Downloads in der Qualität hoch laden jedoch nur Dateien in 720p.

bernhard42 avatar Apr 02 '23 14:04 bernhard42

+1

MalEbenSo avatar Jun 17 '23 12:06 MalEbenSo

https://www.arte.tv/de/videos/RC-022710/programme-in-uhd-qualitaet/ https://www.arte.tv/de/videos/098830-002-A/nationalparks-der-zukunft/

[debug] Command-line config: ['-vvv', '-F', 'https://www.arte.tv/de/videos/098830-002-A/nationalparks-der-zukunft/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] [c54ddfba0]
[debug] Python 3.12.0rc3 (CPython x86_64 64bit) - Linux-6.5.5-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-glibc2.38 (OpenSSL 3.1.3 19 Sep 2023, glibc 2.38)
[debug] exe versions: ffmpeg N-112191-g58b6c0c327 (fdk,setts), ffprobe N-112191-g58b6c0c327, rtmpdump 2.4
[debug] Optional libraries: brotli-1.1.0, certifi-3021.03.16, pycrypto-3.18.0, sqlite3-3.43.1
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[ArteTV] Extracting URL: https://www.arte.tv/de/videos/098830-002-A/nationalparks-der-zukunft/
[ArteTV] 098830-002-A: Downloading JSON metadata
[ArteTV] 098830-002-A: Downloading m3u8 information
[ArteTV] 098830-002-A: Downloading m3u8 information
[ArteTV] 098830-002-A: Downloading m3u8 information
[ArteTV] 098830-002-A: Downloading m3u8 information
[ArteTV] 098830-002-A: Downloading m3u8 information
[ArteTV] 098830-002-A: Downloading m3u8 information
[ArteTV] 098830-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 formats for 098830-002-A:
ID                                 EXT RESOLUTION FPS │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC     MORE INFO
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
VF-audio_0-VF                      mp4 audio only     │                  m3u8  │ audio only          unknown    [fr] Französisch [FR]
VOEU-STE_ANG_-program_audio_0-VOEU mp4 audio only     │                  m3u8  │ audio only          unknown    [mul] UT Englisch [OmU-ANG]
VOA-audio_0-VOA                    mp4 audio only     │                  m3u8  │ audio only          unknown    [de] Deutsch [DE]
VOA-STMA-program_audio_0-VOA       mp4 audio only     │                  m3u8  │ audio only          unknown    [de] Deutsch (Hörgeschädigte) [UT]
VOA-1630                           mp4 768x432     25 │ ~517.23MiB 1631k m3u8  │ avc1.4d401e   1631k video only Deutsch [DE]
VOA-2325                           mp4 1280x720    25 │ ~737.66MiB 2326k m3u8  │ avc1.4d401f   2326k video only Deutsch [DE]
VOA-4196                           mp4 1920x1080   25 │ ~  1.30GiB 4196k m3u8  │ hev1.1.6.L120 4196k video only Deutsch [DE]
VOA-9426                           mp4 3840x2160   25 │ ~  2.92GiB 9427k m3u8  │ hev1.1.6.L150 9427k video only Deutsch [DE]
VOA-STMA-560                       mp4 384x216     25 │ ~177.70MiB  560k m3u8  │ avc1.42e00d    560k video only Deutsch (Hörgeschädigte) [UT]
VOA-STMA-923                       mp4 640x360     25 │ ~292.76MiB  923k m3u8  │ avc1.4d401e    923k video only Deutsch (Hörgeschädigte) [UT]
VOA-STMA-1343                      mp4 768x432     25 │ ~425.95MiB 1343k m3u8  │ avc1.4d401e   1343k video only Deutsch (Hörgeschädigte) [UT]
VOA-STMA-2183                      mp4 1280x720    25 │ ~692.56MiB 2184k m3u8  │ avc1.4d401f   2184k video only Deutsch (Hörgeschädigte) [UT]
VOA-STMA-2467                      mp4 1920x1080   25 │ ~782.65MiB 2468k m3u8  │ avc1.4d0028   2468k video only Deutsch (Hörgeschädigte) [UT]

Leider auch nur maximal "hoch" in 720p über mediathekviewweb.de

jospezial avatar Sep 30 '23 13:09 jospezial

das Problem ist, dass ich bisher keinen Weg gefunden habe, an mp4-Urls mit FullHD/UHD zu kommen. ARTE bietet diese Auflösungen nur über m3u8-Urls an, die MediathekViewWeb und einige andere Clients nicht nutzen können.

Bei ORF+SRF sind diese mangels mp4-Urls im Einsatz, aber für ARTE haben wir uns bisher dagegen entschieden auf m3u8 umzustellen.

pidoubleyou avatar Oct 03 '23 18:10 pidoubleyou

Das klingt danach, dass m3u8-URLs Nachteile haben. Welche?

Kann man beide Download-Optionen anbieten? D. h. mp4-URLs bis 720p, m3u8-URLs darüber?

MalEbenSo avatar Oct 04 '23 13:10 MalEbenSo

m3u8 Dateien sind Playlisten und keine direkten Videodateien

alex1702 avatar Oct 04 '23 15:10 alex1702

Was bedeutet dieser Unterschied für die Umsetzung?

Grundsätzlich scheinen m3u8-Links zu funktionieren, siehe ORF und SRF.

Ginge das auch bei Arte für den Zugang zu Auflösungen > 720p?

MalEbenSo avatar Oct 05 '23 06:10 MalEbenSo

Ginge das auch bei Arte für den Zugang zu Auflösungen > 720p?

Leider nicht so einfach, da der Crawler unterschiedliche ARTE-Schnittstellen aufrufen müsste und das aufgrund der Laufzeit des Crawlers leider nicht möglich ist.

pidoubleyou avatar Oct 09 '23 19:10 pidoubleyou

@MalEbenSo sagte: Kann man beide Download-Optionen anbieten? D. h. mp4-URLs bis 720p, m3u8-URLs darüber?

Das Problem mit den zwei API wurde dir von @pidoubleyou schon erläutert, was auch im Kontext mit Untertiteln hier auf GitHub schon mal im Fokus stand. Im Forum findet sich das entsprechende Thema hier.

Als Workaround kann man JDownloader aus MV heraus zum Downloaden von Versionen mit Untertiteln unterschiedlicher Sprachen verwenden, leider funktioniert das mit der Full-HD-Version nicht – zumindest nicht bei der obigen Beispielssendung (https://www.arte.tv/de/videos/098830-002-A/nationalparks-der-zukunft/), wo yt-dlp zu funktionieren scheint.

styroll avatar Oct 21 '23 16:10 styroll