-
|
Hi, This command works but it's very slow, it takes more than 30 seconds to cut a piece of 1 sec length: I'm not very familiar with ffmpeg itself so maybe there is some obvious mistake that I've made? Thanks! UPD |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
For those who can face the same problem. I found the working solution: |
Beta Was this translation helpful? Give feedback.
-
|
BE CAUTIOUS to use ffmpeg options. You might have put mismatching options in I was facing this issue because of following options. await ffmpeg.run(
'-i', 'video.mp4',
'-r', '20',
'-vf', // 'scale=500:-1', <-------- I had to pass value for `-vf`
'-f', 'gif',
fileName
); |
Beta Was this translation helpful? Give feedback.
For those who can face the same problem. I found the working solution: