| 
					
				 | 
			
			
				@ -282,7 +282,7 @@ public class CommonUtil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        video.setSize(new VideoSize(600, 500)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        EncodingAttributes attrs = new EncodingAttributes(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        attrs.setFormat("image2");//转图片 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        attrs.setOffset(1f);//设置偏移位置,即开始转码位置(3秒) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        attrs.setOffset(0.01f);//设置偏移位置,即开始转码位置(3秒) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        attrs.setDuration(0.01f);//设置转码持续时间(1秒) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        attrs.setVideoAttributes(video); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        encoder.encode(source, target, attrs); 
			 |