MistInMP4: add mov support
This commit is contained in:
		
							parent
							
								
									9451ab5f11
								
							
						
					
					
						commit
						f01b90f90e
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -106,12 +106,17 @@ namespace Mist{
 | 
			
		|||
 | 
			
		||||
  InputMP4::InputMP4(Util::Config *cfg) : Input(cfg){
 | 
			
		||||
    capa["name"] = "MP4";
 | 
			
		||||
    capa["desc"] = "This input allows streaming of MP4 files as Video on Demand.";
 | 
			
		||||
    capa["desc"] = "This input allows streaming of MP4 or MOV files as Video on Demand.";
 | 
			
		||||
    capa["source_match"].append("/*.mp4");
 | 
			
		||||
    capa["source_match"].append("http://*.mp4");
 | 
			
		||||
    capa["source_match"].append("https://*.mp4");
 | 
			
		||||
    capa["source_match"].append("s3+http://*.mp4");
 | 
			
		||||
    capa["source_match"].append("s3+https://*.mp4");
 | 
			
		||||
    capa["source_match"].append("/*.mov");
 | 
			
		||||
    capa["source_match"].append("http://*.mov");
 | 
			
		||||
    capa["source_match"].append("https://*.mov");
 | 
			
		||||
    capa["source_match"].append("s3+http://*.mov");
 | 
			
		||||
    capa["source_match"].append("s3+https://*.mov");
 | 
			
		||||
    capa["source_file"] = "$source";
 | 
			
		||||
    capa["priority"] = 9;
 | 
			
		||||
    capa["codecs"]["video"].append("HEVC");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue