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

            Bug ID: 492696
           Summary: Screen Grab results in an error message due to missing
                    x11grab capability of ffmpeg
    Classification: Applications
           Product: kdenlive
           Version: 24.08.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: bern...@yahoo.com
  Target Milestone: ---

SUMMARY
It is impossible to do a screen recording or screen grab from within Kdenlive
due to ffmpeg not having the --enable-x11grab parameter.
According to an internet search, --enable-x11grab has been deprecated in favor
of --enable-libxcb.

STEPS TO REPRODUCE
1. Perform a Screen Grab

OBSERVED RESULT
Error message:
ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers built with
gcc 13.2.0 (GCC) configuration: --prefix=/app --disable-doc --disable-static
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-gnutls --enable-gpl --enable-libaom --enable-libass --enable-libdav1d
--enable-libfontconfig --enable-libfreetype --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg
--enable-libsvtav1 --enable-libv4l2 --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-rpath
--enable-shared --enable-vaapi --enable-vdpau --enable-libvpl libavutil 59.
8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61.
1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100
[x11grab @ 0x5880200f3a00] Cannot open display :0.0+0.0, error 1. [in#0 @
0x5880200f3740] Error opening input: Input/output error Error opening input
file :0.0+0.0.
Error opening input files: Input/output error

EXPECTED RESULT
A video file with the screen recording/screen grab in the project bin

SOFTWARE/OS VERSIONS
Linux: Pop!_OS 22.04
KDE Frameworks Version: 6.5
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Apparently, Screen Grab calls ffmpeg with x11grab. Can this be changed to
libxcb?

This is NOT the same issue as bug https://bugs.kde.org/show_bug.cgi?id=401821

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

Reply via email to