Commit graph

224 commits

Author SHA1 Message Date
TheOperator
f71d5558c7
Merge branch 'main' into add-hardware-encode-ffmpeg 2026-01-20 20:32:39 -07:00
Emrik Östling
7a936bdc04
Merge commit from fork 2026-01-13 20:34:21 +01:00
rob_otman
5ec86d624f refactor: update codec detection logic to focus on container formats
- Replaced the previous imageFormats set with a new containerFormats set to optimize ffprobe usage.
- Updated the isCudaSupportedCodec function to only probe container formats that can contain video streams, improving performance and clarity in codec detection.

These changes enhance the efficiency of the codec detection process for CUDA hardware acceleration.
2026-01-13 15:56:38 +00:00
rob_otman
d14155133a Merge remote-tracking branch 'upstream/main' 2026-01-11 18:29:32 +00:00
kunal763
c3f17cc5a7
feat: add VCF to CSV converter (#497) 2026-01-11 16:38:32 +01:00
Sahil sharma
f2a92aaf39
feat: markitdown implementation (#486)
* feat: markitdown implementation

* fix: code review and docker file:

* fix: add markitdown PATH in container

* fix: feedback changes

* en: readme changed
2025-12-27 12:59:17 +05:30
Namit
8af8e59b4f
feat: bulk job deletion with multi-select UI (#481)
Closes #445
2025-12-27 00:24:39 +01:00
lif
9ac5e7569b
Fix timezone display in history page (#479) 2025-12-23 02:29:34 +01:00
Geek Squirrel
5d70df424e
add .wma file as input (#485) 2025-12-23 02:11:07 +01:00
rob_otman
00931098c1 fix: ensure GPU availability is checked before using hardware acceleration
- Check both preferHardware AND gpuAvailable before using NVENC codecs (h264_nvenc, hevc_nvenc)
- Check gpuAvailable before adding CUDA hwaccel flag for input decoding
- Fix test assertion to check correct call index for CUDA hwaccel verification

This prevents hardware acceleration attempts when GPU is unavailable, addressing code review feedback.
2025-12-17 16:05:25 -07:00
rob_otman
db3acff4f7 feat: add NVIDIA GPU availability checking and hardware acceleration logging
- Add `checkNvidiaGpuAvailable()` function using nvidia-smi to detect GPU presence
- Add comprehensive logging for hardware acceleration decisions:
  - GPU detection status
  - Hardware vs software encoding/decoding choices
  - CUDA codec support detection
  - Encoder selection decisions
- Cache GPU availability results to avoid repeated checks
- Add `resetNvidiaGpuCache()` for testing
- Update tests to handle GPU availability mocking

This provides visibility into hardware acceleration decisions and ensures CUDA is only attempted when NVIDIA GPU hardware is actually available.
2025-12-17 15:07:21 -07:00
rob_otman
f2504519f0 feat: add CUDA hardware acceleration with ffprobe codec detection
- Detect video codec using ffprobe instead of file extensions
- Auto-enable CUDA hwaccel for supported codecs when FFMPEG_PREFER_HARDWARE=true
- Skip probing for image formats to optimize performance
- Add comprehensive tests for hardware acceleration logic
2025-12-17 14:53:20 -07:00
rob_otman
6cca431a76 feat: add NVENC hardware encoding support for FFmpeg
Add FFMPEG_PREFER_HARDWARE env var to enable hardware acceleration
Use h264_nvenc and hevc_nvenc encoders when hardware preferred
Fall back to software encoders (libx264/libx265) when disabled
Add comprehensive tests for hardware/software encoding modes
Update README with new environment variable documentation
This enables GPU-accelerated video encoding for better performance on systems with NVIDIA GPUs.
2025-12-17 14:12:13 -07:00
Emrik Östling
4598745956
Potential fix for code scanning alert no. 6: Unnecessary use of cat process (#473)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-14 20:32:56 +01:00
Emrik Östling
df3330fdc2
fix: add FFMPEG_OUTPUT_ARGS (#470) 2025-12-14 14:12:21 +01:00
Emrik Östling
12a5580694
fix: ffmpeg args (#469) 2025-12-14 13:43:20 +01:00
Emrik Östling
5268838975 chore: fix format 2025-12-01 22:31:10 +01:00
Emrik Östling
550f472451
Merge commit from fork 2025-12-01 22:26:56 +01:00
Emrik Östling
74ebf5e4dc
fix: getPossibleTargets select correct targets (#441) 2025-11-23 19:56:57 +01:00
Emrik Östling
64264a41d9
feat: add delete button in history (#440) 2025-11-16 00:34:49 +01:00
Emrik Östling
53c1a54df5
workaround for #435 (#438) 2025-11-14 19:28:40 +01:00
Rdeisenroth
b5c20778f9
fix: ensure data dir exists before loading db (#433)
* fix: ensure data dir exists before loading db

* Update src/db/db.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-07 09:26:19 +01:00
Emrik Östling
80b55657a4
feat: add healthcheck endpoint (#431) 2025-11-02 13:58:57 +01:00
Param Siddharth
4d65cc7228
feat: add button and API endpoint to delete job (#423) 2025-10-29 20:35:43 +01:00
Emrik Östling
3e7e95b53c
feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
C4illin
7691594b10 chore: fix formatting 2025-10-05 14:54:19 +00:00
C4illin
17325a6e6d chore: fix lint 2025-10-05 14:19:13 +00:00
C4illin
d984891791 chore: add devcontainer 2025-10-05 13:57:54 +00:00
C4illin
126e60fec7 chore: remove gif from vips 2025-10-05 14:48:57 +02:00
C4illin
c9b65c7652 chore: use auth macro instead of checking it on every path 2025-10-02 17:29:58 +02:00
Ben Burwood
1cc4862d51 Change require to import for FS and Remove Test 2025-09-09 18:54:29 +01:00
Ben Burwood
c6b64ced91 Formatting 2025-09-09 09:17:39 +01:00
Ben Burwood
c3e4f676fc Add Dasel Converter 2025-09-09 00:26:40 +01:00
Ben Burwood
e668b828ea Add Dasel VersionCheck 2025-09-09 00:18:26 +01:00
C4illin
9696cc7188 chore: format files 2025-08-13 20:51:41 +02:00
Sahil
43524dcdb1 Refactor and fix: clean up dockerfile and format done with fix in types 2025-08-13 18:26:17 +05:30
Sahil
45a0540edf vtracer: bug fix in vtracer.ts file and code refactor 2025-08-13 17:55:45 +05:30
Sahil
76c840dbaa feat: vtracer implemented and added docker file binaries install 2025-08-12 22:26:39 +05:30
Sahil
e78de6f6de vtracer implementation in converter directory 2025-08-12 20:53:23 +05:30
Jörg Krzeslak
d994c38219 test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
Emrik Östling
c3d461f102
Merge branch 'main' into AddUnitTests 2025-08-11 14:10:42 +02:00
Jörg Krzeslak
af68498494 test: change order of parameters in ExecFileFn type 2025-08-11 13:16:05 +02:00
Jörg Krzeslak
e5ac60c187 test: add unit test for msgconvert.ts 2025-08-11 13:15:52 +02:00
Jörg Krzeslak
08a833f1cf test: add parameter options to usage of type ExecFileFn 2025-08-11 13:15:39 +02:00
Jörg Krzeslak
c0f0dc5192 test: add optional options parameter to ExecFileFn type 2025-08-11 13:15:33 +02:00
Jörg Krzeslak
6452d0b357 test: add unit test for xelatex.ts 2025-08-11 13:15:23 +02:00
Jörg Krzeslak
9f6b815197 test: add unit test for vips.ts 2025-08-11 13:15:16 +02:00
Jörg Krzeslak
d8cbc0aaee test: add unit test for resvg.ts 2025-08-11 13:15:08 +02:00
Jörg Krzeslak
b1f70ec36c test: add unit test for potrace.ts 2025-08-11 13:15:02 +02:00
Jörg Krzeslak
311d2516ce test: add unit test for libjxl.ts 2025-08-11 13:14:55 +02:00