Answers.Body: <p>That anomalous file likely has been detected (wrongly) to have a high frame rate.</p>
  <p>Use</p>
  <pre><code>ffmpeg -i video1.webm -fps_mode passthrough -f mp4 video1.mp4
  </code></pre>
  <p>Your ffmpeg version should be recent i.e. at least <code>5.1</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-09T05:14:24.677Z
Answers.LastActivityDate: 2023-12-09T05:14:24.677Z
Answers.UserDisplayName: Gyan
Body: <p>I have 10 webm videos, each one has the same size ~15mb. When I run following code:</p>
  <pre><code>ffmpeg -i video1.webm -f mp4 video1.mp4
  </code></pre>
  <p>9 of them finish in ~10 seconds, but 1 lasts more then 3 minutes. I run ffprobe to see difference and noticed only this:</p>
  <pre><code>25 fps, 25 tbr, 1k tbn (default)
  </code></pre>
  <p>vs</p>
  <pre><code>1k tbr, 1k tbn (default)
  </code></pre>
  <p>Can someone please explain to me the difference and the best way to speed up the process to transform all 10 at nearly the same time?</p>
  
Tags: <ffmpeg><video><ffprobe>
Title: Convert video from webm to mp4 using ffmpeg
UserDisplayName: datahack
ThreadText: # Convert video from webm to mp4 using ffmpeg
  
  (Asked by: username_0 on 2023-12-08)
  
  I have 10 webm videos, each one has the same size ~15mb. When I run following code:
  
  ```
  ffmpeg -i video1.webm -f mp4 video1.mp4
  
  ```
  
  9 of them finish in ~10 seconds, but 1 lasts more then 3 minutes. I run ffprobe to see difference and noticed only this:
  
  ```
  25 fps, 25 tbr, 1k tbn (default)
  
  ```
  
  vs
  
  ```
  1k tbr, 1k tbn (default)
  
  ```
  
  Can someone please explain to me the difference and the best way to speed up the process to transform all 10 at nearly the same time?
  
  **Tags:** ffmpeg, video, ffprobe
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-12-09. Score: 1
  
  That anomalous file likely has been detected (wrongly) to have a high frame rate.
  
  Use
  
  ```
  ffmpeg -i video1.webm -fps_mode passthrough -f mp4 video1.mp4
  
  ```
  
  Your ffmpeg version should be recent i.e. at least `5.1`
  
  
  ---
  
  