Allows to get a more realistic total bitrate (and estimated file size) in avi_write_header. Previously a static default value of 200k was assumed. Adds an internal helper function for bitrate guessing. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
		
			
				
	
	
		
			5 lines
		
	
	
		
			250 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			250 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 9d2bd1fa569a803c41b5dc5dd03f088e *tests/data/fate/vsynth1-rgb.avi
 | |
| 15213252 tests/data/fate/vsynth1-rgb.avi
 | |
| 93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-rgb.out.rawvideo
 | |
| stddev:    3.42 PSNR: 37.44 MAXDIFF:   48 bytes:  7603200/  7603200
 |