Optional
ffmpegPath to ffmpeg binary.
Automatically provided
Optional
ffprobePath to ffprobe binary.
Automatically provided
Optional
showWhether to return the ffmpeg output of the slideshow creation.
false
Optional
showWhether to return the ffmpeg command used to create the slideshow.
false
Optional
containerContainer format for the resulting slideshow.
Make sure to use a container that supports your codecs.
mp4
Optional
fpsOutput framerate for the resulting slideshow.
Let ffmpeg decide
Optional
pixelPixel format to use for the resulting slideshow.
yuv420p
Optional
videoVideo codec to use for the resulting slideshow.
Make sure to use a codec that is supported by your container.
libx264
Optional
audioAudio codec to use for the resulting slideshow.
Make sure to use a codec that is supported by your container.
Let ffmpeg decide
Optional
videoVideo bitrate to use for the resulting slideshow.
Specify in ffmpeg format.
'10M'
, '5000k'
Let ffmpeg decide
Optional
audioAudio bitrate to use for the resulting slideshow.
Specify in ffmpeg format
'128k'
, '320k'
Let ffmpeg decide
Optional
x264x264 preset to use for the resulting slideshow.\
Let ffmpeg decide (should be medium
)
Optional
streamWhether to avoid re-encoding the audio by stream copying it.
Make sure to use only when supported by your codec and container.
If you're unsure, I'd recommend you give it a try give it a try, you save on memory usage
and encoding time if you can stream copy the audio.
Ffmpeg will fail if it's not supported.
false
Optional
customAdvanced:
Provide custom output arguments to ffmpeg which will override all default options,
except video and audio stream mappings and total duration. Output filename will also
be specified for you.
Specify in format suitable for the fluent-ffmpeg outputOptions api.
Think of the ffmpeg command as:
ffmpeg <inputs> <complexFilter> -map [filterOutput] -map audio:a -t duration <customOutputArgs> outputFilename.format
So you will need to specify at the very least the video codec you want to use.
Also be sure to specify a compatible container via FFmpegOptions.container
customOutputArgs: [
'-c:v libx264',
'-crf 20',
'-preset veryfast',
'-profile:v baseline',
'-level 3.0',
'-pix_fmt yuv420p'
'-movflags +faststart'
]
none
Generated using TypeDoc
Options that influence the ffmpeg command used to create the slideshow.