I'm using a code like that to convert a sequence of images into a video.

ffmpeg -framerate 24 -i a%04d.jpg -vcodec libx264 -b 40000k video.mp4

I noticed that the size of the output video is much less than the total size of the images. Does that mean there's a reduction in the quality?

  • 2
    ffmepg is the tool. The quality depends on the codec, not the tool. – GabrielaGarcia Nov 8 '18 at 11:48
  • @GabrielaGarcia Thanks for replying. So you mean the reduction in video size necessarily means a reduction in quality? – user2824371 Nov 8 '18 at 11:52
  • 1
    No, I didn't mean that. I merely pointed out how confused is your question. – GabrielaGarcia Nov 8 '18 at 11:53
  • See superuser.com/a/421295/114058 - especially the section on temporal redundancy – Gyan Nov 8 '18 at 11:56
  • 3
    Basically, yes. – Gyan Nov 8 '18 at 11:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.