AntonyCorbett / OnlyM

Simple Media Player (audio, video and images) for use in meetings.
MIT License
182 stars 45 forks source link

JPEG DPI OnlyM Black Screen #485

Closed epixscott closed 10 months ago

epixscott commented 10 months ago

Some newer JPEG images on JW.ORG have a DPI set to 2397x2397: image

For example: https://cms-imgp.jw-cdn.org/img/p/202023407/univ/art/202023407_univ_cnt_1_xl.jpg

These images don't want to display in OnlyM. When clicking play, OnlyM just displays a black screen.

Simply reducing the image DPI allows them to display. I've tried as high as 1200x1200 DPI and they display fine in OnlyM: image

To Reproduce Steps to reproduce the behavior:

  1. Download a JPEG image with a DPI of 2397x2397
  2. Try to display in OnlyM
  3. Reduce the DPI
  4. Display in OnlyM

Desktop:

Same behavior on multiple computers

AntonyCorbett commented 10 months ago

Thanks. The DPI values (2397x2397) in the jpeg metadata are fairly meaningless, and usually correspond to the target medium. In this case, the very large values are causing OnlyM a problem somewhere - I'll investigate.

AntonyCorbett commented 10 months ago

@epixscott Fixed now.

epixscott commented 10 months ago

Great! Thank you.

I understood the DPI to have nothing to do with video display. Just curious, how did that affect OnlyM?

Thanks for all the work on this project.