mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	feat(server): advanced settings for transcoding (#3775)
* set stream with `-map` flag * updated tests * fixed audio stream mapping * added bframe setting to config * updated api * added b-frame option in dashboard * updated tests and formatting * "Advanced" section for FFmpeg with extra options * updated api * updated tests and formatting * styling * made vp9 bitstream filters conditional on b-frames * fixed gop size condition * add cq override * simplified isEdited conditions * simplified conditional flow for cq mode * fixed dto * clarified cq mode in description * formatting * added npl setting * Adjusted b-frame title and description * fixed rebase * changed defaults for pascal compatibility, added temporal aq setting * updated api * added temporal aq to ui * polished dashboard * formatting
This commit is contained in:
		
							
								
								
									
										4
									
								
								server/test/fixtures/media.stub.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								server/test/fixtures/media.stub.ts
									
									
									
									
										vendored
									
									
								
							@@ -20,7 +20,7 @@ const probeStubDefaultVideoStream: VideoStreamInfo[] = [
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const probeStubDefaultAudioStream: AudioStreamInfo[] = [
 | 
			
		||||
  { index: 0, codecName: 'aac', codecType: 'audio', frameCount: 100 },
 | 
			
		||||
  { index: 1, codecName: 'aac', codecType: 'audio', frameCount: 100 },
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const probeStubDefault: VideoInfo = {
 | 
			
		||||
@@ -119,7 +119,7 @@ export const probeStub = {
 | 
			
		||||
  }),
 | 
			
		||||
  audioStreamMp3: Object.freeze<VideoInfo>({
 | 
			
		||||
    ...probeStubDefault,
 | 
			
		||||
    audioStreams: [{ index: 0, codecType: 'audio', codecName: 'aac', frameCount: 100 }],
 | 
			
		||||
    audioStreams: [{ index: 1, codecType: 'audio', codecName: 'aac', frameCount: 100 }],
 | 
			
		||||
  }),
 | 
			
		||||
  matroskaContainer: Object.freeze<VideoInfo>({
 | 
			
		||||
    ...probeStubDefault,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user