Skip to content

MacOS client crashes when specific MOV video appears #2978

@dusatvoj

Description

@dusatvoj

Search before asking

  • I had searched in the issues and found no similar issues.

Operating System

  • macOS
  • Windows
  • Linux

Operating System Version

13.3.1

It happens on the web browser too?

No, it just happens on the Desktop app

Rocket.Chat Desktop App Version

4.1.2

Rocket.Chat Server Version

6.13.1

Describe the bug

When one of my colleague sent MOV video from her iphone to #general chat, many another colleagues went with Electron RC into gray screen and nothing worked ...
image

It's not the first time when this issue happens. Blind clicking to the left bar work as workaround - you will escape the problematic chat and issue with rendering disappears. When you click back to problematic chat, you go back to gray screen or app crash (depends on GPU acceleration, etc.)

MOV details (ffmpeg info):

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_6764.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : XXX
    com.apple.quicktime.location.accuracy.horizontal: 5.300079
    com.apple.quicktime.cinematic-video: 
    com.apple.quicktime.location.ISO6709: XXX
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 13
    com.apple.quicktime.software: 16.3.1
    com.apple.quicktime.creationdate: XXX
  Duration: 00:00:09.23, start: 0.000000, bitrate: 8663 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080, 8461 kb/s, 30.01 fps, 30 tbr, 600 tbn (default)
      Metadata:
        creation_time   : XXX
        handler_name    : Core Media Video
        vendor_id       : [0][0][0][0]
        encoder         : HEVC
      Side data:
        DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4, compression: 0
        displaymatrix: rotation of -90.00 degrees
        Ambient Viewing Environment, ambient_illuminance=314.000000, ambient_light_x=0.312700, ambient_light_y=0.329000
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 193 kb/s (default)
      Metadata:
        creation_time   : XXX
        handler_name    : Core Media Audio
        vendor_id       : [0][0][0][0]

How to Reproduce

  1. Send MOV from iPhone as described above.
  2. Open the chat at MacOS client
  3. See gray screen

Describe your Expected behavior

Working RC even with the video in chat

Anything else

No response

Are you willing to submit a code contribution?

  • Yes, I am willing to submit a Pull Request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions