Answers.Body: <p>Frame rate is Frame per second (FPS)</p>
  <p>1 sec has 1000ms</p>
  <p>Each input frame (image) is 78.7ms such that is 12.7 FPS</p>
  <p>The video output is 24 FPS not 23.97 FPS</p>
  <p>Then the repetition of each frame will be calculated by ffmpeg if using command</p>
  <p><code>ffmpeg -r 12.7 -i image_%d.jpg -vf fps=24 out_video.mp4</code></p>
  <p>which is 24/12.7 = 1.8897 which is quite irregular</p>
  <p>Hope I could help you understand your question better.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-29T06:06:54.247Z
Answers.LastActivityDate: 2021-09-29T06:06:54.247Z
Answers.UserDisplayName: xer-rex
Body: <p>I have several images and I am reproducing them in <strong>78.7ms</strong>, I am creating like the 80s video effect.
  But, I am unable to find the correct ms, and those images with the original videos are unsynced.</p>
  <p>I dumped the video to images using this command =&gt; <code>ffmpeg -i *.mp4 the80effect/img-%d.jpg</code>
  And now, I have 48622 frames.
  The video FPS is 24.</p>
  <p>So, 48622/24 = 2025 (±)</p>
  <p>I cannot use 2025 ms since those images will load very slow. And the approximate value is 78.7ms per frame/image.</p>
  <p>How can I find the correct value? The video duration in seconds is 2026. I have tried all math to find this but I'm failing. How many images (one frame) per ms. Could you help me? Thank you.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-22T13:15:23.847Z
Comments.Text: How long should each image be shown for?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-22T14:10:55.380Z
Comments.Text: For the time of a normal video. The same time.
Comments.UserDisplayName: Kaique Vortex
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-22T14:11:25.020Z
Comments.Text: 1 image = 1 frame of the video
Comments.UserDisplayName: Kaique Vortex
Tags: <ffmpeg>
Title: ffmpeg frame rate
UserDisplayName: Kaique Vortex
ThreadText: # ffmpeg frame rate
  
  (Asked by: username_0 on 2021-09-22)
  
  I have several images and I am reproducing them in **78.7ms**, I am creating like the 80s video effect.
  But, I am unable to find the correct ms, and those images with the original videos are unsynced.
  
  I dumped the video to images using this command => `ffmpeg -i *.mp4 the80effect/img-%d.jpg`
  And now, I have 48622 frames.
  The video FPS is 24.
  
  So, 48622/24 = 2025 (±)
  
  I cannot use 2025 ms since those images will load very slow. And the approximate value is 78.7ms per frame/image.
  
  How can I find the correct value? The video duration in seconds is 2026. I have tried all math to find this but I'm failing. How many images (one frame) per ms. Could you help me? Thank you.
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: How long should each image be shown for?  
  > **username_0**: For the time of a normal video. The same time.  
  > **username_0**: 1 image = 1 frame of the video  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-09-29. Score: 0
  
  Frame rate is Frame per second (FPS)
  
  1 sec has 1000ms
  
  Each input frame (image) is 78.7ms such that is 12.7 FPS
  
  The video output is 24 FPS not 23.97 FPS
  
  Then the repetition of each frame will be calculated by ffmpeg if using command
  
  `ffmpeg -r 12.7 -i image_%d.jpg -vf fps=24 out_video.mp4`
  
  which is 24/12.7 = 1.8897 which is quite irregular
  
  Hope I could help you understand your question better.
  
  
  ---
  
  