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
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 1760b76ddf1df0092333434f1a97407b *tests/data/fate/vsynth2-bpp15.avi
 | |
| 10144452 tests/data/fate/vsynth2-bpp15.avi
 | |
| 9a40133384e3f22c960d70c8cfe51781 *tests/data/fate/vsynth2-bpp15.out.rawvideo
 | |
| stddev:   33.97 PSNR: 17.51 MAXDIFF:  154 bytes:  7603200/  7603200
 |