Skip to content

Commit

Permalink
update default encoding param and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandaka committed Nov 4, 2021
1 parent ad2372a commit f4b75fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PixivConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ class PixivConfig():
ConfigItem("FFmpeg", "ffmpeg", "ffmpeg.exe"),
ConfigItem("FFmpeg", "ffmpegCodec", "libvpx-vp9"),
ConfigItem("FFmpeg", "ffmpegExt", "webm"),
ConfigItem("FFmpeg", "ffmpegParam", "-vsync 2 -r 999 -pix_fmt yuv420p"),
ConfigItem("FFmpeg", "ffmpegParam", "-row-mt 1 -deadline good -crf 20 -vsync 2 -r 999 -pix_fmt yuv420p"),
ConfigItem("FFmpeg", "webpCodec", "libwebp"),
ConfigItem("FFmpeg", "webpParam", "-lossless 0 -q:v 90 -loop 0 -vsync 2 -r 999"),
ConfigItem("FFmpeg", "webpParam", "-row-mt 1 -lossless 0 -q:v 90 -loop 0 -vsync 2 -r 999"),
ConfigItem("FFmpeg", "gifParam",
"-filter_complex \"[0:v]split[a][b];[a]palettegen=stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle\""),
ConfigItem("FFmpeg", "apngParam", "-vf \"setpts=PTS-STARTPTS,hqdn3d=1.5:1.5:6:6\" -plays 0"),
Expand Down
2 changes: 1 addition & 1 deletion PixivConstant.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

PIXIVUTIL_VERSION = '20211031-beta3'
PIXIVUTIL_VERSION = '20211104'
PIXIVUTIL_LINK = 'https://github.com/Nandaka/PixivUtil2/releases'
PIXIVUTIL_DONATE = 'https://bit.ly/PixivUtilDonation'

Expand Down
5 changes: 4 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
20211031-beta3
20211104
- Fix Issue #1036: update error message for ffmpeg and add option to enable verboseOutput from ffmpeg.
- remove `-lossless 1` from webm param due to ffmpeg memory issue might cause ugoira not fully converted.
- remove logging from ffmpeg output due to conflict with logger
- Update ffmpeg detection to return warning if ffmpeg return exit code != 0 when loading for the first time.
- Update default encoding parameter for webm and webp
- ffmpegParam = -row-mt 1 -deadline good -crf 20 -vsync 2 -r 999 -pix_fmt yuv420p
- webpParam = -row-mt 1 -lossless 0 -q:v 90 -loop 0 -vsync 2 -r 999

20211030
- Fix Issue #1035: enhance error detection when converting ugoira.
Expand Down

0 comments on commit f4b75fb

Please sign in to comment.