Open oatmealine opened 4 years ago
I am currently using -vf
myself with fluent-ffmpeg - -vf crop=1920:1080:n*2:0
.
But I am adding it with .addOption([ '-vf ... ' ])
. Try using addOption, maybe it solves your Issue
@turbopasi same result
Splitting the params into two parts worked for me. Something like this should work
.outputOptions('-vf', "drawtext=fontfile=./assets/DejaVuSans.ttf: text='A': fontcolor=black: fontsize=140: box=1: boxcolor=white: x=(w-text_w)/2: y=0")
Version information
Code to reproduce
Expected results
FFmpeg should render a video with text on top
Observed results
FFmpeg errors, and only if doing this through fluent-ffmpeg:
Full log: ffmpeg.log