My Tech Notes

Some pieces of code or commands which bright my days :)

Use FFMPEG to shrink videos:

ffmpeg -i input.mp4 -acodec mp2 output.mp4

To reduce the size further:

ffmpeg -i input.mp4 -vcodec libx265 -crf 14 output.mp4

Tags