diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 89491708e..0fab872a9 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -341,17 +341,6 @@ const VIDEO_TRANSCODING_FPS: VideoTranscodingFPS = { | |||
341 | KEEP_ORIGIN_FPS_RESOLUTION_MIN: 720 // We keep the original FPS on high resolutions (720 minimum) | 341 | KEEP_ORIGIN_FPS_RESOLUTION_MIN: 720 // We keep the original FPS on high resolutions (720 minimum) |
342 | } | 342 | } |
343 | 343 | ||
344 | const VIDEO_TRANSCODING_ENCODERS = { | ||
345 | VIDEO: [ 'libx264' ], | ||
346 | |||
347 | // Try the first one, if not available try the second one etc | ||
348 | AUDIO: [ | ||
349 | // we favor VBR, if a good AAC encoder is available | ||
350 | 'libfdk_aac', | ||
351 | 'aac' | ||
352 | ] | ||
353 | } | ||
354 | |||
355 | const DEFAULT_AUDIO_RESOLUTION = VideoResolution.H_480P | 344 | const DEFAULT_AUDIO_RESOLUTION = VideoResolution.H_480P |
356 | 345 | ||
357 | const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { | 346 | const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { |
@@ -828,7 +817,6 @@ export { | |||
828 | ACTOR_FOLLOW_SCORE, | 817 | ACTOR_FOLLOW_SCORE, |
829 | PREVIEWS_SIZE, | 818 | PREVIEWS_SIZE, |
830 | REMOTE_SCHEME, | 819 | REMOTE_SCHEME, |
831 | VIDEO_TRANSCODING_ENCODERS, | ||
832 | FOLLOW_STATES, | 820 | FOLLOW_STATES, |
833 | DEFAULT_USER_THEME_NAME, | 821 | DEFAULT_USER_THEME_NAME, |
834 | SERVER_ACTOR_NAME, | 822 | SERVER_ACTOR_NAME, |