|
|
||
|---|---|---|
| .. | ||
| Readme.md | ||
| index.d.ts | ||
| index.js | ||
| index.js.map | ||
| package.json | ||
Readme.md
lib/ffprobe
- lib/ffprobe
- ~FFPROBE
- .parseFps()
- .info(video) ⇒
object - .frames(video) ⇒
integer
- ~FFPROBE
lib/ffprobe~FFPROBE
Class representing all ffprobe features.
Kind: inner class of lib/ffprobe
- ~FFPROBE
- .parseFps()
- .info(video) ⇒
object - .frames(video) ⇒
integer
ffprobE.parseFps()
Parse the fps entry into a float representing the fps of a video
Kind: instance method of FFPROBE
ffprobE.info(video) ⇒ object
Get info on a video in json format. Use for filmout.
Kind: instance method of FFPROBE
Returns: object - Video info in an object
| Param | Type | Description |
|---|---|---|
| video | string |
Path to video |
ffprobE.frames(video) ⇒ integer
Count the number of frames in the video using one of two methods. The first uses -select_streams and is very fast. The second uses -count_frames and is VERY slow.
Kind: instance method of FFPROBE
Returns: integer - Number of frames in video
| Param | Type | Description |
|---|---|---|
| video | string |
Path to video |