Code Monkey home page Code Monkey logo

Comments (2)

sauterl avatar sauterl commented on August 15, 2024

Do you get a follow-up error with Could not find appropriate writer for thumbnail "...", even after conversion! ?

If not, then you are somewhat fine, as apparently (based on your context) the default format for thumbnails does not work anymore on this specific JDK / OS / hardware configuration. The default should be JPG, but may you changed something somewhere. For further information on the issue, see ImageIO.write for OpenJDK 21.

If so, then you are somewhat restricted, as no thumbnails have been created.

See https://github.com/vitrivr/cineast/blob/main/cineast-core/src/main/java/org/vitrivr/cineast/core/features/exporter/ShotThumbnailsExporter.java#L85

In such cases, it would be very helpful to have the following information:

  • JDK version
  • OS version
  • Cineast commit hash / version
  • Cineast config / Job config
  • Minimal example with media file, if possible

from cineast.

Lanceeeelot avatar Lanceeeelot commented on August 15, 2024

Thankfully i don’t get a follow-up error. All the thumbnails were generated and Vitrivr-NG is able to find them. I’m using OpenJDK Version 21.0.3, Ubuntu 24.04 LTS and the latest Cineast version from the main branch.

I noticed a comment in your linked script that says that the thumbnail output format defaults to PNG. All my generated Thumbnails are JPG though, like you said.

See https://github.com/vitrivr/cineast/blob/main/cineast-core/src/main/java/org/vitrivr/cineast/core/features/exporter/ShotThumbnailsExporter.java#L32

I also didn’t change anything in the extraction_config regarding the exporter settings:

"exporters":[
   	 {
   		 "name": "ShotThumbnailsExporter",
   		 "properties": {
   			 "destination":"thumbnails/"
   		 }
   	 }
    ],

from cineast.

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.