The settings should create the highest quality possible, but if you know how, you can change it for a lower quality and smaller file. This is similar to the method for saving in AVIDEMUX 2.5.6. The I-frames should technically be the first frames of every new scene. Or if you want to interpolate and scale it: ffmpeg -i original_video.mp4 -vf minterpolate=fps=60:mi_mode=mci,scale=3*iw:3*ih -vcodec libxvid -q:v 1 -g 1000 -qmin 1 -qmax 1 -flags qpel+mv4 -an -y xvid_video.avi Convert it to libxvid so that the I-frames will be generated: ffmpeg -i original_video.mp4 -vcodec libxvid -q:v 1 -g 1000 -qmin 1 -qmax 1 -flags qpel+mv4 -an -y xvid_video.avi Make sure it's playable (I had some problems with clips cut in AVIDEMUX, so check it first). Save it in formats other than avi, like mp4, mov or ffv1. You can actually use FFMPEG for all these steps, so OK, in the above example, I assembled it in KDENLIVE (to get some scene overlap), but I then interpolated and scaled it in FFMPEG. For more smoothness and if you have the memory and processing power, convert the video to a higher frame rate, and enlarge it to 2x or 3x the size so the block sizes are smaller. You may keep the audio track which can later be merged back to the final file if you keep the frame count the same (see step ). I'm showing how it's done in Windows, but shouldn't be too different in Unix or Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |