Skip to content

Commit

Permalink
perf: 优化视频转gif
Browse files Browse the repository at this point in the history
  • Loading branch information
027xiguapi committed Mar 24, 2024
1 parent 1bc3b20 commit 1c4d57e
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 679 deletions.
2 changes: 1 addition & 1 deletion packages/desktop/electron/main/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const WIN_CONFIG = {
autoHideMenuBar: true,
},
videoConverter: {
html: path.join(process.env.DIST, 'editImage.html'),
html: path.join(process.env.DIST, 'videoConverter.html'),
height: 768,
width: 1024,
autoHideMenuBar: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/electron/win/videoConverterWin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createVideoConverterWin(search?: any): BrowserWindow {

const videoUrl = search?.videoUrl || '';

videoConverterWin.webContents.openDevTools();
// videoConverterWin.webContents.openDevTools();
if (url) {
videoConverterWin.loadURL(WEB_URL + `videoConverter.html?videoUrl=${videoUrl}`);
} else {
Expand Down
6 changes: 5 additions & 1 deletion packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# @pear-rec/web

## 1.4.25
## 1.4.26

perf: 优化视频转gif

## 1.4.25

feat: 视频转gif增加上传视频

## 1.4.24

perf: 优化贴图
Expand Down
Binary file not shown.
Binary file not shown.
16 changes: 0 additions & 16 deletions packages/web/public/[email protected]/ffmpeg-core.js

This file was deleted.

Binary file not shown.
115 changes: 0 additions & 115 deletions packages/web/public/[email protected]/ffmpeg-core.worker.js

This file was deleted.

109 changes: 0 additions & 109 deletions packages/web/public/video-decode-display/demuxer_mp4.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/web/public/video-decode-display/mp4box.all.min.js

This file was deleted.

39 changes: 0 additions & 39 deletions packages/web/public/video-decode-display/renderer_2d.js

This file was deleted.

96 changes: 0 additions & 96 deletions packages/web/public/video-decode-display/renderer_webgl.js

This file was deleted.

Loading

0 comments on commit 1c4d57e

Please sign in to comment.