Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 20859  / 1 Year ago, sun, january 1, 2023, 7:19:27

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?


More From » video

 Answers
6

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


[#28306] Sunday, January 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rstride

Total Points: 305
Total Questions: 112
Total Answers: 118

Location: Mali
Member since Sat, Dec 26, 2020
3 Years ago
;