Parts of video "corrupted" after exporting project

Hi,

I’m trying to export a project and I have a part in the sequence where two clips are side by side then using the “size, rotate and position” filter I am “animating” transitioning one clip from taking up 50% of the screen to 100%.

I have two versions of Shotcut available as suggested previously, my original version which is part of the Arch Linux distro packages, and the portable binary version downloaded from the website.

If I use my original version the project will ‘export’ but I am seeing this:

The portable binary just segfaulted on me with 1 hour to go of the 5 hours it is taking to render and attempting to restart the log shows this:

mlt_repository_init: failed to dlopen /vr/home/kaya/Downloads/Shotcut/Shotcut.app/lib/mlt-7/libmltsox.so

(libsox.so.3: cannot open shared object file: No such file or directory)

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436d55dec0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f051ac0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f350f40] stream 0, timescale not set

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 0x56436d3c07c0] Statistics: 957477 bytes read, 5 seeks

[AVIOContext @ 0x56436f052ac0] Statistics: 957477 bytes read, 5 seeks

[AVIOContext @ 0x56436d3bf880] Statistics: 957477 bytes read, 5 seeks

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f051ac0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f350f40] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436d55dec0] stream 0, timescale not set

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 0x56436d3bf880] Statistics: 649830 bytes read, 5 seeks

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f051ac0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436fa789c0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436fa774c0] stream 0, timescale not set

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 0x56436d3bf880] Statistics: 635813 bytes read, 5 seeks

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f051ac0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564370602740] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5643702ab140] stream 0, timescale not set

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 0x56436d3bf880] Statistics: 940184 bytes read, 5 seeks

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f051ac0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5643707d2dc0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5643707d1b00] stream 0, timescale not set

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 0x56436d3bf880] Statistics: 946707 bytes read, 5 seeks

[AVIOContext @ 0x56436d3c07c0] Statistics: 649830 bytes read, 5 seeks

[AVIOContext @ 0x56436f052ac0] Statistics: 649830 bytes read, 5 seeks

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f350f40] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436d55dec0] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56436f051ac0] stream 0, timescale not set

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 0x56436d3bf880] Statistics: 615943 bytes read, 5 seeks

[AVIOContext @ 0x56436fa76a40] Statistics: 635813 bytes read, 5 seeks

[AVIOContext @ 0x5643703e1840] Statistics: 635813 bytes read, 5 seeks

[h264_nvenc @ 0x762104201e40] Loaded Nvenc version 12.1

[h264_nvenc @ 0x762104201e40] Nvenc initialized successfully

[h264_nvenc @ 0x762104201e40] 1 CUDA capable devices found

[h264_nvenc @ 0x762104201e40] [ GPU #0 - < NVIDIA RTX A2000 8GB Laptop GPU > has Compute SM 8.6 ]

[h264_nvenc @ 0x762104201e40] supports NVENC

[h264_nvenc @ 0x762104201e40] CQ(5888) mode enabled.

[h264_nvenc @ 0x762104201e40] InitializeEncoder failed: out of memory (10):

[h264_nvenc @ 0x762104201e40] Nvenc unloaded

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7620e817cc40] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7620e8169780] stream 0, timescale not set

[AVIOContext @ 0x7620e817d1c0] Statistics: 2423864 bytes read, 3 seeks

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7620e817cc40] stream 0, timescale not set

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7620e8bf8a40] stream 0, timescale not set

[AVIOContext @ 0x7620e817d1c0] Statistics: 2496158 bytes read, 3 seeks

[chain avformat-novalidate] /vr/home/kaya/Camera_local/DJI/Scotland_04_2024/Air3/Video/DJI_20240421145201_0030_D.MP4

checking VFR: pkt.duration 1000

[in @ 0x762086742ec0] w:3840 h:2160 pixfmt:rgba tb:1/50 fr:50/1 sar:1/1

[scale @ 0x762086539ec0] w:3840 h:2160 flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0

[scale @ 0x762086539ec0] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[pad @ 0x762060c3ec80] w:3840 h:2160 -> w:3840 h:2160 x:0 y:0 color:0x000000FF

[scale @ 0x762086539ec0] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[scale @ 0x762086539ec0] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[scale @ 0x762086539ec0] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[chain avformat-novalidate] /vr/home/kaya/Camera_local/DJI/Scotland_04_2024/Air3/Video/DJI_20240417114944_0005_D.MP4

checking VFR: pkt.duration 1000

[in @ 0x762026bcf800] w:3840 h:2160 pixfmt:rgba tb:1/50 fr:50/1 sar:1/1

[scale @ 0x762026bcfc80] w:3840 h:2160 flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0

[scale @ 0x762026bcfc80] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[pad @ 0x762060c2d7c0] w:3840 h:2160 -> w:3840 h:2160 x:0 y:0 color:0x000000FF

[scale @ 0x762026bcfc80] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[scale @ 0x762026bcfc80] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

[scale @ 0x762026bcfc80] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)

Failed with exit code 11

Failed with exit code 11

The actual footage is fine when viewing in the player:

What is going on here and why is the video clip that has been resized to 30% using keyframes to bring it to 100% not actually exporting properly?

Is there something I could try to enable to export the session properly?

I am using the “hardware encoder” if that is the issue and do have some GPU based filters???

Just created a ‘marker’ to export the problematic section and again it seems to fail to render:

mlt_repository_init: skip plugin /usr/lib/mlt-7/libmltglaxnimate.so
plugin_mgr_get_object_file_plugins: error finding ladspa_descriptor symbol in object file '/usr/lib/ladspa/blop_files/parabola_1649_data.so': /usr/lib/ladspa/blop_files/parabola_1649_data.so: undefined symbol: ladspa_descriptor
plugin_mgr_get_object_file_plugins: error finding ladspa_descriptor symbol in object file '/usr/lib/ladspa/blop_files/sawtooth_1641_data.so': /usr/lib/ladspa/blop_files/sawtooth_1641_data.so: undefined symbol: ladspa_descriptor
plugin_mgr_get_object_file_plugins: error finding ladspa_descriptor symbol in object file '/usr/lib/ladspa/blop_files/square_1643_data.so': /usr/lib/ladspa/blop_files/square_1643_data.so: undefined symbol: ladspa_descriptor
Plugin 1952 exists in both '/usr/lib/ladspa/blvco.so' and '/usr/lib/ladspa/vco_sawpulse.so'; using version in '/usr/lib/ladspa/blvco.so'
Plugin 1953 exists in both '/usr/lib/ladspa/blvco.so' and '/usr/lib/ladspa/vco_sawpulse.so'; using version in '/usr/lib/ladspa/blvco.so'
...
Plugin 1792 exists in both '/usr/lib/ladspa/pvoc.so' and '/usr/lib64/ladspa/pvoc.so'; using version in '/usr/lib/ladspa/pvoc.so'
Plugin 1793 exists in both '/usr/lib/ladspa/pvoc.so' and '/usr/lib64/ladspa/pvoc.so'; using version in '/usr/lib/ladspa/pvoc.so'
Plugin 2029 exists in both '/usr/lib/ladspa/quantiser100_2029.so' and '/usr/lib64/ladspa/quantiser100_2029.so'; using version in '/usr/lib/ladspa/quantiser100_2029.so'
Plugin 2027 exists in both '/usr/lib/ladspa/quantiser20_2027.so' and '/usr/lib64/ladspa/quantiser20_2027.so'; using version in '/usr/lib/ladspa/quantiser20_2027.so'
Plugin 2028 exists in both '/usr/lib/ladspa/quantiser50_2028.so' and '/usr/lib64/ladspa/quantiser50_2028.so'; using version in '/usr/lib/ladspa/quantiser50_2028.so'
Plugin 1661 exists in both '/usr/lib/ladspa/random_1661.so' and '/usr/lib64/ladspa/random_1661.so'; using version in '/usr/lib/ladspa/random_1661.so'
Plugin 1662 exists in both '/usr/lib/ladspa/random_1661.so' and '/usr/lib64/ladspa/random_1661.so'; using version in '/usr/lib/ladspa/random_1661.so'
Plugin 1663 exists in both '/usr/lib/ladspa/random_1661.so' and '/usr/lib64/ladspa/random_1661.so'; using version in '/usr/lib/ladspa/random_1661.so'
Plugin 1664 exists in both '/usr/lib/ladspa/random_1661.so' and '/usr/lib64/ladspa/random_1661.so'; using version in '/usr/lib/ladspa/random_1661.so'
Plugin 1417 exists in both '/usr/lib/ladspa/rate_shifter_1417.so' and '/usr/lib64/ladspa/rate_shifter_1417.so'; using version in '/usr/lib/ladspa/rate_shifter_1417.so'
...
Plugin 2025 exists in both '/usr/lib/ladspa/tracker_2025.so' and '/usr/lib64/ladspa/tracker_2025.so'; using version in '/usr/lib/ladspa/tracker_2025.so'
Plugin 2026 exists in both '/usr/lib/ladspa/tracker_2025.so' and '/usr/lib64/ladspa/tracker_2025.so'; using version in '/usr/lib/ladspa/tracker_2025.so'
Plugin 1206 exists in both '/usr/lib/ladspa/transient_1206.so' and '/usr/lib64/ladspa/transient_1206.so'; using version in '/usr/lib/ladspa/transient_1206.so'
Plugin 1649 exists in both '/usr/lib/ladspa/triangle_1649.so' and '/usr/lib64/ladspa/triangle_1649.so'; using version in '/usr/lib/ladspa/triangle_1649.so'
Plugin 1650 exists in both '/usr/lib/ladspa/triangle_1649.so' and '/usr/lib64/ladspa/triangle_1649.so'; using version in '/usr/lib/ladspa/triangle_1649.so'
Plugin 1651 exists in both '/usr/lib/ladspa/triangle_1649.so' and '/usr/lib64/ladspa/triangle_1649.so'; using version in '/usr/lib/ladspa/triangle_1649.so'
Plugin 1652 exists in both '/usr/lib/ladspa/triangle_1649.so' and '/usr/lib64/ladspa/triangle_1649.so'; using version in '/usr/lib/ladspa/triangle_1649.so'
Plugin 1204 exists in both '/usr/lib/ladspa/triple_para_1204.so' and '/usr/lib64/ladspa/triple_para_1204.so'; using version in '/usr/lib/ladspa/triple_para_1204.so'
Plugin 1209 exists in both '/usr/lib/ladspa/valve_1209.so' and '/usr/lib64/ladspa/valve_1209.so'; using version in '/usr/lib/ladspa/valve_1209.so'
Plugin 1405 exists in both '/usr/lib/ladspa/valve_rect_1405.so' and '/usr/lib64/ladspa/valve_rect_1405.so'; using version in '/usr/lib/ladspa/valve_rect_1405.so'
Plugin 1952 exists in both '/usr/lib/ladspa/blvco.so' and '/usr/lib64/ladspa/vco_sawpulse.so'; using version in '/usr/lib/ladspa/blvco.so'
Plugin 1953 exists in both '/usr/lib/ladspa/blvco.so' and '/usr/lib64/ladspa/vco_sawpulse.so'; using version in '/usr/lib/ladspa/blvco.so'
Plugin 1954 exists in both '/usr/lib/ladspa/blvco.so' and '/usr/lib64/ladspa/vco_sawpulse.so'; using version in '/usr/lib/ladspa/blvco.so'
Plugin 1337 exists in both '/usr/lib/ladspa/vocoder_1337.so' and '/usr/lib64/ladspa/vocoder_1337.so'; using version in '/usr/lib/ladspa/vocoder_1337.so'
Plugin 1905 exists in both '/usr/lib/ladspa/vynil_1905.so' and '/usr/lib64/ladspa/vynil_1905.so'; using version in '/usr/lib/ladspa/vynil_1905.so'
Plugin 1412 exists in both '/usr/lib/ladspa/wave_terrain_1412.so' and '/usr/lib64/ladspa/wave_terrain_1412.so'; using version in '/usr/lib/ladspa/wave_terrain_1412.so'
Plugin 1915 exists in both '/usr/lib/ladspa/xfade_1915.so' and '/usr/lib64/ladspa/xfade_1915.so'; using version in '/usr/lib/ladspa/xfade_1915.so'
Plugin 1917 exists in both '/usr/lib/ladspa/xfade_1915.so' and '/usr/lib64/ladspa/xfade_1915.so'; using version in '/usr/lib/ladspa/xfade_1915.so'
Plugin 3701 exists in both '/usr/lib/ladspa/zita-reverbs.so' and '/usr/lib64/ladspa/zita-reverbs.so'; using version in '/usr/lib/ladspa/zita-reverbs.so'
Plugin 3702 exists in both '/usr/lib/ladspa/zita-reverbs.so' and '/usr/lib64/ladspa/zita-reverbs.so'; using version in '/usr/lib/ladspa/zita-reverbs.so'
Plugin 1428 exists in both '/usr/lib/ladspa/zm1_1428.so' and '/usr/lib64/ladspa/zm1_1428.so'; using version in '/usr/lib/ladspa/zm1_1428.so'
mlt_repository_init: skip plugin /usr/lib/mlt-7/libmltqt.so
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so
  (libsox.so.3: cannot open shared object file: No such file or directory)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14faea86c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fae5db80] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fcf2f440] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5c14fcf16200] Statistics: 957477 bytes read, 5 seeks
[AVIOContext @ 0x5c14fd150180] Statistics: 957477 bytes read, 5 seeks
[AVIOContext @ 0x5c14fcf2ff80] Statistics: 957477 bytes read, 5 seeks
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fcf2f440] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14faea86c0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fd8ee700] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5c14fd40bbc0] Statistics: 649830 bytes read, 5 seeks
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fcf2f440] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fd8dae40] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fd913140] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5c14fd8dcb00] Statistics: 635813 bytes read, 5 seeks
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fcf2f440] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fe435300] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fe444f00] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5c14fe437980] Statistics: 940184 bytes read, 5 seeks
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fcf2f440] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fe616940] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fe7d5540] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5c14fd508c80] Statistics: 946707 bytes read, 5 seeks
[AVIOContext @ 0x5c14fd8b3f80] Statistics: 649830 bytes read, 5 seeks
[AVIOContext @ 0x5c14fd9b0300] Statistics: 649830 bytes read, 5 seeks
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fd8ee700] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fcf2f440] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c14fd975400] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x5c14fe956e80] Statistics: 615943 bytes read, 5 seeks
[AVIOContext @ 0x5c14fd913400] Statistics: 635813 bytes read, 5 seeks
[AVIOContext @ 0x5c14fd969940] Statistics: 635813 bytes read, 5 seeks
[h264_nvenc @ 0x746764201e40] Loaded Nvenc version 12.1
[h264_nvenc @ 0x746764201e40] Nvenc initialized successfully
[h264_nvenc @ 0x746764201e40] 1 CUDA capable devices found
[h264_nvenc @ 0x746764201e40] [ GPU #0 - < NVIDIA RTX A2000 8GB Laptop GPU > has Compute SM 8.6 ]
[h264_nvenc @ 0x746764201e40] supports NVENC
[h264_nvenc @ 0x746764201e40] CQ(5888) mode enabled.
[h264_nvenc @ 0x746764201e40] InitializeEncoder failed: out of memory (10): 
[h264_nvenc @ 0x746764201e40] Nvenc unloaded
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x746724168640] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x74672431fb00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x74672465c2c0] stream 0, timescale not set
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x746724168cc0] Statistics: 3954371 bytes read, 5 seeks
[chain avformat-novalidate] /vr/home/kaya/Camera_local/DJI/Scotland_04_2024/Action4/Video/DJI_20240422085045_0066_D.MP4
    checking VFR: pkt.duration 1001
[in @ 0x74672561b780] w:3840 h:2160 pixfmt:rgba tb:1/50 fr:50/1 sar:1/1
[scale @ 0x7466ca03db40] w:3840 h:2160 flags:'bicubic+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
[scale @ 0x7466ca03db40] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)
[pad @ 0x7466ca0344c0] w:3840 h:2160 -> w:3840 h:2160 x:0 y:0 color:0x000000FF
[scale @ 0x7466ca03db40] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)
[scale @ 0x7466ca03db40] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)
[scale @ 0x7466ca03db40] w:3840 h:2160 fmt:rgba sar:1/1 -> w:3840 h:2160 fmt:rgba sar:1/1 flags:(null)
Failed with exit code 11
Failed with exit code 11

Did a quick experiment and can confirm that it’s the “Size, Position, and Rotate” filter causing issues…

I will try the hardware “Size and Position” filter instead and see if that helps…

Ok looks like this is fixed with the ‘other’ filter:

The “Size, Position, and Rotate” filter also had distorted the image and made it go funny by ghosting and doing other weird things to it

If GPU Effects is on you should use the GPU version of a filter as much as possible.