aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/helpers/ffmpeg-utils.ts34
1 files changed, 18 insertions, 16 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index bf6408d3e..1f5e8d8f6 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -312,22 +312,6 @@ function buildStreamSuffix (base: string, streamNum?: number) {
312} 312}
313 313
314// --------------------------------------------------------------------------- 314// ---------------------------------------------------------------------------
315
316export {
317 getLiveTranscodingCommand,
318 getLiveMuxingCommand,
319 buildStreamSuffix,
320 convertWebPToJPG,
321 processGIF,
322 generateImageFromVideoFile,
323 TranscodeOptions,
324 TranscodeOptionsType,
325 transcode
326}
327
328// ---------------------------------------------------------------------------
329
330// ---------------------------------------------------------------------------
331// Default options 315// Default options
332// --------------------------------------------------------------------------- 316// ---------------------------------------------------------------------------
333 317
@@ -642,3 +626,21 @@ async function runCommand (command: ffmpeg.FfmpegCommand, onEnd?: Function) {
642 command.run() 626 command.run()
643 }) 627 })
644} 628}
629
630// ---------------------------------------------------------------------------
631
632export {
633 getLiveTranscodingCommand,
634 getLiveMuxingCommand,
635 buildStreamSuffix,
636 convertWebPToJPG,
637 processGIF,
638 generateImageFromVideoFile,
639 TranscodeOptions,
640 TranscodeOptionsType,
641 transcode,
642 runCommand,
643
644 // builders
645 buildx264VODCommand
646}