11

I found a method on internet to use avconv to make a video from images, but the quality is very poor. I set the resolution but it didn't help.

avconv -i "franc%04d.jpg" -r 30 -s:v 1280x720 a.mkv

How can I choose the image compression and set the quality to best?

brasofilo
  • 192
L.V.A
  • 1,174

2 Answers2

9

You can do that with ffmpeg and imagemagic. Install them if they are not installed on your PC.

Do these steps in your terminal:

1. Create a directory for trying this solution, you better make a duplicate copy of the videos before trying this.

mkdir temp

2. Copy all of your images to that directory temp you have created.

cp *.JPG temp/.

3. Set the resolution of your images.

mogrify -resize 800x800  temp/*.JPG

4. Convert them to be get morphed for soft transitions and and make them a mp4 video.

convert temp/*.JPG -delay 10 -morph 10 temp/%05d.jpg
ffmpeg -r 25 -qscale 2  -i temp/%05d.jpg output.mp4

ffmpeg is not in the repositories for Ubuntu 14.04, but is in 15.04!

source: http://www.itforeveryone.co.uk/image-to-video.html

Elder Geek
  • 36,752
Raja G
  • 105,327
  • 107
  • 262
  • 331
1

You can use kdenlive to make image slide-shows as well as advance video editing.

Download KDEnlive!

Pavak Paul
  • 1,230