1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-20 09:52:50 +01:00
yt-dlp/yt_dlp/postprocessor
PadoTheOriginal 9269931b9b
Update ffmpeg.py
Problem:
I created a yt-dlp GUI and I use ffmpeg to convert to audio often, recently I used pyinstaller to make a .exe for this GUI because I want to send it to friends who don't have python in their computers, also I don't like the console that appears with python so I just put the configuration to remove the console on pyinstaller, the program works fine, until it has to convert anything with ffmpeg, then because ffmpeg requires a console to open it the program crashes.

Solution:
Added 'creationflags=subprocess.CREATE_NO_WINDOW' so it doesn't try to create a terminal window, this fixes the crashing.

Extra info:
- All of this is on windows, I didn't test on linux or on mac
- This problem only happend to me when I compiled the program to .exe
- I tried this solution and it worked perfectly
2023-07-26 18:24:55 -03:00
..
__init__.py Improve plugin architecture (#5553) 2023-01-01 04:29:22 +00:00
common.py [compat, networking] Deprecate old functions (#2861) 2023-07-15 16:18:35 +05:30
embedthumbnail.py [pp/EmbedThumbnail] Support m4v (#7583) 2023-07-14 02:09:21 +05:30
exec.py [cleanup] Sort imports 2022-04-12 05:32:52 +05:30
ffmpeg.py Update ffmpeg.py 2023-07-26 18:24:55 -03:00
metadataparser.py [cleanup] Misc 2023-02-17 17:52:22 +05:30
modify_chapters.py [postprocessor] Fix chapters if duration is not extracted (#6037) 2023-03-08 13:10:19 +00:00
movefilesafterdownload.py [compat] Fix shutils.move in restricted ACL mode on BSD (#5309) 2022-11-07 20:54:30 +05:30
sponskrub.py [utils] Popen: Refactor to use contextmanager 2022-06-16 06:23:50 +05:30
sponsorblock.py [cleanup Misc 2022-10-18 23:52:44 +05:30
xattrpp.py [cleanup] Minor fixes (See desc) 2022-05-09 17:59:26 +05:30