Hallo!
Irgendwie gibt es bei mir Probleme mit dem Burn-Plugin, der sich wie folgt in der Kernel-Log äussert und damit den Burn Prozess beendet:
Feb 7 15:50:38 linvdr user.err vdr[3212]: BURN: The image /etc/vdr/plugins/burn/menu-bg.png could not be loaded
Feb 7 15:50:39 linvdr user.info vdr[3139]: BURN: Subprocess watcher stopped
Nun habe ich ein Patch in der VDR-ML gefunden, der den Fehler ein wenig genauer spezifiziert:
Feb 8 15:10:14 linvdr user.err vdr[24952]: BURN: Couldn't load image /etc/vdr/plugins/burn/menu-bg.png, imlib2 error code 4
Feb 8 15:10:14 linvdr user.err vdr[24952]: BURN: Couldn't save image /video0/.vdr-burn.jrYMWa/VDRSYNC.0/menu-bg-0.png, imlib2 error code 14
Ich verwende imlib2 Version 1.1.2 gerade installiert, aber der Fehler bleibt.
Hat vielleicht jemand die selben Probleme und vielleicht eine Lösung?
Uwe
PS: Hier noch der "vdr-burn-imlib-load-error.patch" Patch aus der ML für das Burn-Plugin!
--- render.c.orig 2004-12-02 17:03:07.000000000 +0200
+++ render.c 2005-02-06 22:58:34.656842425 +0200
@@ -92,12 +92,13 @@
void cBurnRender::DrawImage(const char *Filename, int X, int Y) {
Imlib_Image img, old;
+ Imlib_Load_Error error;
int w, h;
old = imlib_context_get_image();
- img = imlib_load_image(Filename);
+ img = imlib_load_image_with_error_return(Filename, &error);
if (!img) {
- esyslog("BURN: The image %s could not be loaded", Filename);
+ esyslog("BURN: Couldn't load image %s, imlib2 error code %d", Filename, error);
if (X != 0 || Y != 0)
return;
w = 720; h = 576;
@@ -251,6 +252,8 @@
imlib_image_set_format("png");
asprintf(&path, "%s/menu-bg-%d.png", mJob->TempDir(), p);
imlib_save_image_with_error_return(path, &error);
+ if (error != IMLIB_LOAD_ERROR_NONE)
+ esyslog("BURN: Couldn't save image %s, imlib2 error code %d", path, error);
free(path);
imlib_free_image();
if (error != IMLIB_LOAD_ERROR_NONE)
@@ -271,7 +274,9 @@
DrawRectangle(0, 0, 720, 576, 0x00000000);
imlib_image_set_format("png");
asprintf(&path, "%s/menu-buttons-ns.png", mJob->TempDir());
- imlib_save_image(path);
+ imlib_save_image_with_error_return(path, &error);
+ if (error != IMLIB_LOAD_ERROR_NONE)
+ esyslog("BURN: Couldn't save image %s, imlib2 error code %d", path, error);
free(path);
imlib_free_image();
@@ -295,6 +300,8 @@
imlib_image_set_format("png");
asprintf(&path, "%s/menu-buttons-h-%d.png", mJob->TempDir(), i);
imlib_save_image_with_error_return(path, &error);
+ if (error != IMLIB_LOAD_ERROR_NONE)
+ esyslog("BURN: Couldn't save image %s, imlib2 error code %d", path, error);
free(path);
imlib_free_image();
if (error != IMLIB_LOAD_ERROR_NONE)
@@ -350,6 +357,8 @@
imlib_image_set_format("png");
asprintf(&path, "%s/menu-bg-%d.png", mRecording->TempDir(), cnt);
imlib_save_image_with_error_return(path, &error);
+ if (error != IMLIB_LOAD_ERROR_NONE)
+ esyslog("BURN: Couldn't save image %s, imlib2 error code %d", path, error);
free(path);
imlib_free_image();
if (error != IMLIB_LOAD_ERROR_NONE)
@@ -371,7 +380,9 @@
DrawRectangle(0, 0, 720, 576, 0x00000000);
imlib_image_set_format("png");
asprintf(&path, "%s/menu-buttons-ns.png", mRecording->TempDir());
- imlib_save_image(path);
+ imlib_save_image_with_error_return(path, &error);
+ if (error != IMLIB_LOAD_ERROR_NONE)
+ esyslog("BURN: Couldn't save image %s, imlib2 error code %d", path, error);
free(path);
imlib_free_image();
@@ -391,6 +402,8 @@
imlib_image_set_format("png");
asprintf(&path, "%s/menu-buttons-h-%d.png", mRecording->TempDir(), i);
imlib_save_image_with_error_return(path, &error);
+ if (error != IMLIB_LOAD_ERROR_NONE)
+ esyslog("BURN: Couldn't save image %s, imlib2 error code %d", path, error);
free(path);
imlib_free_image();
if (error != IMLIB_LOAD_ERROR_NONE)
Alles anzeigen