0

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?

user2824371
  • 269
  • 2
  • 9
  • 25
  • 2
    ffmepg is the tool. The quality depends on the codec, not the tool. –  Nov 08 '18 at 11:48
  • @GabrielaGarcia Thanks for replying. So you mean the reduction in video size necessarily means a reduction in quality? – user2824371 Nov 08 '18 at 11:52
  • 1
    No, I didn't mean that. I merely pointed out how confused is your question. –  Nov 08 '18 at 11:53
  • See https://superuser.com/a/421295/114058 - especially the section on temporal redundancy – Gyan Nov 08 '18 at 11:56
  • @Gyan Thanks, so the reduction in size is because that only changes in animation are considered and no need to process or save the whole frame/image. This way, the quality will not be affected, right? – user2824371 Nov 08 '18 at 11:59
  • 3
    Basically, yes. – Gyan Nov 08 '18 at 11:59

0 Answers0