Skip to content

Commit

Permalink
fix: the grid block shadow in recorded gif
Browse files Browse the repository at this point in the history
After discussion, we still use the color palette to ensure the effect

Log: fix the grid block shadow in recorded gif.
Bug: https://pms.uniontech.com/bug-view-264145.html
     https://pms.uniontech.com/bug-view-262443.html
  • Loading branch information
add-uos committed Jul 22, 2024
1 parent 6d18d26 commit f3c59b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/record_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ void RecordProcess::onStartTranscode()
arg << savePath;
arg << "-r";
arg << "12";
arg << "-vf";
arg << "split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse";
arg << path.replace("mp4", "gif");
transcodeProcess->start("ffmpeg", arg);
//部分hw arm架构的机型需要这样设置
Expand Down

0 comments on commit f3c59b0

Please sign in to comment.