Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a an app that allows me to create a Video from an MP3 file (as Audio stream) and one, or more Pictures, such as GIF, PNG, JPG (animated or not)?

So far I've found Pitivi, which appears to do the Job, however the Video always seems to be rather long... around 13 Minutes, to be specific. Kino doesn't appear to allow input / import of MP3 or raw Pictures, and Avidemux doesn't seem to be able to create "new" videos.

A windows Application would be fine too, as long as it runs with wine, and doesn't charge money...


I've tried PiTiVi, but as mentioned before, it keeps adding additional "silent minutes" to the resulting video, which is usually uo to 13 minutes.

share|improve this question
Can you please elaborate what your problem with Pitivi is? – Bobby Oct 22 '10 at 22:59
@Bobby however the Video always seems to be rather long... around 13 Minutes, to be specific ... – user2817 Oct 22 '10 at 23:20
@nebukadnezzar: Yes...but I can't understand that sentence. Do you mean that every video you create/export/save is longer then the project itself? – Bobby Oct 22 '10 at 23:21
@Bobby: exactly. – user2817 Oct 23 '10 at 0:01
@nebukadnezzar Please update your original question with the information so it doesn't get lost in the comments. – Jorge Castro Nov 2 '10 at 4:52
up vote 5 down vote accepted

Imagination should do the trick. To install it, click here.

share|improve this answer
Works like a charme. Half of my rep are yours now :-) – user2817 Nov 3 '10 at 1:37
Glad it was useful to you! – Bou Nov 3 '10 at 7:18
BTW imagination is part of the Universe repositories. Nice find. – MagicFab Nov 3 '10 at 14:22

I'd probably do it the hard way! I'd break the gif into frames and then reconstruct it with an audio track. Sounds hard but how's this:

convert input.gif input%05d.jpg
ffmpeg -r 5 -i input%05d.jpg -i audio.mp3 -acodec copy  -y -an -map 0:0 -map 1:0 ouput.avi 

Alter the -r 5 argument to change the framerate of gif video.

ffmpeg can handle animated gifs but it struggles with the framerate and colours. It's much happier with jpegs. It's a big tool that few people fully understand (I'm still learning) but it's very powerful.

share|improve this answer
"Number of stream maps must match number of output streams" when using ffmpeg -i image.png -i audio.mp3 -acodec copy -y -an -map 0:0 -map 0:0 ouput.avi .. i'm not very familiar with ffmpeg, though. – user2817 Oct 22 '10 at 23:26
ffmpeg -loop_input -shortest -i toors.mp3 -i Pobrane/IMG_0112a.JPG -ab 128k output.avi This one worked for me – teodozjan Nov 19 '11 at 14:10

I use Avidemux, it can import images, the trick is not to make a new video, but open the first image in the sequence.

Name the images sequentially like 001.png, 002.png, 003.png etc. Opening the first one will import the others in after it.

Use the video menu to set the frame rate, choose your audio source, and take it from there.

It supports .jpg and .png, so best to convert to those formats first. Phatch is one such batch image conversion tool.

share|improve this answer


I have tried it some month ago and my impression was good, despite it's not a mature program. Unfortunately now the official site of SMILE give a sad 404 error message and it's also not packaged for Ubuntu.

Another interesting software for creating slideshow is Videoporama. It's written in Python and Qt and it's quite similar to imagination.

Videoporama develop is very active and it improve constantly. You can read an (italian) article that illustrates some new features.

share|improve this answer
The screenshots of Videoporama and Smile look very promising, unfortunately I don't speak a single word french... Especially Smile seems to lack a Translation :-( I'm going to vote this up nevertheless, due to nice finds. :-) – user2817 Nov 6 '10 at 9:06
Videoporama has stopped to be developed. Its successor is ffdiaporama: – neuromancer Aug 25 '11 at 8:09

Your Answer


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