FFMpeg-Compressor: Revert enabling hwaccel by default
This commit is contained in:
parent
603032fe78
commit
7dee19ae08
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ Python utility uses ffmpeg to compress Visual Novel Resources
|
|||
|
||||
### Configuration
|
||||
#### FFMPEG section
|
||||
* FFMpegParams - Some parameters & flags for ffmpeg command line interface (default: `"-n -hide_banner -loglevel quiet -hwaccel auto"`)
|
||||
* FFMpegParams - Some parameters & flags for ffmpeg command line interface (default: `"-n -hide_banner -loglevel quiet"`)
|
||||
* CopyUnprocessed - Copy all files that failed to compress by ffmpeg to destination folder. In can helps to recreate original folder, but with compressed files.
|
||||
* MimicMode - Rename compressed file to it original name and extension. VN engines determine the file type by its header, so for example PNG file named file.jpg will be loaded as PNG file. (default: `false`)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[FFMPEG]
|
||||
FFmpegParams = "-n -hide_banner -loglevel quiet -hwaccel auto"
|
||||
FFmpegParams = "-n -hide_banner -loglevel quiet"
|
||||
CopyUnprocessed = false
|
||||
MimicMode = false
|
||||
HideErrors = false
|
||||
|
|
|
@ -69,7 +69,7 @@ def add_unprocessed_files(orig_folder):
|
|||
copyfile(f"{folder}/{file}", f"{new_folder}/{file}")
|
||||
printer.info(f"File {file} copied to compressed folder.")
|
||||
else:
|
||||
if not len(glob(f"{new_folder}/{os.path.splitext(file)[0]}.*")): # Why it can't find files?!??!??!?!?
|
||||
if not len(glob(f"{new_folder}/{os.path.splitext(file)[0]}.*")):
|
||||
copyfile(f"{folder}/{file}", f"{new_folder}/{file}")
|
||||
printer.info(f"File {file} copied to compressed folder.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue