hey
how I can use constant quantizer mode on vp9
I know there is Constant Quantizer (Q) and you can select it by using --end-usage=q and -min-q=10 --max-q=10
so my question is this mode like the mode on x264 and the x265 range is from 0 to 51?
but when i trying to encode file with q = 10 on x264 or x265 i got bitrate range is from 150 mb/s to 200 mb/s but when I'm using vp9 with --end-usage=q and -min-q=10 --max-q=10 i got file with 23 mb/s how can this is possible ?
Codec: WebM Project VP9 Encoder v1.7.0
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 7 of 7
			
		- 
	
- 
	Although it appears that you had missed "--cq-level=10" in the command line, the explanations of the bitrate is other, the cq mode is basically the same but the scale is different as in vp9 range goes 0 to 63 also the weight of each values is different making it not a 1=1 correspondence. The bitrate for the q values of both vp9 and x265 met at some point, this point depends of the video ( from experience I think that is around q19±3), from this point lower q values for vp9 make that the obtained bitrate lower for vp9 than x265, and higher q values gives higher bitrate for vp9 than x265. 
 
 Also if you put the full encoding line can help find some errors in it, this is important as you can have put a constraint without noticing it.
- 
	my command for x264 : 
 
 with qp mode :
 
 x264 qp = 10
 
 the output bitrate = 165813.47 kb/sx264 --frames 100 --profile high --preset medium -o x264_10.264 --input-csp i420 --output-csp i420 --input-depth 8 --output-depth 8 --input-res 1920x1080 --fps 50 --verbose --dump-yuv x264_10.yuv /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --qp=10
 
 x265 qp = 10
 
 the bitrate = 132423.19 kb/sx265 -o hevc_3500.265 --output-depth 8 --input ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --fps 50 --input-res 1920x1080 --input-depth 8 --input-csp 1 -P main -p medium --qp=10 --frames=100 --recon x265_40.yuv --recon-depth 8 --recon x265_50.yuv
 
 with crf mode :
 
 x264 crf=20
 
 bitrate = 8865.74 kb/sx264 --frames 100 --profile high --preset medium -o x264_10.264 --input-csp i420 --output-csp i420 --input-depth 8 --output-depth 8 --input-res 1920x1080 --fps 50 --verbose --dump-yuv x264_10.yuv /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --crf=20
 
 
 x265 : crf = 20
 
 bitrate = 6388.08 kb/sx265 -o hevc_3500.265 --output-depth 8 --input ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --fps 50 --input-res 1920x1080 --input-depth 8 --input-csp 1 -P main -p medium --crf=20 --frames=100 --recon x265_40.yuv --recon-depth 8 --recon x265_50.yuv
 yuv [info]: 1920x1080 fp
 
 --------------------------------------------------------------------------
 
 for vp9
 
 vp9 q mode = 10
 
 bitrate: 24089 kb/s./vpxenc --output=ReadySteadyGo_1920x1080_120fps_420_8bitzzz. webm --codec=vp9 --passes=2 --good -v --i420 --width=1920 --height=1080 --profile=0 --fps=50000/1001 --auto-alt-ref=1 --input-bit-depth=8 --tile-columns=4 /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --bit-depth=8 --end-usage=q --limit=100 --min-q=30 --max-q=30 --threads=4 --cpu-used=4 Warning: Bad quantizer values. Quantizer values should not be equal, and should differ by at least 8.
 1 encoder configuration warning(s). Continue? (y to continue) y
 
 
 
 
 
 cq mode = 20
 
 bitrate = 15090 kb/s./vpxenc --output=RrreadySteadyGo_1920x1080_120fps_420_8bit_. webm --codec=vp9 --passes=2 --good -v --i420 --width=1920 --height=1080 --profile=0 --fps=50000/1001 --input-bit-depth=8 /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --bit-depth=8 --end-usage=q --limit=100 --cq-level=20 --tile-columns=4 --threads=4 --cpu-used=4
 
 
 when change end-usage to cq :
 bitrate = 8865.74 kb/s./vpxenc --output=RrreadySteadyGo_1920x1080_120fps_420_8bit_. webm --codec=vp9 --passes=2 --good -v --i420 --width=1920 --height=1080 --profile=0 --fps=50000/1001 --input-bit-depth=8 /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --bit-depth=8 --end-usage=cq --limit=100 --cq-level=20 --tile-columns=4 --threads=4 --cpu-used=4
 
 and if i set cq=24 bucz CQ(VP9)=((CRF(X264.X265)*63))/51
 
 bitrate = 12804 kb/s./vpxenc --output=RrreadySteadyGo_1920x1080_120fps_420_8bit_. webm --codec=vp9 --passes=2 --good -v --i420 --width=1920 --height=1080 --profile=0 --fps=50000/1001 --input-bit-depth=8 /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --bit-depth=8 --end-usage=q --limit=100 --cq-level=24 --tile-columns=4 --threads=4 --cpu-used=4
- 
	bitrate = 24089 kb/s./vpxenc --output=ReadySteadyGo_1920x1080_120fps_420_8bitzzz. webm --codec=vp9 --passes=2 --good -v --i420 --width=1920 --height=1080 --profile=0 --fps=50000/1001 --auto-alt-ref=1 --input-bit-depth=8 --tile-columns=4 /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --bit-depth=8 --end-usage=q --limit=100 --min-q=10 --max-q=10 --threads=4 --cpu-used=4 --cq-level=10
 Warning: Bad quantizer values. Quantizer values should not be equal, and should differ by at least 8.
 1 encoder configuration warning(s). Continue? (y to continue) y
- 
	you are right 
 
 when im using qp = 30
 bitrate = 5399.16 kb/sx264 --frames 100 --profile high --preset medium -o x264_10.264 --input-csp i420 --output-csp i420 --input-depth 8 --output-depth 8 --input-res 1920x1080 --fps 50 --verbose --dump-yuv x264_10.yuv /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --qp=30
 
 x265 : 4417.25 kb/s
 
 for vp9 : 5846 kb/s
- 
	And for a different movie, you will get three more different bitrates. 
- 
	For ffmpeg Google recommends: https://developers.google.com/media/vp9/bitrate-modes/ , i would give a chance to verify how your encoding parameters for "WebM Project VP9 Encoder v1.7.0 " works, did they producing same result as ffmpeg? 
 
 (lossless mode intra vp9)Code:-c:v vp9 -g 1 -b:v 0 -crf 0 -quality good -speed 0 -lossless 1 
 
 Next topic is then how you perform constant quantizer check - are you using vp9 analyser?
Similar Threads
- 
  VP9 vs x264By darkman85 in forum Video ConversionReplies: 3Last Post: 19th Jul 2018, 15:15
- 
  VP9 Codec editorBy Aquinax in forum EditingReplies: 4Last Post: 22nd May 2018, 08:11
- 
  VP9 on YoutubeBy newpball in forum Video Streaming DownloadingReplies: 4Last Post: 1st Apr 2015, 19:27
- 
  How I can lowered the bitrate? Or increase the quantizer/quality?By goffydos in forum Video ConversionReplies: 4Last Post: 16th Jan 2014, 15:32
- 
  youtube to switch to vp9By deadrats in forum Video Streaming DownloadingReplies: 3Last Post: 1st Jan 2014, 12:53


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
