mcopy/app/lib/ffmpeg
Matt McWilliams b21b899303 Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
..
Readme.md Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
index.d.ts Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
index.js Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
index.js.map Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
package.json Install libs from intval_go_node project 2019-02-08 12:46:58 -05:00

Readme.md

ffmpeg

ffmpeg~FFMPEG

Kind: inner class of ffmpeg

ffmpeG.init()

Async method to call async functions from constructor

Kind: instance method of FFMPEG

ffmpeG.padded_frame(i) ⇒ string

Add padding to a number to 5 places. Return a string.

Kind: instance method of FFMPEG
Returns: string - Padded string

Param Type Description
i integer Integer to pad

ffmpeG.parseStderr(line)

Parse the stderr output of ffmpeg

Kind: instance method of FFMPEG

Param Type Description
line string Stderr line

ffmpeG.frame(state, light) ⇒ string

Render a single frame from a video or image to a png.

Kind: instance method of FFMPEG
Returns: string - Path of frame

Param Type Description
state object State object containing file data
light object Object containing color information for frame

ffmpeG.frames(video, obj) ⇒ ?

Render all frames in a video to the temp directory. Not in use.

Kind: instance method of FFMPEG

Param Type Description
video string Path to video
obj object Not sure

ffmpeG.clear(frame) ⇒ boolean

Clears a specific frame from the tmp directory

Kind: instance method of FFMPEG
Returns: boolean - True if successful, false if not

Param Type Description
frame integer Integer of frame to clear

ffmpeG.clearAll()

Deletes all frames in temp directory.

Kind: instance method of FFMPEG

ffmpeG.checkDir()

Checks if mcopy temp directory exists. If it doesn't, creates it.

Kind: instance method of FFMPEG

ffmpeg~Creates an ffmpeg class

Kind: inner class of ffmpeg

new Creates an ffmpeg class(sys)

Param Type Description
sys object System object to be used to get temp directory