I have to make some videos out of certain simulations I have run.
The videos are really simple, contain few colors, a lot of the images is
still, and last only 30sec (at 25fps). I guess I should be able to get a good quality video and a decent filesize.
I've tried a lot, but I can't get the right settings to get good quality
videos using avconv.
There are two kind of conversion that I need to do: one is to crop certain videos that I already have (not made by me)
The other is to produce movies from a sequence of images:
avconv -y -f avi -c:v h264 -i input_file.avi -f avi -me_method full -c:v libx264 -c:a n -b 512k -qcomp 0.5 -r 50 -vf crop=395:395:135:35 output_file.avi
The size would be also ok, (about 5mb, even though I'd prefer a smaller file), but the quality is not that good.. there are pixels around the contours, the resolution is not that good...
avconv -y -f avi -c:v h264 -i img%04d.png -f avi -me_method full -c:v libx264 -c:a n -b 512k -qcomp 0.5 -r 50 -s 480x320 output_file.avi
Could you please give me some good advice on how to set the parameters right? (and can you explain me also what they do, and why mine are wrong???)
Thanks a lot in advance for the help,