I'm using following npm package in NodeJS application. What I need to do is reduce the size of videos. My videos are in mp4 format. Is there any way to reduce size of those videos using node-ffmpeg ? https://www.npmjs.com/package/ffmpeg
There are not good answers or samples. I followed this code some steps and idea, but no good. fluent ffmpeg size output option not working
In normal ffmpeg, we can do like this.
ffmpeg -i <inputfilename> -s 640x480 -b:v 512k -vcodec mpeg1video -acodec copy <outputfilename>
How can we do the same in NodeJS ?
Please help me on this. any sample code or idea is welcome.