Code Monkey home page Code Monkey logo

Comments (11)

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

I suppose your issue is related to #3064.

Please provide details on your package source and build configuratio (--compile.info)

from gerbera.

piknew avatar piknew commented on July 18, 2024

Please see as following (the package is installed from deb-multimedia repository):

[root@PKMEDIA ~]# apt list --installed | grep gerbera

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

gerbera/stable-backports,now 1:2.1.0-dmo0~bpo12+2 amd64 [installed]
[root@PKMEDIA ~]# cat /etc/apt/sources.list.d/deb-multimedia.list
deb https://www.deb-multimedia.org bookworm main non-free
deb https://www.deb-multimedia.org bookworm-backports main

[root@PKMEDIA ~]# /usr/bin/gerbera --compile-info

Gerbera UPnP Server 2.1.0
Copyright 2016-2024 Gerbera Contributors.
Licence GPLv2: GNU GPL version 2.
This is free software: you are free to change and redistribute it.

Compile info
-------------
WITH_NPUPNP=1
WITH_MAGIC=ON
WITH_MYSQL=1
WITH_CURL=ON
WITH_INOTIFY=ON
WITH_JS=ON
WITH_TAGLIB=1
WITH_AVCODEC=OFF
WITH_FFMPEGTHUMBNAILER=1
WITH_EXIF=ON
WITH_EXIV2=1
WITH_MATROSKA=ON
WITH_WAVPACK=OFF
WITH_SYSTEMD=ON
WITH_LASTFM=OFF
WITH_DEBUG=ON
WITH_DEBUG_OPTIONS=ON
WITH_TESTS=OFF

[root@PKMEDIA ~]#

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

Please try to update to at least version 1:2.1.0-dmo0~bpo12+2. This is a packaging issue.

from gerbera.

piknew avatar piknew commented on July 18, 2024

@KarlStraussberger, but my report was already for "1:2.1.0-dmo0~bpo12+2", please see as above (where I have given the version):

gerbera/stable-backports,now 1:2.1.0-dmo0~bpo12+2 amd64 [installed]

from gerbera.

piknew avatar piknew commented on July 18, 2024

And it seems that exception (for warning) is thrown for "ConfigManager::getIntOption" - it seems that "config" reader does not see value 160? It seems that exception is thrown as results of these lines:

auto y = config->getIntOption(CFG_SERVER_EXTOPTS_FFMPEGTHUMBNAILER_THUMBSIZE) * resolution.y() / resolution.x();
auto x = config->getIntOption(CFG_SERVER_EXTOPTS_FFMPEGTHUMBNAILER_THUMBSIZE);

from gerbera.

piknew avatar piknew commented on July 18, 2024

I have just simplified my config to point to directory with 2 example photos (one from A6700, one from old Huawei P10 - as I was not sure if maybe the problem is related to content itself). Then I have enabled debug for all items listed in documentation. The result is as follows - unfortunately there is no other message than this "warning" (see lines 462 and 792).

gerbera.log

So, I think something is strange with these "config" parameters.

from gerbera.

piknew avatar piknew commented on July 18, 2024

Please also see my full config for this test - the only thing that I did - I just "starred" my externalURL parameter (as it contains my public domain):

config.zip

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

The problem is still that the package was build with ffmpegthumbnailer but without ffmpeg. We never thought of this so some config options are not fully available but used. This is fixed in HEAD. The package can fix it by enabling ffmpeg/avcodec.

from gerbera.

piknew avatar piknew commented on July 18, 2024

Thank you - I have compiled gerbera, get it as:
image

Now it seems that it is OK:
image

Just one question - How to add thumbnail to container? As you can see there is 404 for file.jpg - I am attaching also my custom.js script - very simple, but maybe there is an issue:
custom.zip

329016234-c5a2a61f-0352-4cd0-8190-db822a88a1a7

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

we rely on a thumbnail in the image which seems to be broken. Also, there are some cases when - I don't know why - they get lost

from gerbera.

piknew avatar piknew commented on July 18, 2024

side comment - I have found the issue with lack of thumbnails for containers, the problem was with custom script, fields refID and res have been incorrectly assigned.

from gerbera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.