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

            Bug ID: 523303
           Summary: Recording defaults to WebM/VP8 when configuration is
                    invalid
    Classification: Applications
           Product: Spectacle
      Version First 6.7.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
When the spectaclerc contains an invalid value for preferredVideoFormat,
Spectacle falls back to WebM/VP8 (which can't even be selected explicitly),
instead of the actual default WebM/VP9.

STEPS TO REPRODUCE
1. Open ~/.config/spectaclerc
2. Under [Video], add (or change) preferredVideoFormat=0
    - other invalid settings likely also work, but I haven't tested extensively
3. Record a short video
4. Check the saved video via mediainfo or ffprobe
5. in the Settings > Video Save, check the format setting

OBSERVED RESULT
mediainfo and ffprobe show VP8 as video codec, and the format setting is
blanked out

EXPECTED RESULT
When an invalid value is supplied, Spectacle should fall back to the actual
default, which is WebM/VP9

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
The reproduction above is just that... a reproduction of the issue.

I am not exactly sure how this happened in the first place. I just noticed that
my recordings were missing a file extension, and when I ran mediainfo on it, it
spit out the VP8 codec.

This is just speculation, but when this screen recording feature was added, I
was still on X11, and only recently made the switch to Wayland. So I think the
setting got initialised with a (now invalid) value, and it was never changed
because I assumed it would just use defaults after the switch.

I then just played around with the value, and that's how I reproduced it. Since
I changed the format in the settings after first encountering it, I can't say
what the original value was.

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

Reply via email to