Fuzzy Chickens wrote:Are you more concerned with seek times or hard drive space?
Then you'll have to sacrifice quality, at least to a degree.
- Code: Select all
x264 --crf 14 --keyint 3 -o output.mp4 input.avs
The resulting video will be a rather high quality lossy, and it will have a keyframe every 3 frames. Seek time will be sufficiently fast since you have many keyframes and filesize will be greatly reduced compared to lossless/keyframe only streams, but the quality impact will likely be noticeable through generation loss, if not instantly. Lowering the crf will help increasing the quality some more, but that comes at the cost of filesize. Increasing the keyint will boost the compression, but at the cost of seek speed; you can alternatively boost compression by increasing the crf, but that impacts the quality.
If you want it all (perfect quality, low filesize, high seek speed), the only solution is bait-and-switch editing: make a low keyint file (1 is lowest, it will make every frame a keyframe), and have a very high crf value (like 30 or so). Do also make another encode with a crf of 10-14 tops, and rest of the settings as if it was an encode for distro. Use the former in your NLE while editing, and when you're done, save and backup the project, then tell the editor to use the high quality clip instead before exporting. Export time will be slow, but at least you were able to edit smoothly.