yt-dlp: [TVer] ERROR: [brightcove:new] Unable to download JSON metadata: HTTP Error 404: Not Found
Checklist
- I’m reporting that yt-dlp is broken on a supported site
- I’ve verified that I have updated yt-dlp to nightly or master (update instructions)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
Japan
Provide a description that is worded well enough to be understood
I tried to rip a TV drama that TVer streams. But the result is like these and I fail to rip them.
$ yt-dlp https://tver.jp/episodes/epkhujfaub [TVer] Creating session [TVer] Extracting URL: https://tver.jp/episodes/epkhujfaub [TVer] epkhujfaub: Downloading episode info [TVer] epkhujfaub: Downloading video info [brightcove:new] Extracting URL: http://players.brightcove.net/6191645753001/default_default/index.html?videoId=ref:F1ymguk7h_js7#...3A+["JP"]} [brightcove:new] ref:F1ymguk7h_js7: Downloading JSON metadata ERROR: [brightcove:new] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)
$ yt-dlp -vU https://tver.jp/episodes/epkhujfaub [debug] Command-line config: [‘-vU’, ‘https://tver.jp/episodes/epkhujfaub’] [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@2025.02.19 from yt-dlp/yt-dlp [4985a4041] (zip) [debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-55-generic-x86_64-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39) [debug] exe versions: ffmpeg N-116451-ge7d3ff8dcd (fdk,setts), ffprobe N-116451-ge7d3ff8dcd [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.46.0, requests-2.31.0, sqlite3-3.45.1, urllib3-2.0.7, websockets-10.4 [debug] Proxy map: {} [debug] Request Handlers: urllib [debug] Loaded 1841 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: stable@2025.02.19 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2025.02.19 from yt-dlp/yt-dlp) [TVer] Creating session [TVer] Extracting URL: https://tver.jp/episodes/epkhujfaub [TVer] epkhujfaub: Downloading episode info [TVer] epkhujfaub: Downloading video info [brightcove:new] Extracting URL: http://players.brightcove.net/6191645753001/default_default/index.html?videoId=ref:F1ymguk7h_js7#__youtubedl_smuggle={“geo_countries”%3A+[“JP”]} [debug] Using fake IP 133.223.223.164 (JP) as X-Forwarded-For [debug] Loading brightcove.6191645753001_default from cache [brightcove:new] ref:F1ymguk7h_js7: Downloading JSON metadata ERROR: [brightcove:new] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>) File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py”, line 746, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/brightcove.py”, line 908, in _real_extract json_data = self._download_json(api_url, video_id, headers=headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py”, line 1143, in download_content res = getattr(self, download_handle.name)(url_or_request, video_id, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py”, line 1101, in download_handle res = self._download_webpage_handle( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/adobepass.py”, line 1367, in _download_webpage_handle return super()._download_webpage_handle( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py”, line 966, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py”, line 915, in _request_webpage raise ExtractorError(errmsg, cause=err)
File “/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_urllib.py”, line 398, in _send res = opener.open(urllib_req, timeout=self._calculate_timeout(request)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.12/urllib/request.py”, line 521, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.12/urllib/request.py”, line 630, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.12/urllib/request.py”, line 559, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.12/urllib/request.py”, line 492, in _call_chain result = func(*args) ^^^^^^^^^^^ File “/usr/lib/python3.12/urllib/request.py”, line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File “/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py”, line 902, in _request_webpage return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/YoutubeDL.py”, line 4175, in urlopen return self._request_director.send(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/networking/common.py”, line 117, in send response = handler.send(request) ^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_helper.py”, line 208, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/networking/common.py”, line 340, in send return self._send(request) ^^^^^^^^^^^^^^^^^^^ File “/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_urllib.py”, line 403, in _send raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop=‘redirect error’ in str(e)) from e yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found
$ yt-dlp ‘https://tver.jp/episodes/ep6numadcw?p=0&play=auto’ [TVer] Creating session [TVer] Extracting URL: https://tver.jp/episodes/ep6numadcw?p=0&play=auto [TVer] ep6numadcw: Downloading episode info [TVer] ep6numadcw: Downloading video info [brightcove:new] Extracting URL: http://players.brightcove.net/5718741494001/default_default/index.html?videoId=ref:5cebfe09-4414-...3A+[“JP”]} [brightcove:new] ref:5cebfe09-4414-452e-843d-7278468f5632: Downloading JSON metadata [brightcove:new] ref:5cebfe09-4414-452e-843d-7278468f5632: Downloading JSON metadata ERROR: [brightcove:new] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)
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': TruetoYoutubeDLparams instead - Copy the WHOLE output (starting with
[debug] Command-line config) and insert it below
Complete Verbose Output
$ yt-dlp -vU https://tver.jp/episodes/epkhujfaub
[debug] Command-line config: ['-vU', 'https://tver.jp/episodes/epkhujfaub']
[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@2025.02.19 from yt-dlp/yt-dlp [4985a4041] (zip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-55-generic-x86_64-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg N-116451-ge7d3ff8dcd (fdk,setts), ffprobe N-116451-ge7d3ff8dcd
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.46.0, requests-2.31.0, sqlite3-3.45.1, urllib3-2.0.7, websockets-10.4
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1841 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2025.02.19 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2025.02.19 from yt-dlp/yt-dlp)
[TVer] Creating session
[TVer] Extracting URL: https://tver.jp/episodes/epkhujfaub
[TVer] epkhujfaub: Downloading episode info
[TVer] epkhujfaub: Downloading video info
[brightcove:new] Extracting URL: http://players.brightcove.net/6191645753001/default_default/index.html?videoId=ref:F1ymguk7h_js7#__youtubedl_smuggle=%7B%22geo_countries%22%3A+%5B%22JP%22%5D%7D
[debug] Using fake IP 133.223.223.164 (JP) as X-Forwarded-For
[debug] Loading brightcove.6191645753001_default from cache
[brightcove:new] ref:F1ymguk7h_js7: Downloading JSON metadata
ERROR: [brightcove:new] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 746, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/brightcove.py", line 908, in _real_extract
json_data = self._download_json(api_url, video_id, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 1143, in download_content
res = getattr(self, download_handle.__name__)(url_or_request, video_id, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 1101, in download_handle
res = self._download_webpage_handle(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/adobepass.py", line 1367, in _download_webpage_handle
return super()._download_webpage_handle(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 966, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 915, in _request_webpage
raise ExtractorError(errmsg, cause=err)
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 902, in _request_webpage
return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4175, in urlopen
return self._request_director.send(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/common.py", line 117, in send
response = handler.send(request)
^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/common.py", line 340, in send
return self._send(request)
^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found
--------
$ yt-dlp -vU https://tver.jp/episodes/ep6numadcw
[debug] Command-line config: ['-vU', 'https://tver.jp/episodes/ep6numadcw']
[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@2025.02.19 from yt-dlp/yt-dlp [4985a4041] (zip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-55-generic-x86_64-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg N-116451-ge7d3ff8dcd (fdk,setts), ffprobe N-116451-ge7d3ff8dcd
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.46.0, requests-2.31.0, sqlite3-3.45.1, urllib3-2.0.7, websockets-10.4
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1841 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2025.02.19 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2025.02.19 from yt-dlp/yt-dlp)
[TVer] Creating session
[TVer] Extracting URL: https://tver.jp/episodes/ep6numadcw
[TVer] ep6numadcw: Downloading episode info
[TVer] ep6numadcw: Downloading video info
[brightcove:new] Extracting URL: http://players.brightcove.net/5718741494001/default_default/index.html?videoId=ref:5cebfe09-4414-452e-843d-7278468f5632#__youtubedl_smuggle=%7B%22geo_countries%22%3A+%5B%22JP%22%5D%7D
[debug] Using fake IP 133.222.126.91 (JP) as X-Forwarded-For
[debug] Loading brightcove.5718741494001_default from cache
[brightcove:new] ref:5cebfe09-4414-452e-843d-7278468f5632: Downloading JSON metadata
ERROR: [brightcove:new] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 746, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/brightcove.py", line 908, in _real_extract
json_data = self._download_json(api_url, video_id, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 1143, in download_content
res = getattr(self, download_handle.__name__)(url_or_request, video_id, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 1101, in download_handle
res = self._download_webpage_handle(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/adobepass.py", line 1367, in _download_webpage_handle
return super()._download_webpage_handle(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 966, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 915, in _request_webpage
raise ExtractorError(errmsg, cause=err)
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.12/urllib/request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/emmanuel/bin/yt-dlp/yt_dlp/extractor/common.py", line 902, in _request_webpage
return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4175, in urlopen
return self._request_director.send(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/common.py", line 117, in send
response = handler.send(request)
^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/common.py", line 340, in send
return self._send(request)
^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 34 (15 by maintainers)
Commits related to this issue
- [ie/TVer] Fix extractor (#12659) Closes #12643, Closes #12282 Authored by: arabcoders, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> — committed to yt-dlp/yt-dlp by arabcoders 2 years ago
- [ie/TVer] Fix extractor (#12659) Closes #12643, Closes #12282 Authored by: arabcoders, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> — committed to subrat-lima/yt-dlp by arabcoders 2 years ago
For people who don’t want to miss this week episodes you can continue using your current yt-dlp install and simply override the tver extractor using the following method until the PR is merged and pushed.
Edit:
Please see
https://gist.github.com/arabcoders/21162f44a99ba9ad96db28bc43fc83a0
The instructions in the GitHub issue on longer valid as i have to make sweeping changes to the internal
tver.pyto be compatible withyt-dlpstreaks baseclass implementation.i working through the code base so far i am able to download 1080 ts stream without encryption even though their manifest mention a key.
I’ve found a solution and the PR #12659 should fix it
Sadly the m3u8 manifest itself lacks the information about the audio streams, Alternatively we can probably assign static value for each stream but i fear the streams may change order and screw things up.
Unless someone smarter than me comes up with a solution i am afraid i can’t see a alternative solution to this problem.
Indeed sorry that was oversight on my part. i have pushed fix re-download the updated file and it should work now.
The issue with the -f, --format that you have set in your config file most likely as the command is working for me
please refer to this comment https://github.com/yt-dlp/yt-dlp/issues/12643#issuecomment-2744686104
I have fixed the order using static value as requested https://github.com/yt-dlp/yt-dlp/pull/12659/commits/2b39e34b3f7cc15ce844b132ebd02b3f6b51f739
arabcoders, thank you for your hard work.
I try using your modified yt-dlp with around 4 TVer videos and found it mistakenly selects an audio format of lower quality.
TVer videos on STREAKS seem to have 4 audio formats:
All the bitrates of the audio formats are unknown, and maybe for that reason, the last format
...-1_2-...is selected:But the best quality are
...-0_1-...and...-0_2-....I downloaded all the audio formats:
And I found out that:
0_1and0_2are identical and1_1and1_2are identical.0_Nformats have a bitrate of 164 kb/s and a filesize of 55 MB.1_Nformats have a bitrate of 125 kb/s and a filesize of 42 MB.Do you all have any ideas to solve the problem?
P.S. The bitrates of TVer videos on Brightcove also unknown, but that doesn’t cause any trouble if you just download with the default, because yt-dlp selects the best format that contains both video and audio, whose bitrate is known.
Yeah, sorry i had to make the tver extractor use relative imports like the other extractors, which means it will no longer works directly from plugins, So, do the following to get it to work
Replace
to
Edit: this no longer valid please see https://gist.github.com/arabcoders/21162f44a99ba9ad96db28bc43fc83a0
You can also put it into your portable yt-dlp folder in the following location: \your-yt-dlp-folder\yt-dlp-plugins\tver\yt_dlp_plugins\extractor\tver.py
We can add extract-specific audio quality similar to https://github.com/yt-dlp/yt-dlp/commit/a1b4ac2b8ed8e6eaa56044d439f1e0d00c2ba218
Indeed, but we can always fix it when it happens. It’s better than consistently using the worst format (at the moment).