Posts: 36
	Threads: 5
	Joined: Jan 2018
	
	
 
	
	
		 (28.11.2019, 20:52)Selur Wrote:  Enabling 'x265>Rate Control->Rate Distortion Optimization-> Scene cut aware quantization' seems to allow using 2pass encoding.
Seems to be a known bug in the latest x265 build, see: https://bitbucket.org/multicoreware/x265...with-32-15
Cu Selur
How do I enable that in Hybrid? Does enabling it change anything for the resulting file? I mean, are there any drawbacks?
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 12.047
	Threads: 65
	Joined: May 2017
	
	
 
	
	
		Enable  'x265->Rate Control->Rate Distortion Optimization-> Scene cut aware quantization' is how you enable it in Hybrid.
encoding might be slower but quality can be a bit better,...
	
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 12.047
	Threads: 65
	Joined: May 2017
	
	
 
	
	
		x265 devs released a new build which fixes the problem.
-> will send you a link to a dev version with that x265 build for testing in a few minutes
Cu Selur
	
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 36
	Threads: 5
	Joined: Jan 2018
	
	
 
	
	
		Thanks, that worked. So for the record, it was a bug in x265, which has now been rectified.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12.047
	Threads: 65
	Joined: May 2017
	
	
 
	
	
		yup, seems like it was a small bug in x265 which they fixed in:
https://bitbucket.org/multicoreware/x265...f5c4e02ac7
Cu Selur
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 12.047
	Threads: 65
	Joined: May 2017
	
	
 
	
	
		Bug has been fixed in x265 since end of November (
https://bitbucket.org/multicoreware/x265...f5c4e02ac7).
Running:
ffmpeg -i "F:\TestClips&Co\files\test.avi" -c:v libx265 -b:v 4000k -x265-params pass=1 -c:a copy "E:\Output\teste.mp4"
and then
ffmpeg -i "F:\TestClips&Co\files\test.avi" -c:v libx265 -b:v 4000k -x265-params pass=2 -c:a copy "E:\Output\teste.mp4"
works fine here, so the problem is with the FFmpeg build you use.
Seems like the FFmpeg build you use is build with an old libx265 version.
Cu Selur
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.