Body: <p>I'm trying to loop a 3 sec video to make it 30 sec, I use the following command :</p>
  <pre><code>&gt; ffmpeg -stream_loop -1 -i input.mp4 -c copy -t 30 output.mp4
  </code></pre>
  <p>It's working fine, but with the output size <strong>40 MB</strong>, it's abnormally to have a 30 sec video with <strong>40 MB</strong> as size.</p>
  <p>Kindly, how I can generate a 30 sec video file from 3sec video, but with smaller size</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-04-07T04:17:07.073Z
Comments.Text: What's the size of the input?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-04-07T09:49:49.497Z
Comments.Text: @Gyan the size is 1mb
Comments.UserDisplayName: Mouaad Abdelghafour AITALI
Tags: <video><ffmpeg>
Title: FFmpeg loop video for 30 seconds generate a big video size
UserDisplayName: Mouaad Abdelghafour AITALI
ThreadText: # FFmpeg loop video for 30 seconds generate a big video size
  
  (Asked by: username_0 on 2021-04-06)
  
  I'm trying to loop a 3 sec video to make it 30 sec, I use the following command :
  
  ```
  > ffmpeg -stream_loop -1 -i input.mp4 -c copy -t 30 output.mp4
  
  ```
  
  It's working fine, but with the output size **40 MB**, it's abnormally to have a 30 sec video with **40 MB** as size.
  
  Kindly, how I can generate a 30 sec video file from 3sec video, but with smaller size
  
  **Tags:** video, ffmpeg
  
  > **Comments:**
  > **username_1**: What's the size of the input?  
  > **username_0**: @username_1 the size is 1mb  
  
  ---
  
  ## 0 answers
  
  