pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.22k stars 87 forks source link

Live Photos of Samsung S24 not playing #1265

Closed 37-b-j closed 2 months ago

37-b-j commented 3 months ago

Describe the bug

I had a Google Pixel 6, which Live Photos played without problems in "Memories". Now I switched to a Samsung S24, and while the Live Photos are recognized by "Memories", they don’t play in the Android app or in the browser.

For example, these images should play but don’t: image

Here is a Live Photo for you for testing: 20240809_211700.zip

Steps To Reproduce

No response

Platform

- OS: Windows 11 / Android 14
- Browser: Chrome
- Memories Version: 7.3.1
- Nextcloud Version: 29.0.4
- PHP Version: 8.1.2

Screenshots

No response

Additional context

invario commented 3 months ago

Did you either press the button in the upper right, or actually tap on the photo to enlarge it? Live photos don't play in timeline view automatically.

37-b-j commented 3 months ago

Yes, I also tried this, but without success. In the overview, the dot within the button’s ring moves to the right for a second, but the image doesn't move and there's no reaction when I press the button again. Also there's no response when I try to enlarge the image and press the button.

invario commented 3 months ago

Yes, I also tried this, but without success. In the overview, the dot within the button’s ring moves to the right for a second, but the image doesn't move and there's no reaction when I press the button again. Also there's no response when I try to enlarge the image and press the button.

So I grabbed your image, and it's something specific to your images. For reference, I have a GS23+ and I use motion photos too. But I store my files as HEIC. I just changed my phone settings to JPG, took a test photo and synced, and my own photo worked just fine.

For comparison, exiftool for your file gives:

ExifTool Version Number         : 12.76
File Name                       : 20240809_211700.jpg
Directory                       : .
File Size                       : 5.8 MB
File Modification Date/Time     : 2024:08:13 13:00:42-04:00
File Access Date/Time           : 2024:08:13 13:05:17-04:00
File Inode Change Date/Time     : 2024:08:13 13:04:50-04:00
File Permissions                : -rw-r--r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : samsung
Camera Model Name               : Galaxy S24
Orientation                     : Rotate 90 CW
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : S921BXXS3AXFE
Modify Date                     : 2024:08:09 21:17:01
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/50
F Number                        : 1.8
Exposure Program                : Program AE
ISO                             : 2000
Exif Version                    : 0220
Date/Time Original              : 2024:08:09 21:17:01
Create Date                     : 2024:08:09 21:17:01
Offset Time                     : +02:00
Offset Time Original            : +02:00
Shutter Speed Value             : 1
Aperture Value                  : 1.8
Exposure Compensation           : 0
Max Aperture Value              : 1.8
Metering Mode                   : Center-weighted average
Flash                           : No Flash
Focal Length                    : 5.4 mm
Sub Sec Time                    : 109
Sub Sec Time Original           : 109
Sub Sec Time Digitized          : 109
Flashpix Version                : 0100
Color Space                     : Uncalibrated
Exif Image Width                : 4000
Exif Image Height               : 3000
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 23 mm
Scene Capture Type              : Standard
Image Unique ID                 : F50XLPE00PM
GPS Latitude Ref                : North
GPS Longitude Ref               : East
GPS Altitude Ref                : Above Sea Level
Compression                     : JPEG (old-style)
Thumbnail Offset                : 990
Thumbnail Length                : 49504
Warning                         : Bad length ICC_Profile (length 632)
Profile CMM Type                :
Profile Version                 : 4.3.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 2022:07:01 00:00:00
Profile File Signature          : acsp
Primary Platform                : Unknown (SEC)
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : Unknown (SEC)
Device Model                    :
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Perceptual
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : Unknown (SEC)
Profile ID                      : 0
Profile Description             : DCI-P3 D65 Gamut with sRGB Transfer
Profile Copyright               : Copyright (c) 2022 Samsung Electronics Co., Ltd.
Media White Point               : 0.9642 1 0.82491
Chromatic Adaptation            : 1.04781 0.02289 -0.05013 0.02954 0.99048 -0.01704 -0.00923 0.01505 0.75214
Red Matrix Column               : 0.51508 0.24117 -0.00105
Green Matrix Column             : 0.29195 0.69223 0.04189
Blue Matrix Column              : 0.15718 0.06659 0.78455
Red Tone Reproduction Curve     : (Binary data 32 bytes, use -b option to extract)
Green Tone Reproduction Curve   : (Binary data 32 bytes, use -b option to extract)
Blue Tone Reproduction Curve    : (Binary data 32 bytes, use -b option to extract)
XMP Toolkit                     : Adobe XMP Core Test.SNAPSHOT
Version                         : 1.0
Motion Photo                    : 1
Motion Photo Version            : 1
Motion Photo Presentation Timestamp Us: 1446768
Directory Item Mime             : image/jpeg
Directory Item Semantic         : Primary
Directory Item Length           : 14841
Directory Item Padding          : 161
MPF Version                     : 0100
Number Of Images                : 2
MP Image Flags                  : (none)
MP Image Format                 : JPEG
MP Image Type                   : Undefined
MP Image Length                 : 14841
MP Image Start                  : 3908341
Dependent Image 1 Entry Number  : 0
Dependent Image 2 Entry Number  : 0
Image Width                     : 4000
Image Height                    : 3000
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Time Stamp                      : 2024:08:09 15:17:01.109-04:00
MCC Data                        : Austria (232)
Embedded Video Type             : MotionPhoto_Data
Embedded Video File             : (Binary data 1870700 bytes, use -b option to extract)
Aperture                        : 1.8
Image Size                      : 4000x3000
Megapixels                      : 12.0
Scale Factor To 35 mm Equivalent: 4.3
Shutter Speed                   : 1/50
Create Date                     : 2024:08:09 21:17:01.109
Date/Time Original              : 2024:08:09 21:17:01.109+02:00
Modify Date                     : 2024:08:09 21:17:01.109+02:00
Thumbnail Image                 : (Binary data 49504 bytes, use -b option to extract)
GPS Altitude                    : 261 m Above Sea Level
GPS Latitude                    : 48 deg 11' 41.41" N
GPS Longitude                   : 16 deg 15' 40.87" E
MP Image 2                      : (Binary data 14841 bytes, use -b option to extract)
Circle Of Confusion             : 0.007 mm
Field Of View                   : 76.1 deg
Focal Length                    : 5.4 mm (35 mm equivalent: 23.0 mm)
GPS Position                    : 48 deg 11' 41.41" N, 16 deg 15' 40.87" E
Hyperfocal Distance             : 2.30 m
Light Value                     : 3.0

My file produces this:

ExifTool Version Number         : 12.76
File Name                       : 20240813_130334.jpg
Directory                       : .
File Size                       : 9.1 MB
File Modification Date/Time     : 2024:08:13 13:03:35-04:00
File Access Date/Time           : 2024:08:13 13:05:01-04:00
File Inode Change Date/Time     : 2024:08:13 13:04:40-04:00
File Permissions                : -rw-r--r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : samsung
Camera Model Name               : Galaxy S23+
Orientation                     : Rotate 90 CW
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : S916U1UES4CXG8
Modify Date                     : 2024:08:13 13:03:33
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/120
F Number                        : 1.8
Exposure Program                : Program AE
ISO                             : 400
Exif Version                    : 0220
Date/Time Original              : 2024:08:13 13:03:33
Create Date                     : 2024:08:13 13:03:33
Offset Time                     : -04:00
Offset Time Original            : -04:00
Shutter Speed Value             : 1
Aperture Value                  : 1.8
Brightness Value                : 1.39
Exposure Compensation           : 0
Max Aperture Value              : 1.8
Metering Mode                   : Center-weighted average
Flash                           : No Flash
Focal Length                    : 5.4 mm
Sub Sec Time                    : 828
Sub Sec Time Original           : 828
Sub Sec Time Digitized          : 828
Flashpix Version                : 0100
Color Space                     : Uncalibrated
Exif Image Width                : 4000
Exif Image Height               : 3000
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 23 mm
Scene Capture Type              : Standard
Image Unique ID                 : F50XLPE00SM
Compression                     : JPEG (old-style)
Thumbnail Offset                : 866
Thumbnail Length                : 50190
XMP Toolkit                     : Adobe XMP Core Test.SNAPSHOT
Motion Photo                    : 1
Motion Photo Version            : 1
Motion Photo Presentation Timestamp Us: 2685325
Directory Item Mime             : image/jpeg
Directory Item Semantic         : Primary
Directory Item Length           : 0
Directory Item Padding          : 138
Profile CMM Type                :
Profile Version                 : 4.3.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 2022:07:01 00:00:00
Profile File Signature          : acsp
Primary Platform                : Unknown (SEC)
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : Unknown (SEC)
Device Model                    :
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Perceptual
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : Unknown (SEC)
Profile ID                      : 0
Profile Description             : DCI-P3 D65 Gamut with sRGB Transfer
Profile Copyright               : Copyright (c) 2022 Samsung Electronics Co., Ltd.
Media White Point               : 0.9642 1 0.82491
Chromatic Adaptation            : 1.04781 0.02289 -0.05013 0.02954 0.99048 -0.01704 -0.00923 0.01505 0.75214
Red Matrix Column               : 0.51508 0.24117 -0.00105
Green Matrix Column             : 0.29195 0.69223 0.04189
Blue Matrix Column              : 0.15718 0.06659 0.78455
Red Tone Reproduction Curve     : (Binary data 32 bytes, use -b option to extract)
Green Tone Reproduction Curve   : (Binary data 32 bytes, use -b option to extract)
Blue Tone Reproduction Curve    : (Binary data 32 bytes, use -b option to extract)
Image Width                     : 4000
Image Height                    : 3000
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Time Stamp                      : 2024:08:13 13:03:33.828-04:00
MCC Data                        : United States / Guam (310)
Embedded Video Type             : MotionPhoto_Data
Embedded Video File             : (Binary data 5272462 bytes, use -b option to extract)
Aperture                        : 1.8
Image Size                      : 4000x3000
Megapixels                      : 12.0
Scale Factor To 35 mm Equivalent: 4.3
Shutter Speed                   : 1/120
Create Date                     : 2024:08:13 13:03:33.828
Date/Time Original              : 2024:08:13 13:03:33.828-04:00
Modify Date                     : 2024:08:13 13:03:33.828-04:00
Thumbnail Image                 : (Binary data 50190 bytes, use -b option to extract)
Circle Of Confusion             : 0.007 mm
Field Of View                   : 76.1 deg
Focal Length                    : 5.4 mm (35 mm equivalent: 23.0 mm)
Hyperfocal Distance             : 2.30 m
Light Value                     : 6.6

What does this mean exactly? I'm not sure, but from comparing the metadata in the GS24 versus my GS23+, there are a lot more additional tags. I see some new ones that specifically deal with motion photos. Maybe that's interfering with Memories from processing the video correctly when browsing.

I pasted both metadata into Excel and compared the missing tags and here's what you have at the top. Red means it's missing on that device (S24 on left vs S23+ on the right.) image

Geotags aside, there are still a bunch of differences noted.

37-b-j commented 3 months ago

thank you for the detailed analysis so far. Is there anything I can do at the moment to support you?

invario commented 3 months ago

thank you for the detailed analysis so far. Is there anything I can do at the moment to support you?

Not me but maybe the developer will jump in soon. He's very responsive and very good.