@remotion/renderer
Advanced tools
Comparing version 4.0.178 to 4.0.179
import type { Codec } from './codec'; | ||
import type { FileExtension } from './file-extensions'; | ||
import type { AudioCodec } from './options/audio-codec'; | ||
export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: AudioCodec | null) => FileExtension; | ||
export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif")[]>; | ||
export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: AudioCodec | null) => FileExtension; | ||
export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif")[]>; | ||
export declare const defaultCodecsForFileExtension: Record<FileExtension, Codec>; |
@@ -73,6 +73,6 @@ /// <reference types="node" /> | ||
scale: number; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
wantsImageSequence: boolean; | ||
}) => void; | ||
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension; | ||
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension; | ||
tmpDir: (str: string) => string; | ||
@@ -134,3 +134,3 @@ deleteDirectory: (directory: string) => void; | ||
unlockErrorSymbolicationLock: (id: number) => void; | ||
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif") => boolean; | ||
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => boolean; | ||
mimeContentType: typeof mimeContentType; | ||
@@ -149,7 +149,7 @@ mimeLookup: typeof mimeLookup; | ||
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"]; | ||
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le"; | ||
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le"; | ||
validateJpegQuality: (q: unknown) => void; | ||
DEFAULT_TIMEOUT: number; | ||
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null | undefined) => boolean; | ||
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null | undefined) => boolean; | ||
logLevels: readonly ["verbose", "info", "warn", "error"]; | ||
@@ -171,6 +171,6 @@ isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean; | ||
numberOfFrames: number; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
fps: number; | ||
numberOfGifLoops: number | null; | ||
resolvedAudioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null; | ||
resolvedAudioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null; | ||
audioBitrate: string | null; | ||
@@ -189,5 +189,5 @@ indent: boolean; | ||
getDefaultAudioCodec: ({ codec, preferLossless, }: { | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
preferLossless: boolean; | ||
}) => "mp3" | "aac" | "pcm-16" | "opus" | null; | ||
}) => "opus" | "aac" | "mp3" | "pcm-16" | null; | ||
defaultFileExtensionMap: { | ||
@@ -197,7 +197,7 @@ h264: { | ||
forAudioCodec: { | ||
mp3: { | ||
aac: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
default: import("./file-extensions").FileExtension; | ||
}; | ||
aac: { | ||
mp3: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
@@ -228,7 +228,7 @@ default: import("./file-extensions").FileExtension; | ||
forAudioCodec: { | ||
"pcm-16": { | ||
opus: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
default: import("./file-extensions").FileExtension; | ||
}; | ||
opus: { | ||
"pcm-16": { | ||
possible: import("./file-extensions").FileExtension[]; | ||
@@ -242,7 +242,7 @@ default: import("./file-extensions").FileExtension; | ||
forAudioCodec: { | ||
"pcm-16": { | ||
opus: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
default: import("./file-extensions").FileExtension; | ||
}; | ||
opus: { | ||
"pcm-16": { | ||
possible: import("./file-extensions").FileExtension[]; | ||
@@ -253,6 +253,6 @@ default: import("./file-extensions").FileExtension; | ||
}; | ||
mp3: { | ||
prores: { | ||
default: import("./file-extensions").FileExtension; | ||
forAudioCodec: { | ||
mp3: { | ||
aac: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
@@ -280,5 +280,9 @@ default: import("./file-extensions").FileExtension; | ||
}; | ||
wav: { | ||
mp3: { | ||
default: import("./file-extensions").FileExtension; | ||
forAudioCodec: { | ||
mp3: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
default: import("./file-extensions").FileExtension; | ||
}; | ||
"pcm-16": { | ||
@@ -290,9 +294,5 @@ possible: import("./file-extensions").FileExtension[]; | ||
}; | ||
prores: { | ||
wav: { | ||
default: import("./file-extensions").FileExtension; | ||
forAudioCodec: { | ||
aac: { | ||
possible: import("./file-extensions").FileExtension[]; | ||
default: import("./file-extensions").FileExtension; | ||
}; | ||
"pcm-16": { | ||
@@ -349,4 +349,4 @@ possible: import("./file-extensions").FileExtension[]; | ||
}; | ||
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif")[]>; | ||
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">; | ||
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif")[]>; | ||
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">; | ||
getExecutablePath: ({ indent, logLevel, type, binariesDirectory, }: { | ||
@@ -370,3 +370,3 @@ type: "compositor" | "ffmpeg" | "ffprobe"; | ||
DEFAULT_STILL_IMAGE_FORMAT: "png" | "jpeg" | "pdf" | "webp"; | ||
DEFAULT_VIDEO_IMAGE_FORMAT: "png" | "jpeg" | "none"; | ||
DEFAULT_VIDEO_IMAGE_FORMAT: "none" | "png" | "jpeg"; | ||
DEFAULT_JPEG_QUALITY: number; | ||
@@ -771,3 +771,3 @@ chalk: { | ||
envVariables: Record<string, string>; | ||
imageFormat: "png" | "jpeg" | "none"; | ||
imageFormat: "none" | "png" | "jpeg"; | ||
jpegQuality: number; | ||
@@ -927,12 +927,12 @@ frameRange: import("./frame-range").FrameRange | null; | ||
makeDownloadMap: () => import("./assets/download-map").DownloadMap; | ||
getExtensionFromAudioCodec: (audioCodec: "mp3" | "aac" | "pcm-16" | "opus") => "mp3" | "aac" | "wav" | "opus"; | ||
getExtensionFromAudioCodec: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16") => "opus" | "aac" | "mp3" | "wav"; | ||
makeFileExecutableIfItIsNot: (path: string) => void; | ||
resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: { | ||
setting: "mp3" | "aac" | "pcm-16" | "opus" | null; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
setting: "opus" | "aac" | "mp3" | "pcm-16" | null; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
preferLossless: boolean; | ||
separateAudioTo: string | null; | ||
}) => "mp3" | "aac" | "pcm-16" | "opus" | null; | ||
}) => "opus" | "aac" | "mp3" | "pcm-16" | null; | ||
getShouldRenderAudio: ({ codec, assetsInfo, enforceAudioTrack, muted, }: { | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
assetsInfo: import("./assets/download-map").RenderAssetInfo | null; | ||
@@ -942,3 +942,3 @@ enforceAudioTrack: boolean; | ||
}) => "yes" | "maybe" | "no"; | ||
codecSupportsMedia: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif") => { | ||
codecSupportsMedia: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => { | ||
video: boolean; | ||
@@ -945,0 +945,0 @@ audio: boolean; |
@@ -27,3 +27,3 @@ import type { Codec } from '../codec'; | ||
}; | ||
export declare const getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "mp3" | "aac" | "wav" | "opus"; | ||
export declare const getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "opus" | "aac" | "mp3" | "wav"; | ||
export declare const resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: { | ||
@@ -34,3 +34,3 @@ setting: AudioCodec | null; | ||
separateAudioTo: string | null; | ||
}) => "mp3" | "aac" | "pcm-16" | "opus" | null; | ||
}) => "opus" | "aac" | "mp3" | "pcm-16" | null; | ||
export declare const getDefaultAudioCodec: ({ codec, preferLossless, }: { | ||
@@ -42,3 +42,3 @@ codec: Codec; | ||
cliFlag: "audio-codec"; | ||
setConfig: (audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => void; | ||
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void; | ||
getValue: ({ commandLine }: { | ||
@@ -48,3 +48,3 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "mp3" | "aac" | "pcm-16" | "opus"; | ||
value: "opus" | "aac" | "mp3" | "pcm-16"; | ||
} | { | ||
@@ -58,4 +58,4 @@ source: string; | ||
ssrName: "audioCodec"; | ||
type: "mp3" | "aac" | "pcm-16" | "opus"; | ||
type: "opus" | "aac" | "mp3" | "pcm-16"; | ||
}; | ||
export {}; |
@@ -10,3 +10,3 @@ export declare const validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"]; | ||
ssrName: string; | ||
type: "default" | "bt709" | "bt2020-ncl" | null; | ||
type: "bt709" | "bt2020-ncl" | "default" | null; | ||
getValue: ({ commandLine }: { | ||
@@ -16,6 +16,6 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "default" | "bt709" | "bt2020-ncl"; | ||
value: "bt709" | "bt2020-ncl" | "default"; | ||
}; | ||
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void; | ||
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void; | ||
}; | ||
export declare const validateColorSpace: (option: unknown) => void; |
@@ -5,3 +5,3 @@ import type { AnyRemotionOption } from './option'; | ||
cliFlag: "audio-codec"; | ||
setConfig: (audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => void; | ||
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void; | ||
getValue: ({ commandLine }: { | ||
@@ -11,3 +11,3 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "mp3" | "aac" | "pcm-16" | "opus"; | ||
value: "opus" | "aac" | "mp3" | "pcm-16"; | ||
} | { | ||
@@ -21,3 +21,3 @@ source: string; | ||
ssrName: "audioCodec"; | ||
type: "mp3" | "aac" | "pcm-16" | "opus"; | ||
type: "opus" | "aac" | "mp3" | "pcm-16"; | ||
}; | ||
@@ -141,3 +141,3 @@ scaleOption: { | ||
docLink: string; | ||
type: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
getValue: ({ commandLine }: { | ||
@@ -148,7 +148,7 @@ commandLine: Record<string, unknown>; | ||
downloadName: string | null; | ||
configFile: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
configFile: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
}) => { | ||
value: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
value: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
source: string; | ||
@@ -192,3 +192,3 @@ }; | ||
ssrName: string; | ||
type: "default" | "bt709" | "bt2020-ncl" | null; | ||
type: "bt709" | "bt2020-ncl" | "default" | null; | ||
getValue: ({ commandLine }: { | ||
@@ -198,5 +198,5 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "default" | "bt709" | "bt2020-ncl"; | ||
value: "bt709" | "bt2020-ncl" | "default"; | ||
}; | ||
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void; | ||
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void; | ||
}; | ||
@@ -203,0 +203,0 @@ deleteAfterOption: { |
@@ -111,3 +111,3 @@ export declare const optionsMap: { | ||
ssrName: string; | ||
type: "default" | "bt709" | "bt2020-ncl" | null; | ||
type: "bt709" | "bt2020-ncl" | "default" | null; | ||
getValue: ({ commandLine }: { | ||
@@ -117,5 +117,5 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "default" | "bt709" | "bt2020-ncl"; | ||
value: "bt709" | "bt2020-ncl" | "default"; | ||
}; | ||
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void; | ||
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void; | ||
}; | ||
@@ -128,3 +128,3 @@ readonly codec: { | ||
docLink: string; | ||
type: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
getValue: ({ commandLine }: { | ||
@@ -135,7 +135,7 @@ commandLine: Record<string, unknown>; | ||
downloadName: string | null; | ||
configFile: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
configFile: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null; | ||
}) => { | ||
value: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
value: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
source: string; | ||
@@ -294,3 +294,3 @@ }; | ||
cliFlag: "audio-codec"; | ||
setConfig: (audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => void; | ||
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void; | ||
getValue: ({ commandLine }: { | ||
@@ -300,3 +300,3 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "mp3" | "aac" | "pcm-16" | "opus"; | ||
value: "opus" | "aac" | "mp3" | "pcm-16"; | ||
} | { | ||
@@ -310,3 +310,3 @@ source: string; | ||
ssrName: "audioCodec"; | ||
type: "mp3" | "aac" | "pcm-16" | "opus"; | ||
type: "opus" | "aac" | "mp3" | "pcm-16"; | ||
}; | ||
@@ -858,3 +858,3 @@ readonly onBrowserDownload: { | ||
ssrName: string; | ||
type: "default" | "bt709" | "bt2020-ncl" | null; | ||
type: "bt709" | "bt2020-ncl" | "default" | null; | ||
getValue: ({ commandLine }: { | ||
@@ -864,5 +864,5 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "default" | "bt709" | "bt2020-ncl"; | ||
value: "bt709" | "bt2020-ncl" | "default"; | ||
}; | ||
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void; | ||
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void; | ||
}; | ||
@@ -1124,3 +1124,3 @@ readonly muted: { | ||
ssrName: string; | ||
type: "default" | "bt709" | "bt2020-ncl" | null; | ||
type: "bt709" | "bt2020-ncl" | "default" | null; | ||
getValue: ({ commandLine }: { | ||
@@ -1130,5 +1130,5 @@ commandLine: Record<string, unknown>; | ||
source: string; | ||
value: "default" | "bt709" | "bt2020-ncl"; | ||
value: "bt709" | "bt2020-ncl" | "default"; | ||
}; | ||
setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void; | ||
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void; | ||
}; | ||
@@ -1135,0 +1135,0 @@ readonly audioBitrate: { |
@@ -9,3 +9,3 @@ import type { Codec, CodecOrUndefined } from '../codec'; | ||
docLink: string; | ||
type: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif"; | ||
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif"; | ||
getValue: ({ commandLine }: { | ||
@@ -12,0 +12,0 @@ commandLine: Record<string, unknown>; |
@@ -5,3 +5,3 @@ import type { Codec } from './codec'; | ||
export declare const DEFAULT_PIXEL_FORMAT: PixelFormat; | ||
export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[]; | ||
export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[]; | ||
export declare const validateSelectedPixelFormatAndCodecCombination: (pixelFormat: PixelFormat | undefined, codec: Codec) => undefined; |
@@ -16,3 +16,3 @@ /// <reference types="node" /> | ||
export declare const getPortConfig: (preferIpv4: boolean) => PortConfig; | ||
export declare const getHostToBind: (flattened: os.NetworkInterfaceInfo[], preferIpv4: boolean) => "::" | "0.0.0.0"; | ||
export declare const getHostToBind: (flattened: os.NetworkInterfaceInfo[], preferIpv4: boolean) => "0.0.0.0" | "::"; | ||
export declare const getHostsToTry: (flattened: os.NetworkInterfaceInfo[]) => string[]; | ||
@@ -19,0 +19,0 @@ export declare const flattenNetworkInterfaces: (networkInterfaces: NodeJS.Dict<NetworkInterfaceInfo[]>) => NetworkInterfaceInfo[]; |
@@ -7,6 +7,6 @@ export declare const NoReactAPIs: { | ||
getExtensionOfFilename: (filename: string | null) => string | null; | ||
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension; | ||
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: { | ||
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension; | ||
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: { | ||
codec: T_1; | ||
audioCodecSetting: "mp3" | "aac" | "pcm-16" | "opus" | null; | ||
audioCodecSetting: "opus" | "aac" | "mp3" | "pcm-16" | null; | ||
extension: string; | ||
@@ -13,0 +13,0 @@ preferLossless: boolean; |
import type { AudioCodec } from './options/audio-codec'; | ||
export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: { | ||
export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: { | ||
codec: T; | ||
@@ -4,0 +4,0 @@ audioCodecSetting: AudioCodec | null; |
@@ -6,3 +6,3 @@ { | ||
"name": "@remotion/renderer", | ||
"version": "4.0.178", | ||
"version": "4.0.179", | ||
"description": "Render Remotion videos using Node.js or Bun", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
"ws": "8.17.1", | ||
"remotion": "4.0.178" | ||
"remotion": "4.0.179" | ||
}, | ||
@@ -36,12 +36,12 @@ "peerDependencies": { | ||
"@types/ws": "8.5.10", | ||
"@remotion/streaming": "4.0.178" | ||
"@remotion/streaming": "4.0.179" | ||
}, | ||
"optionalDependencies": { | ||
"@remotion/compositor-darwin-arm64": "4.0.178", | ||
"@remotion/compositor-darwin-x64": "4.0.178", | ||
"@remotion/compositor-linux-x64-gnu": "4.0.178", | ||
"@remotion/compositor-linux-arm64-gnu": "4.0.178", | ||
"@remotion/compositor-linux-arm64-musl": "4.0.178", | ||
"@remotion/compositor-linux-x64-musl": "4.0.178", | ||
"@remotion/compositor-win32-x64-msvc": "4.0.178" | ||
"@remotion/compositor-darwin-x64": "4.0.179", | ||
"@remotion/compositor-darwin-arm64": "4.0.179", | ||
"@remotion/compositor-linux-arm64-gnu": "4.0.179", | ||
"@remotion/compositor-linux-arm64-musl": "4.0.179", | ||
"@remotion/compositor-linux-x64-gnu": "4.0.179", | ||
"@remotion/compositor-linux-x64-musl": "4.0.179", | ||
"@remotion/compositor-win32-x64-msvc": "4.0.179" | ||
}, | ||
@@ -48,0 +48,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@remotion/compositor-darwin-arm64@4.0.179(transitive)
+ Added@remotion/compositor-darwin-x64@4.0.179(transitive)
+ Added@remotion/compositor-linux-arm64-gnu@4.0.179(transitive)
+ Added@remotion/compositor-linux-arm64-musl@4.0.179(transitive)
+ Added@remotion/compositor-linux-x64-gnu@4.0.179(transitive)
+ Added@remotion/compositor-linux-x64-musl@4.0.179(transitive)
+ Added@remotion/compositor-win32-x64-msvc@4.0.179(transitive)
+ Addedremotion@4.0.179(transitive)
- Removed@remotion/compositor-darwin-arm64@4.0.178(transitive)
- Removed@remotion/compositor-darwin-x64@4.0.178(transitive)
- Removed@remotion/compositor-linux-arm64-gnu@4.0.178(transitive)
- Removed@remotion/compositor-linux-arm64-musl@4.0.178(transitive)
- Removed@remotion/compositor-linux-x64-gnu@4.0.178(transitive)
- Removed@remotion/compositor-linux-x64-musl@4.0.178(transitive)
- Removed@remotion/compositor-win32-x64-msvc@4.0.178(transitive)
- Removedremotion@4.0.178(transitive)
Updatedremotion@4.0.179