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

[drtv] audio formats listed with m3u8 extension #8589

Closed
10 of 11 tasks
werid opened this issue Nov 16, 2023 · 0 comments · Fixed by #8590
Closed
10 of 11 tasks

[drtv] audio formats listed with m3u8 extension #8589

werid opened this issue Nov 16, 2023 · 0 comments · Fixed by #8590
Labels
site-bug Issue with a specific website

Comments

@werid
Copy link

werid commented Nov 16, 2023

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

Denmark

Provide a description that is worded well enough to be understood

The latest fix for drtv have introduced a new issue. Audio formats are listed with m3u8 extension instead of m4a.

This causes audio only downloads to be saved with m3u8 extension, and when downloading video+audio it merges to mkv instead of mp4.

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: ['-v', '--proxy', 'http://192.168.0.13:8888', '-F', 'https://www.dr.dk/drtv/episode/sportsmagasinet_415499']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version master@2023.11.15.232812 from yt-dlp/yt-dlp-master-builds [15cb3528c] (zip)
[debug] Python 3.9.18 (CPython amd64 64bit) - FreeBSD-13.2-RELEASE-p1-amd64-64bit-ELF (OpenSSL 1.1.1t-freebsd  7 Feb 2023, libc 7)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, requests-2.31.0, sqlite3-3.43.1, urllib3-2.1.0, websockets-10.4
[debug] Proxy map: {'all': 'http://192.168.0.13:8888'}
[debug] Request Handlers: urllib, requests
[debug] Extractor Plugins: TTUser (TikTokUserIE)
[debug] Plugin directories: ['/home/weird/.local/lib/python3.9/site-packages/yt_dlp_plugins']
[debug] Loaded 1901 extractors
[drtv] Downloading anonymous token
[drtv] Extracting URL: https://www.dr.dk/drtv/episode/sportsmagasinet_415499
[drtv] sportsmagasinet_415499: Downloading webpage
[drtv] 00602304440: Downloading stream data
[drtv] 00602304440: Downloading m3u8 information
[drtv] 00602304440: 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 00602304440:
ID                                             EXT  RESOLUTION FPS │   FILESIZE   TBR PROTO │ VCODEC        VBR ACODEC     MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
video_hls-SpokenSubtitles-audio_low-English    m3u8 audio only     │                  m3u8  │ audio only        unknown    [en] English
video_hls-SpokenSubtitles-audio_medium-English m3u8 audio only     │                  m3u8  │ audio only        unknown    [en] English
video_hls-AUDIO-English                        m3u8 audio only     │                  m3u8  │ audio only        unknown    [en] English
video_hls-AUDIO-English_2                      m3u8 audio only     │                  m3u8  │ audio only        unknown    [en] English_2
video_hls-SpokenSubtitles-628                  mp4  640x360     25 │ ~123.57MiB  628k m3u8  │ avc1.42C01E  628k video only
video_hls-SpokenSubtitles-1224                 mp4  852x480     25 │ ~240.72MiB 1224k m3u8  │ avc1.64001F 1224k video only
video_hls-SpokenSubtitles-2184                 mp4  960x540     25 │ ~429.52MiB 2184k m3u8  │ avc1.640028 2184k video only
video_hls-SpokenSubtitles-3674                 mp4  1280x720    25 │ ~722.68MiB 3675k m3u8  │ avc1.640029 3675k video only
video_hls-SpokenSubtitles-5658                 mp4  1280x720    25 │ ~  1.09GiB 5658k m3u8  │ avc1.640029 5658k video only
video_hls-691                                  mp4  640x360     25 │ ~135.90MiB  691k m3u8  │ avc1.42C01E  691k video only
video_hls-1285                                 mp4  852x480     25 │ ~252.81MiB 1286k m3u8  │ avc1.64001F 1286k video only
video_hls-2186                                 mp4  960x540     50 │ ~429.92MiB 2186k m3u8  │ avc1.640028 2186k video only
video_hls-3677                                 mp4  1280x720    50 │ ~723.15MiB 3677k m3u8  │ avc1.640029 3677k video only
video_hls-5665                                 mp4  1280x720    50 │ ~  1.09GiB 5666k m3u8  │ avc1.640029 5666k video only

[debug] Command-line config: ['-v', '--proxy', 'http://192.168.0.13:8888', 'https://www.dr.dk/drtv/episode/sportsmagasinet_415499']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version master@2023.11.15.232812 from yt-dlp/yt-dlp-master-builds [15cb3528c] (zip)
[debug] Python 3.9.18 (CPython amd64 64bit) - FreeBSD-13.2-RELEASE-p1-amd64-64bit-ELF (OpenSSL 1.1.1t-freebsd  7 Feb 2023, libc 7)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, requests-2.31.0, sqlite3-3.43.1, urllib3-2.1.0, websockets-10.4
[debug] Proxy map: {'all': 'http://192.168.0.13:8888'}
[debug] Request Handlers: urllib, requests
[debug] Extractor Plugins: TTUser (TikTokUserIE)
[debug] Plugin directories: ['/home/weird/.local/lib/python3.9/site-packages/yt_dlp_plugins']
[debug] Loaded 1901 extractors
[drtv] Downloading anonymous token
[drtv] Extracting URL: https://www.dr.dk/drtv/episode/sportsmagasinet_415499
[drtv] sportsmagasinet_415499: Downloading webpage
[drtv] 00602304440: Downloading stream data
[drtv] 00602304440: Downloading m3u8 information
[drtv] 00602304440: 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] 00602304440: Downloading 1 format(s): video_hls-5665+video_hls-AUDIO-English_2
[debug] Invoking hlsnative downloader on "https://drod21i.akamaized.net/dk/clear/none/86/6535862191240928fc467786/00602304440/stream_fmp4/Sportsmagasinet_DRTV2022Jan_HDp50_16x9_VideoMain_video_5500.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 162
[download] Destination: Sportsmagasinet [00602304440].fvideo_hls-5665.mp4
[download] 100% of    1.03GiB in 00:01:00 at 17.40MiB/s
[debug] Invoking hlsnative downloader on "https://drod21i.akamaized.net/dk/clear/none/86/6535862191240928fc467786/00602304440/stream_fmp4/Sportsmagasinet_DRTV2022Jan_HDp50_16x9_VideoMain_audio_128kbps.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 162
[download] Destination: Sportsmagasinet [00602304440].fvideo_hls-AUDIO-English_2.m3u8
[download] 100% of   24.90MiB in 00:00:19 at 1.28MiB/s
[debug] ffmpeg command line: ffprobe -show_streams 'file:Sportsmagasinet [00602304440].fvideo_hls-AUDIO-English_2.m3u8'
[Merger] Merging formats into "Sportsmagasinet [00602304440].mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Sportsmagasinet [00602304440].fvideo_hls-5665.mp4' -i 'file:Sportsmagasinet [00602304440].fvideo_hls-AUDIO-English_2.m3u8' -c copy -map 0:v:0 -map 1:a:0 -bsf:a:0 aac_adtstoasc -movflags +faststart 'file:Sportsmagasinet [00602304440].temp.mkv'
Deleting original file Sportsmagasinet [00602304440].fvideo_hls-5665.mp4 (pass -k to keep)
Deleting original file Sportsmagasinet [00602304440].fvideo_hls-AUDIO-English_2.m3u8 (pass -k to keep)
@werid werid added site-bug Issue with a specific website triage Untriaged issue labels Nov 16, 2023
@pukkandan pukkandan removed the triage Untriaged issue label Nov 16, 2023
bashonly pushed a commit that referenced this issue Nov 16, 2023
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this issue Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants