Bug 2406051 - Error importing video into pitivi
Summary: Error importing video into pitivi
Keywords:
Status: CLOSED DUPLICATE of bug 2388961
Alias: None
Product: Fedora
Classification: Fedora
Component: gdk-pixbuf2
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-23 16:02 UTC by Gwyn Ciesla
Modified: 2026-04-22 10:19 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-04-22 10:19:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.