EliasKotlyar / Xiaomi-Dafang-Hacks

4.18k stars 1k forks source link

getimage changed from 1600 to 1280 wide #1798

Closed GSVNoFixedabode closed 2 years ago

GSVNoFixedabode commented 2 years ago

I've had a script running that uses getimage to grab a snapshot then FTP it to a server on the 15 minute mark. Had a few occasions (more often due to router dropping & having to reboot) whereby system went into read-only mode. A 2nd reboot or remount would fix that.

Every so often though the picture generated by getimage dropped from 1600x900 down to 1280x720. Again it seemed to come right after a while (reboots?) but I wasn't paying attention to the sequence. However, as of about 3 days ago it appears to be stuck at the smaller 1280x720 size and I can't seem to get it back to the (assumed default) larger size.

Normally I wouldn't worry but I overlay a grey box via jpegtran to mask one area before sending the image to the server. THe change in size means the masking is now in the wrong position.

I tried forcing an update to latest master but that didn't seem to do anything and webpage Version showing as Master, with version # as 'null'. Bouncing to lates tBeta and back to master didn't seem to change anything either.

GSVNoFixedabode commented 2 years ago

Found it - for some reason the video had reset to 1280. Changed this to 1600 and snapshot also changed back. Weird.