OS and Version (please complete the following information):
- Operating System: Debian 13 + Shotcut form sid
- Shotcut Version: 26.5.4
Describe the bug
When opening video files (for example from Osmo 4 in 4K), that were taken with orientation top-right (shows in VLC), so rotated by 90°, segmentation fault occurs. Normal clips have orientation top-left. Doesn't matter the processing mode.
Steps To Reproduce
- Start Shotcut
- Add clip to playlist
- Double-click the clip to open in preview window or add it to timeline
Expected behavior
Click will play as usual with top-left orientation. Since it is rotated, it probably doesn't pass to the frame buffer. Best way would be to ignore the orientation if possible. In VLC or AviDemux it shows as with top-left orientation without problems. Follows command line output after clicking the file.
Terminal
[Debug ] VideoVectorScopeWidget::profileChanged 709
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f45c710a7c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f45c52378c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f45c5238280] stream 0, timescale not set
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x7f45c710ab40] Statistics: 1057635 bytes read, 5 seeks
[VAAPI @ 0x7f45c736b640] libva: VA-API version 1.22.0
[VAAPI @ 0x7f45c736b640] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
[VAAPI @ 0x7f45c736b640] libva: Found init function __vaDriverInit_1_22
[VAAPI @ 0x7f45c736b640] libva: va_openDriver() returns 0
[VAAPI @ 0x7f45c736b640] Initialised VAAPI connection: version 1.22
[VAAPI @ 0x7f45c736b640] VAAPI driver: Mesa Gallium driver 25.0.7-2 for AMD Radeon RX 5500 XT (radeonsi, navi14, LLVM 19.1.7, DRM 3.61, 6.12.85+deb13-amd64).
[VAAPI @ 0x7f45c736b640] Driver not found in known nonstandard list, using standard behaviour.
[Info ] [chain avformat-novalidate] "/media/data/action/DJI_20260508070213_0020_D.MP4" hwaccel vaapi av_hwdevice_ctx_create() success
[Debug ] [chain avformat-novalidate] "/media/data/Video/action/DJI_20260508070213_0020_D.MP4" checking VFR: pkt.duration 1000
[mlt_buffer @ 0x7f44901b4fc0] w:3840 h:2160 pixfmt:p010le tb:1/50000 fr:50/1 sar:1/1 csp:unknown range:unknown alpha:unspecified
[mlt_buffer @ 0x7f44901b4fc0] Changing video frame properties on the fly is not supported by all filters.
[mlt_buffer @ 0x7f44901b4fc0] filter context - w: 3840 h: 2160 fmt: 158 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 3840 h: 2160 fmt: 158 csp: bt709 range: tv alpha: unspecified pts_time: 0
[mlt_buffer @ 0x7f44901b23c0] w:3840 h:2160 pixfmt:p010le tb:1/50000 fr:50/1 sar:1/1 csp:unknown range:unknown alpha:unspecified
[mlt_buffer @ 0x7f44901b23c0] Changing video frame properties on the fly is not supported by all filters.
[mlt_buffer @ 0x7f44901b23c0] filter context - w: 3840 h: 2160 fmt: 158 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 3840 h: 2160 fmt: 158 csp: bt709 range: tv alpha: unspecified pts_time: 0
[Debug ] [link swresample] 2(stereo) f32le 48000Hz -> 2(stereo) s16 48000Hz
[in @ 0x7f45c734c880] w:3840 h:2160 pixfmt:rgba64le tb:1/50 fr:50/1 sar:1/1 csp:gbr range:pc alpha:unspecified
[scale @ 0x7f45c735fa40] w:3840 h:2160 flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[auto_scale_0 @ 0x7f45c7362900] w:iw h:ih flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[out @ 0x7f45c735e980] auto-inserting filter 'auto_scale_0' between the filter 'pad' and the filter 'out'
[auto_scale_1 @ 0x7f45c73631c0] w:iw h:ih flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[zscale @ 0x7f45c735eb00] auto-inserting filter 'auto_scale_1' between the filter 'in' and the filter 'zscale'
[auto_scale_1 @ 0x7f45c73631c0] w:3840 h:2160 fmt:rgba64le csp:gbr range:pc sar:1/1 -> w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 flags:0x00046004
[auto_scale_1 @ 0x7f45c73631c0] [framesync @ 0x7f45c5800d90] Selected 1/50 time base
[auto_scale_1 @ 0x7f45c73631c0] [framesync @ 0x7f45c5800d90] Sync level 1
[scale @ 0x7f45c735fa40] w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 -> w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 flags:0x00046004
[scale @ 0x7f45c735fa40] [framesync @ 0x7f45c50d9990] Selected 1/50 time base
[scale @ 0x7f45c735fa40] [framesync @ 0x7f45c50d9990] Sync level 1
[pad @ 0x7f45c7360440] w:3840 h:2160 -> w:3840 h:2160 x:0 y:0 color:0x000000FF
[auto_scale_0 @ 0x7f45c7362900] w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 -> w:3840 h:2160 fmt:rgba64le csp:gbr range:pc sar:1/1 flags:0x00046004
[auto_scale_0 @ 0x7f45c7362900] [framesync @ 0x7f45c4811450] Selected 1/50 time base
[auto_scale_0 @ 0x7f45c7362900] [framesync @ 0x7f45c4811450] Sync level 1
[in @ 0x7f45c734c880] video frame properties congruent with link at pts_time: 0
[Debug ] [link swresample] 2(stereo) f32le 48000Hz -> 2(stereo) s16 48000Hz
[Debug ] [link swresample] 2(stereo) f32le 48000Hz -> 2(stereo) s16 48000Hz
[Debug ] [chain avformat-novalidate] "/media/data/Video/2026-05-07 Z Ostravy/action/DJI_20260508070213_0020_D.MP4" Attempting to set up hwaccel filter scale_vaapi: 3840x2160 -> 960x540
[hw_buffer @ 0x7f43f758af00] w:3840 h:2160 pixfmt:vaapi tb:1/50000 fr:50/1 sar:1/1 csp:unknown range:unknown alpha:unspecified
[Info ] [chain avformat-novalidate] "/media/data/Video/action/DJI_20260508070213_0020_D.MP4" scale_vaapi filter initialized: 3840x2160 -> 960x540
[hw_buffer @ 0x7f43f758af00] Changing video frame properties on the fly is not supported by all filters.
[hw_buffer @ 0x7f43f758af00] filter context - w: 3840 h: 2160 fmt: 44 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 3840 h: 2160 fmt: 44 csp: bt709 range: tv alpha: unspecified pts_time: 0.02
[mlt_buffer @ 0x7f44901b23c0] Changing video frame properties on the fly is not supported by all filters.
[mlt_buffer @ 0x7f44901b23c0] filter context - w: 3840 h: 2160 fmt: 158 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 960 h: 540 fmt: 158 csp: bt709 range: tv alpha: unspecified pts_time: 0.02
Segmentation fault
OS and Version (please complete the following information):
Describe the bug
When opening video files (for example from Osmo 4 in 4K), that were taken with orientation top-right (shows in VLC), so rotated by 90°, segmentation fault occurs. Normal clips have orientation top-left. Doesn't matter the processing mode.
Steps To Reproduce
Expected behavior
Click will play as usual with top-left orientation. Since it is rotated, it probably doesn't pass to the frame buffer. Best way would be to ignore the orientation if possible. In VLC or AviDemux it shows as with top-left orientation without problems. Follows command line output after clicking the file.
Terminal
[Debug ] VideoVectorScopeWidget::profileChanged 709
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f45c710a7c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f45c52378c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f45c5238280] stream 0, timescale not set
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x7f45c710ab40] Statistics: 1057635 bytes read, 5 seeks
[VAAPI @ 0x7f45c736b640] libva: VA-API version 1.22.0
[VAAPI @ 0x7f45c736b640] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
[VAAPI @ 0x7f45c736b640] libva: Found init function __vaDriverInit_1_22
[VAAPI @ 0x7f45c736b640] libva: va_openDriver() returns 0
[VAAPI @ 0x7f45c736b640] Initialised VAAPI connection: version 1.22
[VAAPI @ 0x7f45c736b640] VAAPI driver: Mesa Gallium driver 25.0.7-2 for AMD Radeon RX 5500 XT (radeonsi, navi14, LLVM 19.1.7, DRM 3.61, 6.12.85+deb13-amd64).
[VAAPI @ 0x7f45c736b640] Driver not found in known nonstandard list, using standard behaviour.
[Info ] [chain avformat-novalidate] "/media/data/action/DJI_20260508070213_0020_D.MP4" hwaccel vaapi av_hwdevice_ctx_create() success
[Debug ] [chain avformat-novalidate] "/media/data/Video/action/DJI_20260508070213_0020_D.MP4" checking VFR: pkt.duration 1000
[mlt_buffer @ 0x7f44901b4fc0] w:3840 h:2160 pixfmt:p010le tb:1/50000 fr:50/1 sar:1/1 csp:unknown range:unknown alpha:unspecified
[mlt_buffer @ 0x7f44901b4fc0] Changing video frame properties on the fly is not supported by all filters.
[mlt_buffer @ 0x7f44901b4fc0] filter context - w: 3840 h: 2160 fmt: 158 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 3840 h: 2160 fmt: 158 csp: bt709 range: tv alpha: unspecified pts_time: 0
[mlt_buffer @ 0x7f44901b23c0] w:3840 h:2160 pixfmt:p010le tb:1/50000 fr:50/1 sar:1/1 csp:unknown range:unknown alpha:unspecified
[mlt_buffer @ 0x7f44901b23c0] Changing video frame properties on the fly is not supported by all filters.
[mlt_buffer @ 0x7f44901b23c0] filter context - w: 3840 h: 2160 fmt: 158 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 3840 h: 2160 fmt: 158 csp: bt709 range: tv alpha: unspecified pts_time: 0
[Debug ] [link swresample] 2(stereo) f32le 48000Hz -> 2(stereo) s16 48000Hz
[in @ 0x7f45c734c880] w:3840 h:2160 pixfmt:rgba64le tb:1/50 fr:50/1 sar:1/1 csp:gbr range:pc alpha:unspecified
[scale @ 0x7f45c735fa40] w:3840 h:2160 flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[auto_scale_0 @ 0x7f45c7362900] w:iw h:ih flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[out @ 0x7f45c735e980] auto-inserting filter 'auto_scale_0' between the filter 'pad' and the filter 'out'
[auto_scale_1 @ 0x7f45c73631c0] w:iw h:ih flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[zscale @ 0x7f45c735eb00] auto-inserting filter 'auto_scale_1' between the filter 'in' and the filter 'zscale'
[auto_scale_1 @ 0x7f45c73631c0] w:3840 h:2160 fmt:rgba64le csp:gbr range:pc sar:1/1 -> w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 flags:0x00046004
[auto_scale_1 @ 0x7f45c73631c0] [framesync @ 0x7f45c5800d90] Selected 1/50 time base
[auto_scale_1 @ 0x7f45c73631c0] [framesync @ 0x7f45c5800d90] Sync level 1
[scale @ 0x7f45c735fa40] w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 -> w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 flags:0x00046004
[scale @ 0x7f45c735fa40] [framesync @ 0x7f45c50d9990] Selected 1/50 time base
[scale @ 0x7f45c735fa40] [framesync @ 0x7f45c50d9990] Sync level 1
[pad @ 0x7f45c7360440] w:3840 h:2160 -> w:3840 h:2160 x:0 y:0 color:0x000000FF
[auto_scale_0 @ 0x7f45c7362900] w:3840 h:2160 fmt:gbrap16le csp:gbr range:pc sar:1/1 -> w:3840 h:2160 fmt:rgba64le csp:gbr range:pc sar:1/1 flags:0x00046004
[auto_scale_0 @ 0x7f45c7362900] [framesync @ 0x7f45c4811450] Selected 1/50 time base
[auto_scale_0 @ 0x7f45c7362900] [framesync @ 0x7f45c4811450] Sync level 1
[in @ 0x7f45c734c880] video frame properties congruent with link at pts_time: 0
[Debug ] [link swresample] 2(stereo) f32le 48000Hz -> 2(stereo) s16 48000Hz
[Debug ] [link swresample] 2(stereo) f32le 48000Hz -> 2(stereo) s16 48000Hz
[Debug ] [chain avformat-novalidate] "/media/data/Video/2026-05-07 Z Ostravy/action/DJI_20260508070213_0020_D.MP4" Attempting to set up hwaccel filter scale_vaapi: 3840x2160 -> 960x540
[hw_buffer @ 0x7f43f758af00] w:3840 h:2160 pixfmt:vaapi tb:1/50000 fr:50/1 sar:1/1 csp:unknown range:unknown alpha:unspecified
[Info ] [chain avformat-novalidate] "/media/data/Video/action/DJI_20260508070213_0020_D.MP4" scale_vaapi filter initialized: 3840x2160 -> 960x540
[hw_buffer @ 0x7f43f758af00] Changing video frame properties on the fly is not supported by all filters.
[hw_buffer @ 0x7f43f758af00] filter context - w: 3840 h: 2160 fmt: 44 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 3840 h: 2160 fmt: 44 csp: bt709 range: tv alpha: unspecified pts_time: 0.02
[mlt_buffer @ 0x7f44901b23c0] Changing video frame properties on the fly is not supported by all filters.
[mlt_buffer @ 0x7f44901b23c0] filter context - w: 3840 h: 2160 fmt: 158 csp: unknown range: unknown alpha: unspecified, incoming frame - w: 960 h: 540 fmt: 158 csp: bt709 range: tv alpha: unspecified pts_time: 0.02
Segmentation fault