SUMMARY The error "Failed to export video: Temporary file URL must be an existing local file" is rather misleading or at least not helpful. It's probably always just a consequence of failing to initialize decoder, leaving no file produced. Displaying cause messages, or displaying all of relevant errors would be more helpful. At least, saying something like ".... this typically means that the code failed to initialize, see system logs" would be appreciated. STEPS TO REPRODUCE 1. Have some code problems 2. Try to capture vide 3. See error message In my particular case, the errors are: Jul 25 18:06:15 druid spectacle[833773]: Failed to export video: Temporary file URL must be an existing local file Jul 25 18:06:04 druid spectacle[833773]: kpipewire_record_logging: No encoder could be created Jul 25 18:06:04 druid spectacle[833773]: kpipewire_record_logging: Could not open codec Invalid argument Then it goes on about libvpx-vp9 codec initialization errors (that are also unhelpful, but that's beside the point). SOFTWARE/OS VERSIONS Operating System: Fedora Linux 41 KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.16.0 Qt Version: 6.8.3 Kernel Version: 6.15.6-100.fc41.x86_64 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION
This error message could stand to provide more accurate information that lets the user know what action to take to resolve the problem. Changing from bug to feature request, since this is the current behavior as designed
.
*** Bug 508212 has been marked as a duplicate of this bug. ***
This was supposed to be fixed in 6.2.3, apparently it has regressed again!
Is this report only about the error message? or about the error? I'd rather like to see the root source fixed. :)
(In reply to postix from comment #5) > Is this report only about the error message? or about the error? I'd rather > like to see the root source fixed. :) IMO it's only about the confusing error message. There is no one root source. People have reported problems saving in MP4 and now WebM format, problems with KPipeWire/PipeWire, problems with libavcodec, problems saving videos with odd-sized dimensions, etc. First see whether any video formats and capture types work in Spectacle; run spectacle from the command line to see if it prints a relevant error message; also try converting a working video using FFmpeg which Spectacle seems to use on Linux. Then create a new detailed bug report. (In my case, I can't save as .webm in Spectacle or FFmpeg, which suggests an encoder problem "below" Spectacle.)