1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00
yt-dlp/yt_dlp
Alexandre Ramos 8ec164054e Fix #9970: FFmpeg requires ext in filename for FFmpegMetadataPP
Output templates resulting in filenames with only dots preceding the
extension would be passed to ffmpeg for embeding metadata with .temp
in the extension field because os.path.splitext would not find and
extension field in those filenames.
As a result ffmpeg would fail to determine what the output extension
should be and fail.
To solve this a must_have_ext argument was added to _change_extension
so that where a extension is required the expected extension will be
used in those cases where os.path.splitext returns an empty string for
the extension field.
existing_video_file in YoutubeDL.py was also changed so it won't
overwrite info_dict['ext'] with an empty string if os.path.splitext
returns an empty string for the extension field. This fixes #9970 .
2025-03-22 18:26:18 +00:00
..
__pyinstaller [rh:curlcffi] Add support for curl_cffi 2024-03-16 23:15:11 -05:00
compat [cleanup] Deprecate more compat functions (#11439) 2024-11-17 00:24:11 +01:00
dependencies [core] Catch broken Cryptodome installations (#11486) 2024-11-10 00:53:49 +01:00
downloader Fix external downloader availability when using --ffmpeg-location (#12318) 2025-02-23 08:50:43 +00:00
extractor [cleanup] Misc (#12526) 2025-03-21 23:41:56 +00:00
networking [networking] Always add unsupported suffix on version mismatch (#12626) 2025-03-16 12:45:44 +01:00
postprocessor Fix #9970: FFmpeg requires ext in filename for FFmpegMetadataPP 2025-03-22 18:26:18 +00:00
utils Fix #9970: FFmpeg requires ext in filename for FFmpegMetadataPP 2025-03-22 18:26:18 +00:00
__init__.py [core] Load plugins on demand (#11305) 2025-02-23 11:00:46 +13:00
__main__.py [docs] Misc Cleanup (#8977) 2024-03-11 00:48:47 +05:30
aes.py [cleanup] Misc (#12526) 2025-03-21 23:41:56 +00:00
cache.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
cookies.py [cookies] Add --cookies-from-browser support for MS Store Firefox (#11731) 2024-12-04 18:41:58 +01:00
globals.py Fix lazy extractor state (Fix 4445f37a7a) (#12452) 2025-02-23 09:44:27 +01:00
jsinterp.py [cleanup] Misc (#12526) 2025-03-21 23:41:56 +00:00
minicurses.py [docs] Consistent use of e.g. (#4643) 2022-08-14 17:34:13 +05:30
options.py [core] Load plugins on demand (#11305) 2025-02-23 11:00:46 +13:00
plugins.py [core] Load plugins on demand (#11305) 2025-02-23 11:00:46 +13:00
socks.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
update.py [cleanup] Misc (#12526) 2025-03-21 23:41:56 +00:00
version.py Release 2025.03.21 2025-03-21 23:49:09 +00:00
webvtt.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
YoutubeDL.py Fix #9970: FFmpeg requires ext in filename for FFmpegMetadataPP 2025-03-22 18:26:18 +00:00