<p>ffmpeg will do it for you - <a href="https://stackoverflow.com/questions/5887311/ffmpeg-1-image-1-audio-file-1-video">https://stackoverflow.com/questions/5887311/ffmpeg-1-image-1-audio-file-1-video</a></p>

<p>If you want to provide good seeking ability, you will need to provide key frames at certain intervals in the encoding, which will increase the size of the video. The codec will encode the whole frame at each of the keyframes but greatly compress the intervening frames. By playing around with the value of the key frame interval, you can arrive at a good compromise for your needs.</p>

CC BY-SA 3.0
2013-02-24T13:38:49.260Z
2013-02-24T13:38:49.260Z
2017-05-23T12:40:36.170Z
Akber Choudhry
<p>I'm creating narrated mp4 (x264+aac) videos for books. Each video has just the book's cover as the background.</p>

<p>I wonder what would be the most effective way to create such videos with ffmpeg?</p>

<p>I've tried using framerate of 1fps and that created small videos, but there were problems seeking in the video, and some video playing libraries for web browsers got confused with such videos.</p>

<p>Do you have any recommendations for creating small mp4 videos with just 1 static frame?</p>

CC BY-SA 3.0
2012-10-03T09:00:12.970Z
Why not MPEG-4 Audio instead? It sounds more appropriate to use an audio file with cover art.
Zettt
CC BY-SA 3.0
2012-10-03T14:20:36.693Z
@Zettt MPEG-4 and mp4 are the same thing
Travis Crum
<ffmpeg><mp4>
How to create a x264 (mp4) video with the smallest size using ffmpeg that has just 1 image through entire video?
bodacydo
# How to create a x264 (mp4) video with the smallest size using ffmpeg that has just 1 image through entire video?

(Asked by: username_0 on 2012-10-03)

I'm creating narrated mp4 (x264+aac) videos for books. Each video has just the book's cover as the background.

I wonder what would be the most effective way to create such videos with ffmpeg?

I've tried using framerate of 1fps and that created small videos, but there were problems seeking in the video, and some video playing libraries for web browsers got confused with such videos.

Do you have any recommendations for creating small mp4 videos with just 1 static frame?

**Tags:** ffmpeg, mp4

> **Comments:**
> **username_1**: Why not MPEG-4 Audio instead? It sounds more appropriate to use an audio file with cover art.  
> **username_2**: @username_1 MPEG-4 and mp4 are the same thing  

---

## 1 answers

### Answer by username_3 on 2013-02-24. Score: 2

ffmpeg will do it for you - <https://stackoverflow.com/questions/5887311/ffmpeg-1-image-1-audio-file-1-video>

If you want to provide good seeking ability, you will need to provide key frames at certain intervals in the encoding, which will increase the size of the video. The codec will encode the whole frame at each of the keyframes but greatly compress the intervening frames. By playing around with the value of the key frame interval, you can arrive at a good compromise for your needs.


---

