2

I have a small mp4 of a 6 second vine video. The total size on disk is about 840kb.

I wrote a little script to extract the frames at 20fps as JPEG (with compression quality of 0.8).

After running the script I got about 130 JPEGs around 22kb each. The combined compressed size hovers around 2.6 Mb.

What can be done to reduce the size down to the video's original size? I don't know much about video/image processing so please enlighten me on why this happens and the mistakes I'm making.

Additional Info: The video/image dimensions are 480x480.

Ray
  • 243
  • 2
  • 10

1 Answers1

4

I'am not sure to understand the question but for me it is a compression mistake.

Mp4 https://en.wikipedia.org/wiki/MPEG-4
Jpeg https://en.wikipedia.org/wiki/Jpg

Jpeg only compress spacial redundancy but mp4 allow to compress both spacial and temporal redundancy then it seems normal that mp4 is lighter than insides jpeg images ?

Have a look on this : How does MPEG4 compression work?

Good luck !

Community
  • 1
  • 1
FrsECM
  • 245
  • 2
  • 16