pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/yt-dlp yt-dlp: Update to 2022.5.18
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d1600b91f43
branches: trunk
changeset: 380285:4d1600b91f43
user: leot <leot%pkgsrc.org@localhost>
date: Thu Jun 02 22:07:41 2022 +0000
description:
yt-dlp: Update to 2022.5.18
Changes:
### 2022.05.18
* Add support for SSL client certificate authentication by coletdjnz and dirkf
* Adds `--client-certificate`, `--client-certificate-key`,
`--client-certificate-password`
* Add `--match-filter -` to interactively ask for each video
* `--max-downloads` should obey `--break-per-input`
* Allow use of weaker ciphers with `--legacy-server-connect`
* Don't imply `-s` for later stages of `-O`
* Fix `--date today`
* Fix `--skip-unavailable-fragments`
* Fix color in `-q -F`
* Fix redirect HTTP method handling by coletdjnz
* Improve `--clean-infojson`
* Remove warning for videos with an empty title
* Run `FFmpegFixupM3u8PP` for live-streams if needed
* Show name of downloader in verbose log
* [cookies] Allow `cookiefile` to be a text stream
* [cookies] Report progress when importing cookies
* [downloader/ffmpeg] Specify headers for each URL by elyse0
* [fragment] Do not change chunk-size when `--test`
* [fragment] Make single thread download work for `--live-from-start` by
Lesmiscore
* [hls] Fix `byte_range` for `EXT-X-MAP` fragment by fstirlitz
* [http] Fix retrying on read timeout by coletdjnz
* [ffmpeg] Fix features detection
* [EmbedSubtitle] Enable for more video extensions
* [EmbedThumbnail] Disable thumbnail conversion for mkv by evansp
* [EmbedThumbnail] Do not obey `-k`
* [EmbedThumbnail] Do not remove id3v1 tags
* [FFmpegMetadata] Remove `\0` from metadata
* [FFmpegMetadata] Remove filename from attached info-json
* [FixupM3u8] Obey `--hls-prefer-mpegts`
* [Sponsorblock] Don't crash when duration is unknown
* [XAttrMetadata] Refactor and document dependencies
* [extractor] Document netrc machines
* [extractor] Update `manifest_url`s after redirect by elyse0
* [extractor] Update dash `manifest_url` after redirects by elyse0
* [extractor] Use `classmethod`/`property` where possible
* [generic] Refactor `_extract_rss`
* [utils] `is_html`: Handle double BOM
* [utils] `locked_file`: Ignore illegal seek on `truncate` by jakeogh
* [utils] `sanitize_path`: Fix when path is empty string
* [utils] `write_string`: Workaround newline issue in `conhost`
* [utils] `certifi`: Make sure the pem file exists
* [utils] Fix `WebSocketsWrapper`
* [utils] `locked_file`: Do not give executable bits for newly created files by Lesmiscore
* [utils] `YoutubeDLCookieJar`: Detect and reject JSON file by Lesmiscore
* [test] Convert warnings into errors and fix some existing warnings by fstirlitz
* [dependencies] Create module with all dependency imports
* [compat] Split into sub-modules by fstirlitz, pukkandan
* [compat] Implement `compat.imghdr`
* [build] Add `make uninstall` by MrRawes
* [build] Avoid use of `install -D`
* [build] Fix `Makefile` by putnam
* [build] Fix `--onedir` on macOS
* [build] Add more test-runners
* [cleanup] Deprecate some compat vars by fstirlitz, pukkandan
* [cleanup] Remove unused code paths, extractors, scripts and tests by fstirlitz
* [cleanup] Upgrade syntax (`pyupgrade`) and sort imports (`isort`)
* [cleanup, docs, build] Misc fixes
* [BilibiliLive] Add extractor by HE7086, pukkandan
* [Fifa] Add Extractor by Bricio
* [goodgame] Add extractor by nevack
* [gronkh] Add playlist extractors by hatienl0i261299
* [icareus] Add extractor by tpikonen, pukkandan
* [iwara] Add playlist extractors by i6t
* [Likee] Add extractor by hatienl0i261299
* [masters] Add extractor by m4tu4g
* [nebula] Add support for subscriptions by hheimbuerger
* [Podchaser] Add extractors by connercsbn
* [rokfin:search] Add extractor by P-reducible, pukkandan
* [youtube] Add `:ytnotifications` extractor by krichbanana
* [youtube] Add YoutubeStoriesIE (`ytstories:<channel UCID>`) by coletdjnz
* [ZingMp3] Add chart and user extractors by hatienl0i261299
* [adn] Update AES key by elyse0
* [adobepass] Allow cookies for authenticating MSO
* [bandcamp] Exclude merch links by Yipten
* [chingari] Fix archiving and tests
* [DRTV] Improve `_VALID_URL` by vertan
* [facebook] Improve thumbnail extraction by Wikidepia
* [fc2] Stop heatbeating once FFmpeg finishes by Lesmiscore
* [Gofile] Fix extraction and support password-protected links by mehq
* [hotstar, cleanup] Refactor extractors
* [InfoQ] Don't fail on missing audio format by evansp
* [Jamendo] Extract more metadata by evansp
* [kaltura] Update API calls by flashdagger
* [KhanAcademy] Fix extractor by rand-net
* [LCI] Fix extractor by MarwenDallel
* [lrt] Support livestreams by GiedriusS
* [niconico] Set `expected_protocol` to a public field
* [Niconico] Support 2FA by ekangmonyet
* [Olympics] Fix format extension
* [openrec:movie] Enable fallback for /movie/ URLs
* [PearVideo] Add fallback for formats by hatienl0i261299
* [radiko] Fix extractor by Lesmiscore
* [rai] Add `release_year`
* [reddit] Prevent infinite loop
* [rokfin] Implement login by P-reducible, pukkandan
* [ruutu] Support hs.fi embeds by tpikonen, pukkandan
* [spotify] Detect iframe embeds by fstirlitz
* [telegram] Fix metadata extraction
* [tmz, cleanup] Update tests by diegorodriguezv
* [toggo] Fix `_VALID_URL` by ca-za
* [trovo] Update to new API by nyuszika7h
* [TVer] Improve extraction by Lesmiscore
* [twitcasting] Pass headers for each formats by Lesmiscore
* [VideocampusSachsen] Improve extractor by FestplattenSchnitzel
* [vimeo] Fix extractors
* [wat] Fix extraction of multi-language videos and subtitles by elyse0
* [wistia] Fix `_VALID_URL` by dirkf
* [youtube, cleanup] Minor refactoring by coletdjnz, pukkandan
* [youtube] Added piped instance urls by JordanWeatherby
* [youtube] Deprioritize auto-generated thumbnails
* [youtube] Deprioritize format 22 (often damaged)
* [youtube] Fix episode metadata extraction
* [zee5] Fix extractor by Ashish0804
* [zingmp3, cleanup] Refactor extractors
diffstat:
net/yt-dlp/Makefile | 4 +-
net/yt-dlp/PLIST | 77 ++++++++-------
net/yt-dlp/distinfo | 10 +-
net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py | 12 +-
4 files changed, 56 insertions(+), 47 deletions(-)
diffs (274 lines):
diff -r 1d983c3da346 -r 4d1600b91f43 net/yt-dlp/Makefile
--- a/net/yt-dlp/Makefile Thu Jun 02 21:24:51 2022 +0000
+++ b/net/yt-dlp/Makefile Thu Jun 02 22:07:41 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/05/08 03:51:20 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/06/02 22:07:41 leot Exp $
-DISTNAME= yt-dlp-2022.4.8
+DISTNAME= yt-dlp-2022.5.18
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yt-dlp/}
# \TODO: create symlink, as mpv makes use of youtube-dl?
diff -r 1d983c3da346 -r 4d1600b91f43 net/yt-dlp/PLIST
--- a/net/yt-dlp/PLIST Thu Jun 02 21:24:51 2022 +0000
+++ b/net/yt-dlp/PLIST Thu Jun 02 22:07:41 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2022/05/08 03:51:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2022/06/02 22:07:41 leot Exp $
bin/yt-dlp
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -21,12 +21,33 @@
${PYSITELIB}/yt_dlp/cache.py
${PYSITELIB}/yt_dlp/cache.pyc
${PYSITELIB}/yt_dlp/cache.pyo
-${PYSITELIB}/yt_dlp/compat.py
-${PYSITELIB}/yt_dlp/compat.pyc
-${PYSITELIB}/yt_dlp/compat.pyo
+${PYSITELIB}/yt_dlp/compat/__init__.py
+${PYSITELIB}/yt_dlp/compat/__init__.pyc
+${PYSITELIB}/yt_dlp/compat/__init__.pyo
+${PYSITELIB}/yt_dlp/compat/_deprecated.py
+${PYSITELIB}/yt_dlp/compat/_deprecated.pyc
+${PYSITELIB}/yt_dlp/compat/_deprecated.pyo
+${PYSITELIB}/yt_dlp/compat/_legacy.py
+${PYSITELIB}/yt_dlp/compat/_legacy.pyc
+${PYSITELIB}/yt_dlp/compat/_legacy.pyo
+${PYSITELIB}/yt_dlp/compat/asyncio.py
+${PYSITELIB}/yt_dlp/compat/asyncio.pyc
+${PYSITELIB}/yt_dlp/compat/asyncio.pyo
+${PYSITELIB}/yt_dlp/compat/compat_utils.py
+${PYSITELIB}/yt_dlp/compat/compat_utils.pyc
+${PYSITELIB}/yt_dlp/compat/compat_utils.pyo
+${PYSITELIB}/yt_dlp/compat/imghdr.py
+${PYSITELIB}/yt_dlp/compat/imghdr.pyc
+${PYSITELIB}/yt_dlp/compat/imghdr.pyo
+${PYSITELIB}/yt_dlp/compat/re.py
+${PYSITELIB}/yt_dlp/compat/re.pyc
+${PYSITELIB}/yt_dlp/compat/re.pyo
${PYSITELIB}/yt_dlp/cookies.py
${PYSITELIB}/yt_dlp/cookies.pyc
${PYSITELIB}/yt_dlp/cookies.pyo
+${PYSITELIB}/yt_dlp/dependencies.py
+${PYSITELIB}/yt_dlp/dependencies.pyc
+${PYSITELIB}/yt_dlp/dependencies.pyo
${PYSITELIB}/yt_dlp/downloader/__init__.py
${PYSITELIB}/yt_dlp/downloader/__init__.pyc
${PYSITELIB}/yt_dlp/downloader/__init__.pyo
@@ -315,9 +336,6 @@
${PYSITELIB}/yt_dlp/extractor/bleacherreport.py
${PYSITELIB}/yt_dlp/extractor/bleacherreport.pyc
${PYSITELIB}/yt_dlp/extractor/bleacherreport.pyo
-${PYSITELIB}/yt_dlp/extractor/blinkx.py
-${PYSITELIB}/yt_dlp/extractor/blinkx.pyc
-${PYSITELIB}/yt_dlp/extractor/blinkx.pyo
${PYSITELIB}/yt_dlp/extractor/blogger.py
${PYSITELIB}/yt_dlp/extractor/blogger.pyc
${PYSITELIB}/yt_dlp/extractor/blogger.pyo
@@ -636,9 +654,6 @@
${PYSITELIB}/yt_dlp/extractor/discoverygo.py
${PYSITELIB}/yt_dlp/extractor/discoverygo.pyc
${PYSITELIB}/yt_dlp/extractor/discoverygo.pyo
-${PYSITELIB}/yt_dlp/extractor/discoveryvr.py
-${PYSITELIB}/yt_dlp/extractor/discoveryvr.pyc
-${PYSITELIB}/yt_dlp/extractor/discoveryvr.pyo
${PYSITELIB}/yt_dlp/extractor/disney.py
${PYSITELIB}/yt_dlp/extractor/disney.pyc
${PYSITELIB}/yt_dlp/extractor/disney.pyo
@@ -765,9 +780,6 @@
${PYSITELIB}/yt_dlp/extractor/euscreen.py
${PYSITELIB}/yt_dlp/extractor/euscreen.pyc
${PYSITELIB}/yt_dlp/extractor/euscreen.pyo
-${PYSITELIB}/yt_dlp/extractor/everyonesmixtape.py
-${PYSITELIB}/yt_dlp/extractor/everyonesmixtape.pyc
-${PYSITELIB}/yt_dlp/extractor/everyonesmixtape.pyo
${PYSITELIB}/yt_dlp/extractor/expotv.py
${PYSITELIB}/yt_dlp/extractor/expotv.pyc
${PYSITELIB}/yt_dlp/extractor/expotv.pyo
@@ -798,6 +810,9 @@
${PYSITELIB}/yt_dlp/extractor/fczenit.py
${PYSITELIB}/yt_dlp/extractor/fczenit.pyc
${PYSITELIB}/yt_dlp/extractor/fczenit.pyo
+${PYSITELIB}/yt_dlp/extractor/fifa.py
+${PYSITELIB}/yt_dlp/extractor/fifa.pyc
+${PYSITELIB}/yt_dlp/extractor/fifa.pyo
${PYSITELIB}/yt_dlp/extractor/filmmodu.py
${PYSITELIB}/yt_dlp/extractor/filmmodu.pyc
${PYSITELIB}/yt_dlp/extractor/filmmodu.pyo
@@ -876,9 +891,6 @@
${PYSITELIB}/yt_dlp/extractor/fusion.py
${PYSITELIB}/yt_dlp/extractor/fusion.pyc
${PYSITELIB}/yt_dlp/extractor/fusion.pyo
-${PYSITELIB}/yt_dlp/extractor/fxnetworks.py
-${PYSITELIB}/yt_dlp/extractor/fxnetworks.pyc
-${PYSITELIB}/yt_dlp/extractor/fxnetworks.pyo
${PYSITELIB}/yt_dlp/extractor/gab.py
${PYSITELIB}/yt_dlp/extractor/gab.pyc
${PYSITELIB}/yt_dlp/extractor/gab.pyo
@@ -948,6 +960,9 @@
${PYSITELIB}/yt_dlp/extractor/golem.py
${PYSITELIB}/yt_dlp/extractor/golem.pyc
${PYSITELIB}/yt_dlp/extractor/golem.pyo
+${PYSITELIB}/yt_dlp/extractor/goodgame.py
+${PYSITELIB}/yt_dlp/extractor/goodgame.pyc
+${PYSITELIB}/yt_dlp/extractor/goodgame.pyo
${PYSITELIB}/yt_dlp/extractor/googledrive.py
${PYSITELIB}/yt_dlp/extractor/googledrive.pyc
${PYSITELIB}/yt_dlp/extractor/googledrive.pyo
@@ -1047,6 +1062,9 @@
${PYSITELIB}/yt_dlp/extractor/hypem.py
${PYSITELIB}/yt_dlp/extractor/hypem.pyc
${PYSITELIB}/yt_dlp/extractor/hypem.pyo
+${PYSITELIB}/yt_dlp/extractor/icareus.py
+${PYSITELIB}/yt_dlp/extractor/icareus.pyc
+${PYSITELIB}/yt_dlp/extractor/icareus.pyo
${PYSITELIB}/yt_dlp/extractor/ichinanalive.py
${PYSITELIB}/yt_dlp/extractor/ichinanalive.pyc
${PYSITELIB}/yt_dlp/extractor/ichinanalive.pyo
@@ -1134,9 +1152,6 @@
${PYSITELIB}/yt_dlp/extractor/kaltura.py
${PYSITELIB}/yt_dlp/extractor/kaltura.pyc
${PYSITELIB}/yt_dlp/extractor/kaltura.pyo
-${PYSITELIB}/yt_dlp/extractor/kanalplay.py
-${PYSITELIB}/yt_dlp/extractor/kanalplay.pyc
-${PYSITELIB}/yt_dlp/extractor/kanalplay.pyo
${PYSITELIB}/yt_dlp/extractor/karaoketv.py
${PYSITELIB}/yt_dlp/extractor/karaoketv.pyc
${PYSITELIB}/yt_dlp/extractor/karaoketv.pyo
@@ -1230,6 +1245,9 @@
${PYSITELIB}/yt_dlp/extractor/lifenews.py
${PYSITELIB}/yt_dlp/extractor/lifenews.pyc
${PYSITELIB}/yt_dlp/extractor/lifenews.pyo
+${PYSITELIB}/yt_dlp/extractor/likee.py
+${PYSITELIB}/yt_dlp/extractor/likee.pyc
+${PYSITELIB}/yt_dlp/extractor/likee.pyo
${PYSITELIB}/yt_dlp/extractor/limelight.py
${PYSITELIB}/yt_dlp/extractor/limelight.pyc
${PYSITELIB}/yt_dlp/extractor/limelight.pyo
@@ -1299,6 +1317,9 @@
${PYSITELIB}/yt_dlp/extractor/massengeschmacktv.py
${PYSITELIB}/yt_dlp/extractor/massengeschmacktv.pyc
${PYSITELIB}/yt_dlp/extractor/massengeschmacktv.pyo
+${PYSITELIB}/yt_dlp/extractor/masters.py
+${PYSITELIB}/yt_dlp/extractor/masters.pyc
+${PYSITELIB}/yt_dlp/extractor/masters.pyo
${PYSITELIB}/yt_dlp/extractor/matchtv.py
${PYSITELIB}/yt_dlp/extractor/matchtv.pyc
${PYSITELIB}/yt_dlp/extractor/matchtv.pyo
@@ -1566,9 +1587,6 @@
${PYSITELIB}/yt_dlp/extractor/nobelprize.py
${PYSITELIB}/yt_dlp/extractor/nobelprize.pyc
${PYSITELIB}/yt_dlp/extractor/nobelprize.pyo
-${PYSITELIB}/yt_dlp/extractor/noco.py
-${PYSITELIB}/yt_dlp/extractor/noco.pyc
-${PYSITELIB}/yt_dlp/extractor/noco.pyo
${PYSITELIB}/yt_dlp/extractor/nonktube.py
${PYSITELIB}/yt_dlp/extractor/nonktube.pyc
${PYSITELIB}/yt_dlp/extractor/nonktube.pyo
@@ -1797,6 +1815,9 @@
${PYSITELIB}/yt_dlp/extractor/plutotv.py
${PYSITELIB}/yt_dlp/extractor/plutotv.pyc
${PYSITELIB}/yt_dlp/extractor/plutotv.pyo
+${PYSITELIB}/yt_dlp/extractor/podchaser.py
+${PYSITELIB}/yt_dlp/extractor/podchaser.pyc
+${PYSITELIB}/yt_dlp/extractor/podchaser.pyo
${PYSITELIB}/yt_dlp/extractor/podomatic.py
${PYSITELIB}/yt_dlp/extractor/podomatic.pyc
${PYSITELIB}/yt_dlp/extractor/podomatic.pyo
@@ -2148,9 +2169,6 @@
${PYSITELIB}/yt_dlp/extractor/spiegel.py
${PYSITELIB}/yt_dlp/extractor/spiegel.pyc
${PYSITELIB}/yt_dlp/extractor/spiegel.pyo
-${PYSITELIB}/yt_dlp/extractor/spiegeltv.py
-${PYSITELIB}/yt_dlp/extractor/spiegeltv.pyc
-${PYSITELIB}/yt_dlp/extractor/spiegeltv.pyo
${PYSITELIB}/yt_dlp/extractor/spike.py
${PYSITELIB}/yt_dlp/extractor/spike.pyc
${PYSITELIB}/yt_dlp/extractor/spike.pyo
@@ -2247,9 +2265,6 @@
${PYSITELIB}/yt_dlp/extractor/tass.py
${PYSITELIB}/yt_dlp/extractor/tass.pyc
${PYSITELIB}/yt_dlp/extractor/tass.pyo
-${PYSITELIB}/yt_dlp/extractor/tastytrade.py
-${PYSITELIB}/yt_dlp/extractor/tastytrade.pyc
-${PYSITELIB}/yt_dlp/extractor/tastytrade.pyo
${PYSITELIB}/yt_dlp/extractor/tbs.py
${PYSITELIB}/yt_dlp/extractor/tbs.pyc
${PYSITELIB}/yt_dlp/extractor/tbs.pyo
@@ -2415,9 +2430,6 @@
${PYSITELIB}/yt_dlp/extractor/tubitv.py
${PYSITELIB}/yt_dlp/extractor/tubitv.pyc
${PYSITELIB}/yt_dlp/extractor/tubitv.pyo
-${PYSITELIB}/yt_dlp/extractor/tudou.py
-${PYSITELIB}/yt_dlp/extractor/tudou.pyc
-${PYSITELIB}/yt_dlp/extractor/tudou.pyo
${PYSITELIB}/yt_dlp/extractor/tumblr.py
${PYSITELIB}/yt_dlp/extractor/tumblr.pyc
${PYSITELIB}/yt_dlp/extractor/tumblr.pyo
@@ -2625,9 +2637,6 @@
${PYSITELIB}/yt_dlp/extractor/vidlii.py
${PYSITELIB}/yt_dlp/extractor/vidlii.pyc
${PYSITELIB}/yt_dlp/extractor/vidlii.pyo
-${PYSITELIB}/yt_dlp/extractor/vidzi.py
-${PYSITELIB}/yt_dlp/extractor/vidzi.pyc
-${PYSITELIB}/yt_dlp/extractor/vidzi.pyo
${PYSITELIB}/yt_dlp/extractor/vier.py
${PYSITELIB}/yt_dlp/extractor/vier.pyc
${PYSITELIB}/yt_dlp/extractor/vier.pyo
diff -r 1d983c3da346 -r 4d1600b91f43 net/yt-dlp/distinfo
--- a/net/yt-dlp/distinfo Thu Jun 02 21:24:51 2022 +0000
+++ b/net/yt-dlp/distinfo Thu Jun 02 22:07:41 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2022/05/08 03:51:20 wiz Exp $
+$NetBSD: distinfo,v 1.11 2022/06/02 22:07:41 leot Exp $
-BLAKE2s (yt-dlp-2022.4.8.tar.gz) = b7744186ceb9a67037231f873d1946ea6bcf423d2782eb0db2e27f0b769dbca3
-SHA512 (yt-dlp-2022.4.8.tar.gz) = b2d865682ba44dbd168cd76089105fc1d7ff2d79ba884c9626b3a4009c05f07eccaed2b8801318e89e3e197affc70aad68c1813590eef2a5148ded9c037bf0ce
-Size (yt-dlp-2022.4.8.tar.gz) = 2257195 bytes
+BLAKE2s (yt-dlp-2022.5.18.tar.gz) = c1c3c8f37d938c71692e6d558e039e437d552210de690964c7af9570ebec1c1c
+SHA512 (yt-dlp-2022.5.18.tar.gz) = d0c11e6dba336124898e73234c5935386163af8a9dbbe3e2c38ec834ff631557a763e5224c30747dcffcf98364b95b7f1b6121c50ef91ed56653e2ce453548b5
+Size (yt-dlp-2022.5.18.tar.gz) = 2277146 bytes
SHA1 (patch-setup.py) = 7f3394a2b9737424e4c47c0f31488a8b2fef0bcb
-SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = 14b28b921d7a698946a93a0fe8a4043bc21691af
+SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = 6cf38b7b677509973eb4ce922c206efa0c9e0144
diff -r 1d983c3da346 -r 4d1600b91f43 net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py
--- a/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py Thu Jun 02 21:24:51 2022 +0000
+++ b/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py Thu Jun 02 22:07:41 2022 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.5 2022/05/08 03:51:20 wiz Exp $
+$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.6 2022/06/02 22:07:41 leot Exp $
Also look and use ffmpeg[234]/ffprobe[234] if possible, preferring
the unversioned one (i.e. selected via alternatives framework)
or the newest one.
From: pkgsrc/net/youtube-dl
---- yt_dlp/postprocessor/ffmpeg.py.orig 2022-04-08 09:56:58.000000000 +0000
+--- yt_dlp/postprocessor/ffmpeg.py.orig 2022-05-18 03:37:24.000000000 +0000
+++ yt_dlp/postprocessor/ffmpeg.py
-@@ -91,7 +91,7 @@ class FFmpegPostProcessor(PostProcessor)
+@@ -85,7 +85,7 @@ class FFmpegPostProcessor(PostProcessor)
_version_cache, _features_cache = {}, {}
def _determine_executables(self):
@@ -16,7 +16,7 @@
def get_ffmpeg_version(path, prog):
if path in self._version_cache:
-@@ -144,7 +144,7 @@ class FFmpegPostProcessor(PostProcessor)
+@@ -138,7 +138,7 @@ class FFmpegPostProcessor(PostProcessor)
basename = os.path.splitext(os.path.basename(location))[0]
basename = next((p for p in programs if basename.startswith(p)), 'ffmpeg')
dirname = os.path.dirname(os.path.abspath(location))
@@ -24,8 +24,8 @@
+ if basename in ('ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2'):
prefer_ffmpeg = True
- self._paths = dict(
-@@ -237,7 +237,7 @@ class FFmpegPostProcessor(PostProcessor)
+ self._paths = {
+@@ -231,7 +231,7 @@ class FFmpegPostProcessor(PostProcessor)
return None
def get_metadata_object(self, path, opts=[]):
Home |
Main Index |
Thread Index |
Old Index