Skip to content

generic "Unspecified" error when heif-plugin bridge package missing (libheif-plugin-libde265) #1876

Closed

Description

@hotsphink

I'm not sure if this is the right place to file this issue, since it relates to .deb packaging, but I attempted to decode an image and received:

% heif-convert in.heic out.jpg
File contains 1 image
decoding image... 100%
Could not decode image: Decoder plugin generated an error: Unspecified

The problem was that although I had the libde265-0 package installed, I was missing libheif-plugin-libde265. Missing_plugin would have been better, though it'd be really great to have something that explained the situation. (IIUC, it'd be something like "you're trying to decode HEVC and I have a plugin for that, but that plugin failed because it's missing the bridge"? I'm parroting an AI's description, I don't actually understand how libheif or bridge plugins work.)

Activity

  1. torusrxxx commented on Jul 22, 2026

    @torusrxxx
    Contributor

    If there is no libde265 plugin, how does libheif know libde265 exists without going through the plugin?

    Probably the better error message is "No decoder plugin installed for HEVC".

  2. idallen commented on Aug 12, 2026

    @idallen

    I just hit this problem on a fresh install of Ubuntu 26.04 LTS.
    I ran: apt install libheif-examples
    I got the "Unspecified" error when trying to convert HEIC images.
    I had to run: apt install libheif-plugin-libde265

  3. farindk commented on Aug 31, 2026

    @farindk
    Member

    Thanks for the report. The library actually generated a meaningful error in the past, but because of #1448, we were ignoring errors during tile decoding. Since a missing plugin is also such an error, these errors were all ignored and replaced with a very unspecific one when no tiles decoded at all.

    The above commit now returns the more specific error when no tiles did decode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions