Skip to content

Commit d0b89ce

Browse files
committed
chore: add ffmpeg args and calibre to readme
1 parent f537c81 commit d0b89ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ A self-hosted online file converter. Supports over a thousand different formats.
2828
| [resvg](https://github.com/RazrFalcon/resvg) | SVG | 1 | 1 |
2929
| [Vips](https://github.com/libvips/libvips) | Images | 45 | 23 |
3030
| [XeLaTeX](https://tug.org/xetex/) | LaTeX | 1 | 1 |
31+
| [Calibre](https://calibre-ebook.com/) | E-books | 26 | 19 |
3132
| [Pandoc](https://pandoc.org/) | Documents | 43 | 65 |
3233
| [GraphicsMagick](http://www.graphicsmagick.org/) | Images | 167 | 130 |
3334
| [Inkscape](https://inkscape.org/) | Vector images | 7 | 17 |
@@ -76,7 +77,8 @@ All are optional, JWT_SECRET is recommended to be set.
7677
| HTTP_ALLOWED | false | Allow HTTP connections, only set this to true locally |
7778
| ALLOW_UNAUTHENTICATED | false | Allow unauthenticated users to use the service, only set this to true locally |
7879
| AUTO_DELETE_EVERY_N_HOURS | 24 | Checks every n hours for files older then n hours and deletes them, set to 0 to disable |
79-
| WEBROOT | "" | The address to the root path setting this to "/convert" will serve the website on "example.com/convert/" |
80+
| WEBROOT | | The address to the root path setting this to "/convert" will serve the website on "example.com/convert/" |
81+
| FFMPEG_ARGS | | Arguments to pass to ffmpeg, e.g. `-preset veryfast` |
8082

8183
> [!WARNING]
8284
> If you can't login, make sure you are accessing the service over https or set HTTP_ALLOWED=true

src/converters/ffmpeg.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,6 @@ export async function convert(
700700
message = "Done: resized to 256x256";
701701
}
702702

703-
console.log(process.env.FFMPEG_ARGS);
704-
705703
const command = `ffmpeg ${process.env.FFMPEG_ARGS} -i "${filePath}" ${extra} "${targetPath}"`;
706704

707705
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)