|  |  | @ -32,7 +32,9 @@ class Videos::BatchPublishService < ApplicationService | 
			
		
	
		
		
			
				
					
					|  |  |  |         # 标清转码为h264 |  |  |  |         # 标清转码为h264 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if AliyunVod::Service.get_meta_code_info(video.uuid).start_with?('h264', 'h265') |  |  |  |         if AliyunVod::Service.get_meta_code_info(video.uuid).start_with?('h264', 'h265') | 
			
		
	
		
		
			
				
					
					|  |  |  |           video.transcoded = true |  |  |  |           video.transcoded = true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           Rails.logger.info("####video.uuid:#{video.uuid}") | 
			
		
	
		
		
			
				
					
					|  |  |  |           result = AliyunVod::Service.get_play_info(video.uuid) |  |  |  |           result = AliyunVod::Service.get_play_info(video.uuid) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           Rails.logger.info("####video.result:#{result}") | 
			
		
	
		
		
			
				
					
					|  |  |  |           video.play_url = result['PlayInfoList']['PlayInfo'][0]['PlayURL'] |  |  |  |           video.play_url = result['PlayInfoList']['PlayInfo'][0]['PlayURL'] | 
			
		
	
		
		
			
				
					
					|  |  |  |         else |  |  |  |         else | 
			
		
	
		
		
			
				
					
					|  |  |  |           AliyunVod::Service.submit_transcode_job(video.uuid, Video::NORMAL_TRANSCODE_GROUP_ID) |  |  |  |           AliyunVod::Service.submit_transcode_job(video.uuid, Video::NORMAL_TRANSCODE_GROUP_ID) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |