Crates.io | adder-info |
lib.rs | adder-info |
version | 0.3.3 |
source | src |
created_at | 2022-12-31 16:07:30.561762 |
updated_at | 2024-03-18 18:06:46.541106 |
description | Like `ffprobe`, but for ADΔER videos. |
homepage | https://github.com/ac-freeman/adder-codec-rs/wiki |
repository | https://github.com/ac-freeman/adder-codec-rs/tree/main/adder-info |
max_upload_size | |
id | 748461 |
size | 81,693 |
Want to quickly view the metadata for an ADΔER file? Just install this program for the current user with cargo install adder-info
, then run with adder-info -- -i /path/to/file.adder -d
. This program is analogous to ffprobe
for framed video.
Currently, this only produces accurate data for raw (non-compressed) files. Compressed files will produce accurate header data, but the event counts and dynamic range will be incorrect.
The -d
flag enables the calculation of the ADΔER file's dynamic range. This can take a while, since each event must be decoded to find the event with the maximum intensity and the minimum intensity. Example output:
Dimensions
Width: 960
Height: 540
Color channels: 3
Source camera: FramedU8 - Framed video with 8-bit pixel depth, unsigned integer
ADΔER transcoder parameters
Codec version: 1
Ticks per second: 120000
Reference ticks per source interval: 5000
Δt_max: 240000
File metadata
File size: 1114272056
Header size: 29
ADΔER event count: 111427201
Events per pixel: 214
Dynamic range
Theoretical range:
114 dB (power)
37 bits
Realized range:
27 dB (power)
9 bits