At the moment, I am using ffmpeg library to convert videos from x type (MOV, AVI etc) to dedicated type i.e. MP4. But it is taking too long time for video conversion. Lets say the MOV video size is 1.8GB and the conversion takes approximately 1 hour 30 minutes. Is there any other way to reduce the conversion time duration with maintaining the same quality ?
My FFMPEG syntax as follows for video conversion:
- ffmpeg -y -i input.mov -vcodec h264 -acodec aac -strict -2 out.mp4
How to acheieve fast video conversion ?
- what about the output format changed to MPEG2 or others?
- Is there any other fast codecs other than h264 ?
- What are the best compression techniques ?
Any pointers would be really appreciable.
-preset faster
– Gyan