summaryrefslogtreecommitdiff
path: root/Reolink.pm
diff options
context:
space:
mode:
authorJon duSaint2023-09-14 08:44:38 -0700
committerJon duSaint2023-09-14 08:44:38 -0700
commit678d871e91a297cfb47d45efdf124467c7de429c (patch)
tree9e863edbce688644cdd2728260b6984554a9fb18 /Reolink.pm
parent4793b53fafde382fb3383d4d0f2f5fcccb1a8e41 (diff)

Reolink.pm: Add additional parameters to new()

  • debug => [0|1]

    Enable/disable debug printing. Not much of this so far.

  • imagequalityworkaround => [0|1]

    Newer Reolink firmware (unknown which versions or when it started) generate JPEG images with empty or missing quantization tables. This is probably fine, except a years-old bug in ffmpeg’s mjpeg module causes it to choke when this field is missing, so timelapse videos can’t be created. Setting this flag causes the image data to get run through Image::Magick, setting a quality of 99, before saving.

Diffstat (limited to 'Reolink.pm')
0 files changed, 0 insertions, 0 deletions