python-amcrest
python-amcrest copied to clipboard
Corrupted jpeg snapshot
I have Amcrest AD410 doorbell. I am trying to get a snapshot using following code
snapshot2 = camera.snapshot().read()
or
snapshot = camera.snapshot().data
and save resulting data to a file. Then when I check the file with jpeginfo, it gives following message..
Corrupt JPEG data: 608 extraneous bytes before marker 0xfe 720 x 576 24bit JFIF N 27251
any idea what I could be doing wrong.