Package: AV1R Type: Package Title: 'AV1' Video Encoding for Biological Microscopy Data Version: 0.1.3 Authors@R: c( person("Yuri", "Baramykov", email = "lbsbmsu@mail.ru", role = c("aut", "cre"), comment = c(ORCID = "0009-0000-7627-4217")) ) Description: Converts legacy microscopy video formats (H.264/H.265, AVI/MJPEG, TIFF stacks) to the modern 'AV1' codec with minimal quality loss. Typical use cases include compressing large TIFF stacks from confocal microscopy and time-lapse experiments from hundreds of gigabytes to manageable sizes, re-encoding MP4 files exported from 'CellProfiler', 'ImageJ'/'Fiji', and microscope software with approximately 2x better compression at the same visual quality, and converting legacy AVI (MJPEG) and H.265 recordings to a single patent-free format suited for long-term archival. Automatically selects the best available backend: GPU hardware acceleration via 'Vulkan' 'VK_KHR_VIDEO_ENCODE_AV1' or 'VAAPI' (tested on AMD RDNA4; bundled headers, builds with any 'Vulkan' SDK >= 1.3.275), with automatic fallback to CPU encoding through 'FFmpeg' and 'SVT-AV1'. User controls quality via a single CRF parameter; each backend adapts automatically (CPU and Vulkan use CRF directly, VAAPI targets 55 percent of input bitrate). TIFF stacks use near-lossless CRF 5 by default, with optional proportional scaling via tiff_scale (multiplier or bounding box, aspect ratio always preserved). Small frames are automatically scaled up to meet hardware encoder minimums. Audio tracks are preserved automatically. Provides a simple R API for batch conversion of entire experiment folders. Depends: R (>= 4.1.0) License: MIT + file LICENSE URL: https://github.com/Zabis13/AV1R BugReports: https://github.com/Zabis13/AV1R/issues Encoding: UTF-8 SystemRequirements: C++17, GNU make, FFmpeg (>= 4.4) with libavcodec/libavformat, libvulkan-dev (optional, for GPU encoding on Linux), Vulkan SDK (optional, for GPU encoding on Windows) Suggests: magick, testthat (>= 3.0.0) RoxygenNote: 7.3.3 Config/testthat/edition: 3 Config/pak/sysreqs: make Repository: https://zabis13.r-universe.dev Date/Publication: 2026-06-01 17:31:45 UTC RemoteUrl: https://github.com/zabis13/av1r RemoteRef: HEAD RemoteSha: 4f342c14930c28e33c02757adfb1e00a180f1097 NeedsCompilation: yes Packaged: 2026-07-04 17:30:44 UTC; root Author: Yuri Baramykov [aut, cre] (ORCID: ) Maintainer: Yuri Baramykov