Bug 2406051

Summary: Error importing video into pitivi
Product: [Fedora] Fedora Reporter: Gwyn Ciesla <gwync>
Component: gdk-pixbuf2Assignee: Matthias Clasen <mclasen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: bgilbert, decathorpe, gnome-sig, mclasen, mcrha, multimedia-sig, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-04-22 10:19:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gwyn Ciesla 2025-10-23 16:02:27 UTC
Open pitivi

import video

Command line output:

Traceback (most recent call last):
  File "/usr/lib64/python3.14/site-packages/pitivi/timeline/previewers.py", line 767, in __bus_message_cb
    self.thumb_cache[self.position] = pixbuf
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/site-packages/pitivi/timeline/previewers.py", line 1095, in __setitem__
    success, jpeg = pixbuf.save_to_bufferv(
                    ~~~~~~~~~~~~~~~~~~~~~~^
        "jpeg", ["quality", None], ["90"])
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gly-loader-error: Remote error: org.gnome.glycin.Error.InternalEditorError: glycin-loaders/glycin-image-rs/src/editor.rs:129:22: Internal error: The encoder or decoder for Jpeg does not support the color type `Rgba8`

stderr:
Setting process memory limit
 (0)
Segmentation fault         (core dumped) pitivi


Reproducible: Always

Comment 1 Fabio Valentini 2025-10-24 10:18:34 UTC
This is not an issue in glycin.

The code here requests a buffer with an alpha channel to be saved as JPEG, which the JPEG format does not support, so glycin correctly gives you an error.

Comment 2 Gwyn Ciesla 2025-10-24 14:23:20 UTC
A local build of gdkpixpuf2-2.44.4 does not fix the issue.

Comment 3 Gwyn Ciesla 2026-01-08 17:10:03 UTC
Any updates on this?

Comment 4 Gwyn Ciesla 2026-03-05 19:59:03 UTC
A scratch build of 2.44.5 still does not fix the issue.

Comment 5 Milan Crha 2026-04-22 10:19:51 UTC
It's as Fabio said, JPEG does not support alpha channel, thus glycin rejects it. There is bug #2388961 about it, thus I mark this as a duplicate. Note there is actually a glycin bug report for it upstream (there's a link to it).

*** This bug has been marked as a duplicate of bug 2388961 ***