Input: 2160p MKV file

Required Output: x265 encodes of various sizes
for e.g;
  1. 720p.hevc @ crf=22
  2. 720p.hevc @ crf=23
  3. 1080p.hevc @ crf=21
  4. 1080p.hevc @ crf=22
  5. 2160p.hevc @ crf=20

I have been trying to use --analysis-save flag for my encode of 720p and then during the 1080p encode, I use --analysis-load to load the analysis file "analysis.dat".

But the second encode of 1080p does not start while keeping the same parameters and the same crf.

I tried the following solutions to make it work.
  • Tried to change --scale-factor during 720p encode from -3 to 3 and then during 1080p encode from -3 to 3 with no luck. I have tried all combinations of such but the encode would not start. [scale-factor does not allow decimal inputs afaik]
  • I have kept refine-intra at 4 and refine-inter 3, along with refine-mv at 3
  • I can make use of this feature for saving analysis file during the 1080p encode and then use it during the 2160p encode.

I was wondering if using analysis file of 720p was possible for a 1080p encode, and if so how?

I am using Staxrip v2.7 as of now for encoding