add loglevel to ffmpeg in gif upload (#9368)
This commit is contained in:
		
				
					committed by
					
						
						Eugen Rochko
					
				
			
			
				
	
			
			
			
						parent
						
							404dc97fb0
						
					
				
				
					commit
					ec20a5d53a
				
			@ -59,6 +59,7 @@ class MediaAttachment < ApplicationRecord
 | 
			
		||||
    format: 'mp4',
 | 
			
		||||
    convert_options: {
 | 
			
		||||
      output: {
 | 
			
		||||
        'loglevel' => 'fatal',
 | 
			
		||||
        'movflags' => 'faststart',
 | 
			
		||||
        'pix_fmt'  => 'yuv420p',
 | 
			
		||||
        'vf'       => 'scale=\'trunc(iw/2)*2:trunc(ih/2)*2\'',
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user