dsh-vidi 0.8.5 → 0.8.6
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/lib/index.mjs +10 -3
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -1918,7 +1918,7 @@ function deviceInput(c, q) {
|
|
|
1918
1918
|
"avfoundation",
|
|
1919
1919
|
"-framerate",
|
|
1920
1920
|
"30",
|
|
1921
|
-
...c.video ? ["-capture_cursor", "1"] : [],
|
|
1921
|
+
...c.video ? /^Capture screen/.test(c.video) ? ["-capture_cursor", "1"] : ["-video_size", "1280x720"] : [],
|
|
1922
1922
|
"-i",
|
|
1923
1923
|
`${c.video ?? "none"}:${c.audio}`
|
|
1924
1924
|
],
|
|
@@ -2234,7 +2234,8 @@ var LiveJob = class LiveJob extends EventEmitter {
|
|
|
2234
2234
|
this.title = c.title || "Camera";
|
|
2235
2235
|
return {
|
|
2236
2236
|
...deviceInput(c, q),
|
|
2237
|
-
vcodec: "rawvideo"
|
|
2237
|
+
vcodec: "rawvideo",
|
|
2238
|
+
fps: 30
|
|
2238
2239
|
};
|
|
2239
2240
|
}
|
|
2240
2241
|
if (source === "push") {
|
|
@@ -2386,7 +2387,13 @@ var LiveJob = class LiveJob extends EventEmitter {
|
|
|
2386
2387
|
"-pix_fmt",
|
|
2387
2388
|
"yuv420p",
|
|
2388
2389
|
"-g",
|
|
2389
|
-
"50"
|
|
2390
|
+
"50",
|
|
2391
|
+
...input.fps ? [
|
|
2392
|
+
"-r",
|
|
2393
|
+
String(input.fps),
|
|
2394
|
+
"-tune",
|
|
2395
|
+
"zerolatency"
|
|
2396
|
+
] : []
|
|
2390
2397
|
]
|
|
2391
2398
|
] : input.cover ? [
|
|
2392
2399
|
"-loop",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-vidi",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"description": "A video tool for DeepSeek Harness: watch live streams, videos and podcasts with real-time subtitles in any language, then clip and download",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "PolyForm-Noncommercial-1.0.0",
|