mirror of
https://github.com/kunkunsh/kunkun-ext-video-processing.git
synced 2025-04-03 18:06:43 +00:00
Update package version to 0.0.9, add demo images to package.json, and revise README to reflect new features and include images
This commit is contained in:
parent
a45d849f56
commit
0b45ca5383
47
README.md
47
README.md
@ -1,45 +1,12 @@
|
||||
# Kunkun Custom UI Extension Template (SvelteKit)
|
||||
# Kunkun Extension Video Processing
|
||||
|
||||
- NPM: https://www.npmjs.com/package/kunkun-ext-video-processing
|
||||
- Store: https://kunkun.sh/store/video-processing
|
||||
|
||||
## Features
|
||||
|
||||
- Video Conversion
|
||||
- Video Info
|
||||
|
||||
|
||||
```ts
|
||||
export type ProcessVideoOptions = {
|
||||
resizePercentage?: number;
|
||||
size?: string;
|
||||
aspectRatio?: string;
|
||||
videoCodec?: string;
|
||||
audioCodec?: string;
|
||||
format?: string;
|
||||
outputOptions?: string[];
|
||||
audioFilters?: string[];
|
||||
noAudio?: boolean;
|
||||
takeFrames?: number;
|
||||
noVideo?: boolean;
|
||||
autopad?: {
|
||||
pad?: boolean;
|
||||
color?: string;
|
||||
};
|
||||
audioQuality?: number;
|
||||
fps?: number;
|
||||
preset?:
|
||||
| 'ultrafast'
|
||||
| 'superfast'
|
||||
| 'veryfast'
|
||||
| 'faster'
|
||||
| 'fast'
|
||||
| 'medium'
|
||||
| 'slow'
|
||||
| 'slower'
|
||||
| 'veryslow';
|
||||
startTime?: string | number;
|
||||
duration?: string | number;
|
||||
audioBitrate?: number;
|
||||
videoBitrate?: number;
|
||||
audioChannels?: number;
|
||||
ffprobePath?: string;
|
||||
ffmpegPath?: string;
|
||||
};
|
||||
```
|
||||

|
||||

|
||||
|
@ -2,7 +2,7 @@
|
||||
"$schema": "https://schema.kunkun.sh",
|
||||
"license": "MIT",
|
||||
"name": "kunkun-ext-video-processing",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.9",
|
||||
"repository": "https://github.com/kunkunsh/kunkun-ext-video-processing",
|
||||
"kunkun": {
|
||||
"name": "Video Processing",
|
||||
@ -13,7 +13,10 @@
|
||||
"type": "iconify",
|
||||
"value": "mingcute:video-fill"
|
||||
},
|
||||
"demoImages": [],
|
||||
"demoImages": [
|
||||
"https://i.imgur.com/imtXN2D.png",
|
||||
"https://i.imgur.com/qhr7c7b.png"
|
||||
],
|
||||
"permissions": [
|
||||
"clipboard:read-files",
|
||||
"system:fs",
|
||||
|
Loading…
x
Reference in New Issue
Block a user