diff --git a/Dockerfile b/Dockerfile index 6e7b68e..da5b04c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ ENV VERSION=$VERSION ENV NODE_ENV=production -RUN apk add --no-cache curl +RUN apk add --no-cache curl ffmpeg RUN addgroup -g 1001 -S nodejs RUN adduser -S nextjs -u 1001 diff --git a/src/config/compression.ts b/src/config/compression.ts new file mode 100644 index 0000000..9356163 --- /dev/null +++ b/src/config/compression.ts @@ -0,0 +1,4 @@ +export const FFMPEG_COMMAND_SETTING = "video_compression_ffmpeg_command"; + +export const DEFAULT_FFMPEG_COMMAND = + 'ffmpeg -i "{input}" -c:v libx265 -crf 28 -c:a aac "{output}"'; diff --git a/src/config/constants/sidebarNavs.tsx b/src/config/constants/sidebarNavs.tsx index b511a7e..985cff1 100644 --- a/src/config/constants/sidebarNavs.tsx +++ b/src/config/constants/sidebarNavs.tsx @@ -28,6 +28,7 @@ export const sidebarGroups: SidebarGroup[] = [ { title: "Potential Albums", link: "/albums/potential-albums", icon: }, { title: "Missing Locations", link: "/assets/missing-locations", icon: }, { title: "Empty Videos", link: "/assets/empty-videos", icon: