https://bugs.kde.org/show_bug.cgi?id=470875

            Bug ID: 470875
           Summary: Crash when importing any video captured by DJI Mavic 3
                    Classic
    Classification: Applications
           Product: kdenlive
           Version: 23.04.1
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Video Display & Export
          Assignee: j...@kdenlive.org
          Reporter: daniel.le...@gmail.com
  Target Milestone: ---

SUMMARY
Attempting to import any video clip that is generated by a DJI Mavic 3 Classic
drone camera crashes Kdenlive.  I have attempted all video format containers
(mp4 & mov), codecs (h.264 & h.265), and several resolutions & framerates
(1080p 24 & 30, 4K 24 & 30).  All yields the same result - an instant crash
after clicking the import button.


STEPS TO REPRODUCE
1. Open Kdenlive
2. Click "Add clip or folder" button
3. Navigate to desired clips
4. Select desired clip & click OK

OBSERVED RESULT
Kdenlive instantly crashes.

EXPECTED RESULT
Clip is imported and usable.

SOFTWARE/OS VERSIONS
Ubuntu 22.04.2 LTS
GNOME 42.5

ADDITIONAL INFORMATION
Sample information about a clip causing a crash (taken from VLC):
Codec: MPEG-H Part2/HEVC (H.265) (hvc1)
Type: Video
Video resolution: 1920x1080
Buffer dimensions: 1920x1088
Frame rate: 29.970030
Decoded format: Planar 4:2:0 YUV
Orientation: Top left
Color primaries: ITU-R BT.709
Color transfer function: ITU-R BT.709
Color space: ITU-R BT.709 Range
Chroma location: Left

ffmpeg successfully plays the clips:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DJI_0255.MP4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    creation_time   : 2023-06-10T02:34:57.000000Z
    encoder         : DJIMavic3Classic
  Duration: 00:00:15.48, start: 0.000000, bitrate: 62840 kb/s
  Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709),
1920x1080, 60217 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2023-06-10T02:34:57.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Data: none (djmd / 0x646D6A64), 52 kb/s
    Metadata:
      creation_time   : 2023-06-10T02:34:57.000000Z
      handler_name    : DJI meta
  Stream #0:2(und): Data: none (dbgi / 0x69676264), 2250 kb/s
    Metadata:
      creation_time   : 2023-06-10T02:34:57.000000Z
      handler_name    : DJI dbgi
  Stream #0:3: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown),
960x540 [SAR 1:1 DAR 16:9], 90k tbr, 90k tbn, 90k tbc (attached pic)
   5.50 M-V:  0.000 fd=   0 aq=    0KB vq= 7640KB sq=    0B f=0/0 

Melt on Ubuntu however seems to display a black screen, and then freeze after a
few hundred frames of processing.  I'm not sure if that's useful, since I'm
using the Appimage version of Kdenlive.

$ melt DJI_0255.MP4 
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ae99034b00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ae9905d100] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ae99061e40] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ae990438c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ae990719c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ae9903c4c0] stream 0, timescale not set
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
|1=-10| |2= -5| |3= -2| |4= -1| |5=  0| |6=  1| |7=  2| |8=  5| |9= 10|
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
+---------------------------------------------------------------------+
|               H = back 1 minute,  L = forward 1 minute              |
|                 h = previous frame,  l = next frame                 |
|           g = start of clip, j = next clip, k = previous clip       |
|                0 = restart, q = quit, space = play                  |
+---------------------------------------------------------------------+
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcd14002340] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcd1402a140] stream 0, timescale not set
Current Position:        463


I am happy to share sample clips for investigation.  Please let me know the
best way to submit them.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to