I’m having the following problem with thumbnails.
I’m using CasparCG 2.4.3 on Ubuntu 22.04 Desktop.
I add several files throughout the day to play in Caspar — I do this by copying them into the folder defined in my caspar.config.
For several days everything worked fine, but one day my playout could no longer get the thumbnails for any files. When I send the command THUMBNAIL RETRIEVE <MediaPath> or CINF <MediaPath>, Caspar returns an error as if the file doesn’t exist.
I do not have a direct answer for your question, but my (mostly Windows) experience of the scanner system is that it is very stable in operation.
Bit it is both interesting and slightly odd that issuing an AMCP THUMBNAIL GENERATE_ALL request reactivates the link between the server and the scanner.
The CasparCG server code, in module AMCPCommandsImpl.c++ lines 1436 to 1439, converts the AMCP command into an http request to the scanner to run “/thumbnail/generate”. In the scanner code (version 1.3.4) the request arrives at line 196 of module src/app.ts. The current behaviour is to do nothing with the request, returning a 202 THUMBNAIL GENERATE_ALL OK status.
Have you tried using an http requests to the scanner to see if it responds when your server is seeing errors? For example using a browser to access:
This request returns and displays the .PNG thumbnail in the browser. If you can test this access when your server fails to get the thumbnail via AMCP, it may help determine if the error is in the server processing of the thumbnail fetch request.
You can also use http to fetch the base64 version of the thumbnail via an http access to: