HODL, please compress your videos!

your original is 81.883791MB.

❯ ffmpeg -i e8d83f73979ece14b2984b501d44fe9bb1d2bf51a417031d2dcc5983271e28bd.mov -c:v h264 -profile:v baseline -level 3.1 -c:a aac -ar 44100 -b:a 128k -movflags +faststart digital-id.mp4

Just running that simple ffmpeg command and waiting a few seconds (on CPU, not running it with a GPU) your video becomes 9.54 MB

almost a 10x reduction in size with NO drop in quality.

you could even do HEVC (but then it wouldn't work on web) for a further reduction to 4.1MB

❯ ffmpeg -i e8d83f73979ece14b2984b501d44fe9bb1d2bf51a417031d2dcc5983271e28bd.mov -c:v hevc -profile:v main -level 4.0 -c:a aac -ar 44100 -b:a 128k -movflags +faststart digital-id.mp4

and if you change the audio to opus we can drop it to 3.77MB.

❯ ffmpeg -i e8d83f73979ece14b2984b501d44fe9bb1d2bf51a417031d2dcc5983271e28bd.mov -c:v hevc -profile:v main -level 4.0 -c:a opus -strict -2 -ar 48000 -b:a 96k -movflags +faststart digital-id.mp4

that's 4% of the original size, meaning that your video could be 21 times longer (complete accident, but see, even bitcoin agrees) and still be the same original size

Reply to this note

Please Login to reply.

Discussion

I’m far too lazy to do that