mediathekview / MServer

Server zum Steuern des Crawler
https://mediathekview.de
GNU General Public License v3.0
69 stars 19 forks source link

Arte-Mediathek in Full-HD #932

Open bernhard42 opened 1 year ago

bernhard42 commented 1 year ago

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.

MalEbenSo commented 1 year ago

+1

jospezial commented 1 year ago

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 stable@2023.09.28.1 [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

pidoubleyou commented 1 year ago

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.

MalEbenSo commented 1 year ago

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?

alex1702 commented 1 year ago

m3u8 Dateien sind Playlisten und keine direkten Videodateien

MalEbenSo commented 1 year ago

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?

pidoubleyou commented 12 months ago

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.

styroll commented 11 months ago

@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.