I want to reduce the size of a MP4 video.
I call ffmpeg command via PHP with this command:
ffmpeg -i $convertUrl -c:v libx264 -crf 28 $convertUrlTmp 2>&1
But it does not reduce enough the video dimension (31 mb --> 23 mb).
How can I compress more?
I want to reduce the size of a MP4 video.
I call ffmpeg command via PHP with this command:
ffmpeg -i $convertUrl -c:v libx264 -crf 28 $convertUrlTmp 2>&1
But it does not reduce enough the video dimension (31 mb --> 23 mb).
How can I compress more?
Copyright © 2021 Jogjafile Inc.
You can experiment with the x265 or vpx instead of x264. You can also try to reduce the bitrate.