Shotcut 21.05.18 export pauses on Linux Mint 20 XFCE

What is your operating system?
Kernel: 5.4.0-73-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Xfce 4.14.2
tk: Gtk 3.24.13 wm: xfwm4 dm: LightDM Distro: Linux Mint 20 Ulyana
base: Ubuntu 20.04 focal

What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
21.05.18

Can you repeat the problem? If so, what are the steps?
(Please be specific and use the names as seen in Shotcut, preferably English. Include a screenshot or screen recording if you can. Also, you can attach logs from either View > Application Log or right-click a job and choose View Log.)

Every time I export a file and leave the computer unattended, file export “pauses” and resumes when I unlock the computer. I already disabled power management.

Job log:

plugin_mgr_get_object_file_plugins: error opening shared object file ‘/snap/shotcut/347/Shotcut.app/lib/ladspa/ladspa-rubberband.cat’: /snap/shotcut/347/Shotcut.app/lib/ladspa/ladspa-rubberband.cat: invalid ELF header

mlt_repository_init: failed to dlopen /snap/shotcut/347/Shotcut.app/lib/mlt-7/libmltmovit.so

(libOpenGL.so.0: cannot open shared object file: No such file or directory)

mlt_repository_init: failed to dlopen /snap/shotcut/347/Shotcut.app/lib/mlt-7/libmltsox.so

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

[h264 @ 0x55bdb52fd8c0] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb53e59c0] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb53e9680] Reinit context to 1280x720, pix_fmt: yuv420p

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

[AVIOContext @ 0x55bdb5303c40] Statistics: 3352584 bytes read, 0 seeks

[chain avformat-novalidate] /home/jose/Videos/the_chosen-2-episode_2and3.mp4

missing hwaccel parameters. skipping hardware initialization

[chain avformat-novalidate] /home/jose/Videos/the_chosen-2-episode_2and3.mp4

checking VFR: pkt.duration 512

[h264 @ 0x55bdb52fdd40] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5618540] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb715a8c0] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb6cbdbc0] Reinit context to 1280x720, pix_fmt: yuv420p

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

[AVIOContext @ 0x55bdb561f7c0] Statistics: 3352584 bytes read, 0 seeks

[chain avformat-novalidate] /home/jose/Videos/the_chosen-2-episode_2and3.mp4

missing hwaccel parameters. skipping hardware initialization

[chain avformat-novalidate] /home/jose/Videos/the_chosen-2-episode_2and3.mp4

checking VFR: pkt.duration 512

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

x265 [info]: HEVC encoder version 3.4+2-g02d2f496c

x265 [info]: build info [Linux][GCC 7.5.0][64 bit] 10bit

x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX

x265 [info]: Main 10 profile, Level-4 (Main tier)

x265 [info]: Thread pool created using 8 threads

x265 [info]: Slices : 1

x265 [info]: frame threads / pool features : 3 / wpp(17 rows)

x265 [info]: Coding QT: max CU size, min CU size : 64 / 8

x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra

x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3

x265 [info]: Keyframe min / max / scenecut / bias : 12 / 125 / 40 / 5.00

x265 [info]: Lookahead / bframes / badapt : 20 / 3 / 2

x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0

x265 [info]: References / ref-limit cu / depth : 3 / off / on

x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1

x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60

x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp

x265 [info]: tools: b-intra strong-intra-smoothing lslices=6 deblock sao

[filter swresample] 2(stereo) f32le 44100Hz → 2(stereo) f32le 48000Hz

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[mp4 @ 0x7faeec000f40] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

[mp4 @ 0x7faeec000f40] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 0x55bdb5dd8680] Reinit context to 1280x720, pix_fmt: yuv420p

[mp4 @ 0x7faeec000f40] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

[mp4 @ 0x7faeec000f40] Encoder did not produce proper pts, making some up.

[mp4 @ 0x7faeec000f40] Starting second pass: moving the moov atom to the beginning of the file

[AVIOContext @ 0x7fae53cc7a40] Statistics: 400846173 bytes read, 0 seeks

x265 [info]: frame I: 897, Avg QP:24.72 kb/s: 6874.77

x265 [info]: frame P: 21281, Avg QP:27.76 kb/s: 1855.68

x265 [info]: frame B: 53451, Avg QP:34.38 kb/s: 280.20

x265 [info]: Weighted P-Frames: Y:0.3% UV:0.2%

x265 [info]: consecutive B-frames: 13.2% 4.6% 10.2% 72.0%

encoded 75629 frames in 10019.50s (7.55 fps), 801.73 kb/s, Avg QP:32.41

[aac @ 0x7faeec004100] Qavg: 10661.652

[AVIOContext @ 0x7faeec4b2a80] Statistics: 30 seeks, 3077 writeouts

[AVIOContext @ 0x55bdb6ce58c0] Statistics: 525425753 bytes read, 26 seeks

[AVIOContext @ 0x55bdb569bf80] Statistics: 600995532 bytes read, 110 seeks

[AVIOContext @ 0x55bdb53ea100] Statistics: 3352584 bytes read, 0 seeks

[AVIOContext @ 0x55bdb56d55c0] Statistics: 3481003 bytes read, 1 seeks

Completed successfully in 02:47:00

It says it completed successfully, and we cannot help it if your OS is pausing a process.

1 Like

Hi, thank you for your update.
If I disabled the APM and it is still doing that, could you please tell me what could cause this behaviour?
I ran previous version of Shotcut on Mint 20 Xfce without this issue…

Linux has Energy Saving, which is on a different System Settings page from Advanced Power Management.

Then there is also the DesktopBehavior:ScreenLocking to consider (although I doubt that this one stops ShotCut Export.)

Hi There,

I can confirm that the problem doesn’t happen with Shotcut 21.03.21.
I downloaded the Appimage and ran. Export is done without pause.
I run more tests and I will update this ASAP. Screen lock is associated with power management. I will try to get more information as well…

How do you know it is pausing if the screen is locked?

That’s two changes, not just one.

  • Version 21.03.21 vs 21.05.18
  • Installed vs Appimage

Download the Appimage of 21.05.18 and confirm that it happens with this as well.

Hello All,

I know that video exports pauses because I also leave Task Manager running and I can see CPU graph load below 5% for sometime. When I unlock the screen CPU load goes up again and file export resumes (Task Manager’s goes up to 100%). I also notice that if I’m always logged on, file export runs quicker. If I leave the computer unattended, export takes longer…

I hope this helps.