prusa3d / Prusa-Firmware-ESP32-Cam

Firmware for ESP32 Cam modules to be used in Prusa Connect
GNU General Public License v3.0
97 stars 10 forks source link

Image Rotation not applied to stream.mjpg #39

Closed ice987987 closed 2 days ago

ice987987 commented 1 month ago

the new image rotation feature, implemented with 1.0.3-rc2, is not applied to the stream http://[ip]/stream.mjpg.

johnyHV commented 4 weeks ago

@ice987987 Yes, the stream currently does not support EXIF metadata. I will try to implemented it in the next version of the firmware. For now, I don't know if it will be possible to use EXIF metadata with the stream. EXIF metadata must be calculated for each image individually. Adding EXIF metadata may cause higher CPU load and may reduce the number of FPS. These are just estimates, and I need to test it. I already have an idea in my head, how a stream with EXIF ​​could work, but I need to test it

twjdeboer commented 3 weeks ago

Visual indication of the problem: The small thumbnails do not rotate according to the setting, but the camera view does.

Screenshot 2024-06-10 160141

johnyHV commented 2 days ago

@ice987987 Experimentally, I added EXIF for the stream, but so far I am not satisfied with the board's performance. By default, EXIF for the stream is turned off. However, you can enable it by using the macro CAMERA_EXIF_ROTATION_STREAM in mcu_cfg.h.

ice987987 commented 2 days ago

thank you very much!