<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>503406</bug_id>
          
          <creation_ts>2025-04-26 22:05:33 +0000</creation_ts>
          <short_desc>Spectacle freezes when capturing video</short_desc>
          <delta_ts>2025-04-28 17:33:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Spectacle</product>
          <component>General</component>
          <version>6.3.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>488896</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sylens">oat-lip-confront</reporter>
          <assigned_to name="Noah Davis">noahadvs</assigned_to>
          <cc>john</cc>
    
    <cc>kde</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>oat-lip-confront</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2419258</commentid>
    <comment_count>0</comment_count>
    <who name="Sylens">oat-lip-confront</who>
    <bug_when>2025-04-26 22:05:33 +0000</bug_when>
    <thetext>Whenever I try to capture a video, the recording starts, and when i want to stop the recording, spectacle greys out and not responding, its like it freezes out. Then if I wait for almost one minute, the video recording will appear in my video folders. The video record is a 5-10second test video, 14kB at size, so not something with a big resolution.. I remember spectacle worked fine with video recording, and started behaving oddly recently with, like.. 6.13 frameworks perhaps?

Operating System: EndeavourOS 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3470 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: Quadro K620
Manufacturer: FUJITSU
Product Name: ESPRIMO E510</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2419519</commentid>
    <comment_count>1</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-04-28 05:53:05 +0000</bug_when>
    <thetext>Hi - could you please specify:

* What type of recording you&apos;re performing - Rectangular Region, Full Screen, or Window?
* In Configure &gt; Video Saving, what format is chosen? This is the drop-down with options for MP4/H.264, WebM/VP9, Animated WebP, and GIF

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2419565</commentid>
    <comment_count>2</comment_count>
    <who name="Sylens">oat-lip-confront</who>
    <bug_when>2025-04-28 10:16:38 +0000</bug_when>
    <thetext>Hi

Of course. So the video format is the default WebM/VP9.

Seems that the freeze only occurs when I dona fulsscreen recording. My screen is 1680x1050 res. The rectangular selection and window records seems working fine, altho they also lag a bit when I stop the recording, but definitely not freezing the program itself.

However, when I switched to MP4/H.264, all the freezing was gone, including fullscreen records.

So perhaps it&apos;s something with the WebM. I noticed high CPU (70%) usage while using WebM,- and normal CPU usage (20%) during the MP4 session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2419673</commentid>
    <comment_count>3</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-04-28 17:06:51 +0000</bug_when>
    <thetext>Thanks - and it does in fact seem like there is an issue with WebM/VP9 specifically. What you&apos;re seeing seems to stem from the underlying issue https://bugs.kde.org/show_bug.cgi?id=488896 (also reported in a way that more closely resembles your observations at https://bugs.kde.org/show_bug.cgi?id=498691 ), so I&apos;m merging this in with that issue for visibility.

The good news is that as tagged on that other bug report, there&apos;s a major improvement in VP9 encoding speeds set to be released in the KPipewire component of Plasma 6.4.0 that should essentially resolve this.

Thanks!

*** This bug has been marked as a duplicate of bug 488896 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2419679</commentid>
    <comment_count>4</comment_count>
    <who name="Sylens">oat-lip-confront</who>
    <bug_when>2025-04-28 17:33:05 +0000</bug_when>
    <thetext>You&apos;re very welcome. Glad I could help. Thanks for looking into it :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>