Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

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?

share|improve this question
1  
Why not MPEG-4 Audio instead? It sounds more appropriate to use an audio file with cover art. –  Zettt Oct 3 '12 at 9:00
    
@Zettt MPEG-4 and mp4 are the same thing –  Travis Dtfsu Crum Oct 3 '12 at 14:20

1 Answer 1

ffmpeg will do it for you - http://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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.