ffmpeg-python
ffmpeg-python copied to clipboard
Duration flag
I want to use the duration flag: -t duration
I'm rendering a video using a .png as input, like this:
ffmpeg -loop 1 -framerate 23.98 -t 60 -i "background.png" output.mp4
Is there a way to accomplish this? Thanks for the help.
ffmpeg.input('background.png', t=60, framerate=98, loop=1).output('output.mp4').run()
It works! Thank you.