@pilio/gemini-watermark-remover 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/dist/video-app.js +1 -1
- package/package.json +1 -1
- package/src/cli/gwrCli.js +17 -17
- package/src/cli/gwrRemoveCommand.js +433 -433
- package/src/core/candidateEvaluation.js +137 -137
- package/src/core/pipelineCandidateQuality.js +823 -823
- package/src/core/pipelineInitialSelection.js +137 -59
- package/src/core/watermarkProcessor.js +22 -22
- package/src/sdk/node.d.ts +56 -56
- package/src/sdk/video.d.ts +23 -23
- package/src/sdk/video.js +19 -19
- package/src/sdk/videoProgress.js +108 -108
package/README.md
CHANGED
|
@@ -137,21 +137,21 @@ For scripting, CI, and local batch workflows, use the direct CLI:
|
|
|
137
137
|
node bin/gwr.mjs remove <input> --output <file>
|
|
138
138
|
|
|
139
139
|
# installed globally
|
|
140
|
-
gwr remove <input> [--output <file> | --out-dir <dir>] [--overwrite] [--json]
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Video exports default to the repository's calibrated 12 Mbps AVC profile. For a
|
|
144
|
-
quality-sensitive source, request a higher encoder target explicitly:
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
gwr remove input.mp4 --output clean.mp4 --video-bitrate-mbps 20
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
The CLI reports video frame progress on stderr. `--video-timeout-ms` is an
|
|
151
|
-
inactivity timeout: an export may run longer than that value as long as frames
|
|
152
|
-
continue to advance.
|
|
153
|
-
|
|
154
|
-
If you do not have `gwr` installed globally, use:
|
|
140
|
+
gwr remove <input> [--output <file> | --out-dir <dir>] [--overwrite] [--json]
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Video exports default to the repository's calibrated 12 Mbps AVC profile. For a
|
|
144
|
+
quality-sensitive source, request a higher encoder target explicitly:
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
gwr remove input.mp4 --output clean.mp4 --video-bitrate-mbps 20
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
The CLI reports video frame progress on stderr. `--video-timeout-ms` is an
|
|
151
|
+
inactivity timeout: an export may run longer than that value as long as frames
|
|
152
|
+
continue to advance.
|
|
153
|
+
|
|
154
|
+
If you do not have `gwr` installed globally, use:
|
|
155
155
|
|
|
156
156
|
```bash
|
|
157
157
|
pnpm dlx @pilio/gemini-watermark-remover remove <input> --output <file>
|
package/dist/video-app.js
CHANGED
package/package.json
CHANGED
package/src/cli/gwrCli.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { runRemoveCommand } from './gwrRemoveCommand.js';
|
|
2
|
-
|
|
3
|
-
export async function main(argv, io) {
|
|
4
|
-
if (argv.length === 0 || argv[0] === '--help' || argv[0] === '-h') {
|
|
5
|
-
io.stdout.write('Usage: gwr remove <input> [--output <file> | --out-dir <dir>] [--overwrite] [--json] [--video-page <url-or-file>] [--video-timeout-ms <ms>] [--video-bitrate-mbps <Mbps>]\n');
|
|
6
|
-
return 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const [command, ...rest] = argv;
|
|
10
|
-
|
|
11
|
-
if (command !== 'remove') {
|
|
12
|
-
io.stderr.write(`Unknown command: ${command}\n`);
|
|
13
|
-
return 2;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return runRemoveCommand(rest, io);
|
|
17
|
-
}
|
|
1
|
+
import { runRemoveCommand } from './gwrRemoveCommand.js';
|
|
2
|
+
|
|
3
|
+
export async function main(argv, io) {
|
|
4
|
+
if (argv.length === 0 || argv[0] === '--help' || argv[0] === '-h') {
|
|
5
|
+
io.stdout.write('Usage: gwr remove <input> [--output <file> | --out-dir <dir>] [--overwrite] [--json] [--video-page <url-or-file>] [--video-timeout-ms <ms>] [--video-bitrate-mbps <Mbps>]\n');
|
|
6
|
+
return 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const [command, ...rest] = argv;
|
|
10
|
+
|
|
11
|
+
if (command !== 'remove') {
|
|
12
|
+
io.stderr.write(`Unknown command: ${command}\n`);
|
|
13
|
+
return 2;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return runRemoveCommand(rest, io);
|
|
17
|
+
}
|