0

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?

enfix
  • 6,680
  • 12
  • 55
  • 80

1 Answers1

0

You can experiment with the x265 or vpx instead of x264. You can also try to reduce the bitrate.

... -b:v $bitrate -bufsize $bitrate ...
wwk
  • 21
  • 3