Skip to content

[TwitCasting] ERROR: Initialization fragment found after media fragments, unable to download #5497

@kigsdect

Description

@kigsdect

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

Region

Japan

Provide a description that is worded well enough to be understood

I cannot download specific movie on twitcasting.
I confirmed that some other movie on twitcasting can be downloaded.
command-line out put with this command yt-dlp -vU https://twitcasting.tv/kanbaland/movie/750481849 is below.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://twitcasting.tv/kanbaland/movie/750481849']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pip) API
[debug] Python 3.9.15 (CPython 64bit) - macOS-12.6-arm64-arm-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [TwitCasting] Extracting URL: https://twitcasting.tv/kanbaland/movie/750481849
[TwitCasting] 750481849: Downloading webpage
[TwitCasting] 750481849: Downloading live info
[TwitCasting] 750481849: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 750481849: Downloading 1 format(s): 2458
[debug] Invoking hlsnative downloader on "https://dl193235.twitcasting.tv/tc.vod.v2/v1/streams/750481849.0.2.1.1667737969/hls/v0/media.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 891
[download] Destination: イオちゃんねる1 [750481849].mp4
ERROR: Initialization fragment found after media fragments, unable to download
  File "/opt/homebrew/bin/yt-dlp", line 33, in <module>
    sys.exit(load_entry_point('yt-dlp==2022.10.4', 'console_scripts', 'yt-dlp')())
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/__init__.py", line 966, in main
    _exit(*variadic(_real_main(argv)))
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/__init__.py", line 958, in _real_main
    return ydl.download(all_urls)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3318, in download
    self.__download_wrapper(self.extract_info)(
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3293, in wrapper
    res = func(*args, **kwargs)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1466, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1477, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1574, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1632, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2733, in process_video_result
    self.process_info(new_info)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3196, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2920, in dl
    return fd.download(name, new_info, subtitle)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/downloader/common.py", line 446, in download
    ret = self.real_download(filename, info_dict)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/downloader/hls.py", line 188, in real_download
    self.report_error(
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 996, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/opt/homebrew/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 925, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Metadata

Metadata

Assignees

No one assigned

    Labels

    patch-availableThere is patch available that should fix this issue. Someone needs to make a PR with itsite-bugIssue with a specific website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions