<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>

CC BY-SA 4.0
2021-04-07T04:17:07.073Z
What's the size of the input?
Gyan
CC BY-SA 4.0
2021-04-07T09:49:49.497Z
@Gyan the size is 1mb
Mouaad Abdelghafour AITALI
<video><ffmpeg>
FFmpeg loop video for 30 seconds generate a big video size
Mouaad Abdelghafour AITALI
# 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

