mediasnacks 0.33.1 → 0.33.2
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/package.json +1 -1
- package/src/dropdups.js +5 -5
- package/src/info.js +1 -1
package/package.json
CHANGED
package/src/dropdups.js
CHANGED
|
@@ -16,14 +16,14 @@ DESCRIPTION
|
|
|
16
16
|
|
|
17
17
|
OPTIONS
|
|
18
18
|
-n, --dup-frame-num <n> Known frame interval to drop.
|
|
19
|
-
|
|
19
|
+
Default: n=0, which auto-detects repeated frames (slower)
|
|
20
20
|
|
|
21
21
|
EXAMPLES
|
|
22
22
|
Use n=2 when every other frame is repeated:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
mediasnacks dropdups -n2 vid.mov
|
|
24
|
+
|
|
25
|
+
Use n=6 if e.g. a 25 fps got upped to 30 fps without interpolation:
|
|
26
|
+
mediasnacks dropdups -n6 vid.mov
|
|
27
27
|
`
|
|
28
28
|
|
|
29
29
|
|
package/src/info.js
CHANGED
|
@@ -59,7 +59,7 @@ export async function infoSummary(video) {
|
|
|
59
59
|
return [
|
|
60
60
|
String(v.width).padStart(4),
|
|
61
61
|
String(v.height).padStart(4),
|
|
62
|
-
`${fps(v.r_frame_rate)}fps`.padStart(
|
|
62
|
+
`${fps(v.r_frame_rate)}fps`.padStart(8),
|
|
63
63
|
formatSeconds(v.duration, 0).padStart(8),
|
|
64
64
|
v.codec_name
|
|
65
65
|
].join('\t')
|