I've found lots of samples for this but none of them was working properly for me.
I have a couple of Images. Either URLs, Base64s or Buffers.
I need to convert them to a video, without altering quality.
The closest I came was this command:
ffmpeg -framerate 1 pattern_type glob -i 'images/*.jpg' -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
But it showed 1 image per second. I need the video to be 30fps, not 1 image with 30 frames, but 30 images in a second.
Can someone help me with this?
via Dushyant Bangal
No comments:
Post a Comment