mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:49:11 -04:00 
			
		
		
		
	feat(server): add faststart to ffmpeg options (#2138)
This commit is contained in:
		
							parent
							
								
									c011b06bea
								
							
						
					
					
						commit
						009b6e3ca5
					
				| @ -136,6 +136,10 @@ export class VideoTranscodeProcessor { | ||||
|           `-vcodec ${config.ffmpeg.targetVideoCodec}`, | ||||
|           `-acodec ${config.ffmpeg.targetAudioCodec}`, | ||||
|           `-vf scale=${config.ffmpeg.targetScaling}`, | ||||
| 
 | ||||
|           // Makes a second pass moving the moov atom to the beginning of
 | ||||
|           // the file for improved playback speed.
 | ||||
|           `-movflags faststart`, | ||||
|         ]) | ||||
|         .output(savedEncodedPath) | ||||
|         .on('start', () => { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user