[ffmpeg] convert format ext to ffmpeg output formats codes
This commit is contained in:
		
							parent
							
								
									f34294fa0c
								
							
						
					
					
						commit
						a755f82549
					
				
					 2 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -25,6 +25,19 @@ from ..utils import (
 | 
			
		|||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
EXT_TO_OUT_FORMATS = {
 | 
			
		||||
    "aac": "adts",
 | 
			
		||||
    "m4a": "ipod",
 | 
			
		||||
    "mka": "matroska",
 | 
			
		||||
    "mkv": "matroska",
 | 
			
		||||
    "mpg": "mpeg",
 | 
			
		||||
    "ogv": "ogg",
 | 
			
		||||
    "ts": "mpegts",
 | 
			
		||||
    "wma": "asf",
 | 
			
		||||
    "wmv": "asf",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class FFmpegPostProcessorError(PostProcessingError):
 | 
			
		||||
    pass
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue