Embed Thumbnail Fails Due to Unsafe Exec Command in yt-dlp
Describe the bug
When "embed thumbnail" is enabled, every download fails immediately. This is because yt-dlp recently blocked the command Parabolic uses to crop thumbnails, treating it as unsafe. Nothing downloads at all until this is fixed.
Describe the expected result
Downloads should complete with the thumbnail embedded and cropped correctly.
URL
any
Download Options
No response
Debugging Information
[debug] Command-line config: ['https://www.youtube.com/watch?v=BHu5JM1v7dY', '--ignore-config', '--verbose', '--no-warnings', '--progress', '--newline', '--progress-template', '[Parabolic] Progress;%(progress.status)s;%(progress.downloaded_bytes)s;%(progress.total_bytes)s;%(progress.total_bytes_estimate)s;%(progress.speed)s;%(progress.eta)s', '--progress-delta', '.75', '-t', 'sleep', '--no-mtime', '--no-embed-info-json', '--ffmpeg-location', 'C:\Program Files\Nickvision Parabolic\Release\ffmpeg.exe', '--js-runtimes', 'deno:C:\Users\\username\AppData\Local\deno.exe', '--paths', 'C:\Users\\username\Desktop', '--paths', 'temp:C:\Users\\username\Desktop', '--output', 'Die For You.%(ext)s', '--output', 'chapter:%(section_number)03d - Die For You.%(ext)s', '--print', 'after_move:filepath', '--plugin-dir', 'C:\Program Files\Nickvision Parabolic\Release\plugins', '--force-overwrites', '--windows-filenames', '--sponsorblock-remove', 'default', '--cookies', 'C:\Users\\username\Desktop\music.youtube.com_cookies.txt', '--embed-metadata', '--embed-thumbnail', '--convert-thumbnails', 'jpg', '--exec', 'before_dl:"C:\Program Files\Nickvision Parabolic\Release\ffmpeg.exe" -i %(thumbnails.-1.filepath)q -vf crop="'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'" "%(thumbnails.-1.filepath)s.tmp.jpg"', '--exec', 'before_dl:del %(thumbnails.-1.filepath)q', '--exec', 'before_dl:move "%(thumbnails.-1.filepath)s.tmp.jpg" %(thumbnails.-1.filepath)q', '--extract-audio', '--audio-quality', '0', '--audio-format', 'mp3', '--format', '(bestaudio[acodec!=opus]/bestaudio)', '--postprocessor-args', 'ffmpeg:-threads 12'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No ANSI), error cp1252 (No ANSI), screen cp1252 (No ANSI) [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [2f3929ba1] (win_exe) [debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1t 7 Feb 2023) [debug] exe versions: ffmpeg n8.1.1-8-gb21e00eda5-20260524 (setts), ffprobe n8.1.1-8-gb21e00eda5-20260524 [debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2026.07.22, curl_cffi-0.16.0, mutagen-1.48.1, requests-2.34.2, sqlite3-3.40.1, urllib3-2.7.0, websockets-16.1.1, yt_dlp_ejs-0.8.0 [debug] JS runtimes: deno-2.9.6 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Post-Processor Plugins: srt_fixPP [debug] Plugin directories: C:\Program Files\Nickvision Parabolic\Release\plugins\srt_fix\yt_dlp_plugins [debug] Loaded 1745 extractors ERROR: Unsafe conversion(s) in exec command: '"C:\Program Files\Nickvision Parabolic\Release\ffmpeg.exe" -i %(thumbnails.-1.filepath)q -vf crop="'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'" "%(thumbnails.-1.filepath)s.tmp.jpg"' Conversions such as %()s are too dangerous to be used in --exec command templates; use %()q instead. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-69qj-pvh9-c5wg for details Traceback (most recent call last): File "yt_dlp\YoutubeDL.py", line 836, in init File "yt_dlp\postprocessor\exec.py", line 10, in init File "yt_dlp\postprocessor\common.py", line 58, in init File "yt_dlp\postprocessor\exec.py", line 18, in set_downloader File "yt_dlp\YoutubeDL.py", line 1518, in prepare_outtmpl File "yt_dlp\YoutubeDL.py", line 1448, in create_key yt_dlp.utils.UnsafeExecExpansionError: Unsafe conversion(s) in exec command: '"C:\Program Files\Nickvision Parabolic\Release\ffmpeg.exe" -i %(thumbnails.-1.filepath)q -vf crop="'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'" "%(thumbnails.-1.filepath)s.tmp.jpg"' Conversions such as %()s are too dangerous to be used in --exec command templates; use %()q instead. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-69qj-pvh9-c5wg for details
Additional context
No response
Source: NickvisionApps/Parabolic