Package: AV1R 0.1.3

AV1R: 'AV1' Video Encoding for Biological Microscopy Data

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.

Authors:Yuri Baramykov [aut, cre]

AV1R_0.1.3.tar.gz
AV1R_0.1.3.zip(r-4.7)AV1R_0.1.3.zip(r-4.6)AV1R_0.1.3.zip(r-4.5)
AV1R_0.1.3.tgz(r-4.6-x86_64)AV1R_0.1.3.tgz(r-4.6-arm64)AV1R_0.1.3.tgz(r-4.5-x86_64)AV1R_0.1.3.tgz(r-4.5-arm64)
AV1R_0.1.3.tar.gz(r-4.7-arm64)AV1R_0.1.3.tar.gz(r-4.7-x86_64)AV1R_0.1.3.tar.gz(r-4.6-arm64)AV1R_0.1.3.tar.gz(r-4.6-x86_64)
AV1R_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
AV1R/json (API)
NEWS

# Install 'AV1R' in R:
install.packages('AV1R', repos = c('https://zabis13.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/zabis13/av1r/issues

On CRAN:

Conda:

3.54 score 199 downloads 9 exports 0 dependencies

Last updated from:4f342c1493. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK151
linux-devel-x86_64OK119
source / vignettesOK132
linux-release-arm64OK155
linux-release-x86_64OK108
macos-release-arm64OK87
macos-release-x86_64OK164
macos-oldrel-arm64OK105
macos-oldrel-x86_64OK344
windows-develOK104
windows-releaseOK141
windows-oldrelOK89
wasm-releaseOK124

Exports:av1r_optionsav1r_statusconvert_folderconvert_to_av1detect_backendmeasure_ssimread_tiff_stackvulkan_availablevulkan_devices

Dependencies: