Beiträge von B0SZjVAb50Alfp6k
-
-
Hello Jörg,
Did you already apply the small fix mentioned here: http://forums.openpli.org/topi…teit-in-image-veroorzaken
If so, I can draw a new copy. I will then revert the patch in our OE which I am not too pleased with (I guess neither do you).
Thx.
-
-
-
Hi Jörg,
An mpjpeg stream (like this script creates) can be viewed in almost any web browser, can you try that?
I was hoping you could make something similar to this inside the plugin, indeed without the external commands. I am only a newbie in python It seems there are some nice tools in python to do image conversion. Once the image is converted to jpeg, only a few html headers need to be added and done
It would be extra nice if the generation of the mpjpg stream could be hooked onto the generation of the png file, so a new image gets only sent when the png is updated. And then the owif could do the rest, I guess.
Erik.
-
Jörg, I thought of something interesting (I think). I have managed to use an old PDA as the LCD screen. Most PDA's can show an mjpeg stream using a webcam viewer etc. With a small script and an inetd entry, the mjpeg stream can be supplied.
I know that there already is a feature to refresh/reload the png from the website, but I couldn't get that working well. It's difficult to get the image fullscreen and the screen flickers with every update.
So I did it this way. It would be amazing if you could incorporate the functionality into the plugin (/webserver), frequently converting the dpf png into a jpg image and serve that to a certain tcp port on request, like this (the avconv command adds additional boundary strings):
Bash
Alles anzeigen#!/bin/sh set -e boundary="--avserver" echo -e "HTTP/1.0 200 OK\r" echo -e "Connection: close\r" echo -e "Content-Type: multipart/x-mixed-replace; boundary=$boundary\r" echo -e "\r" while [ `ls -l /proc/self/fd 2> /dev/null | fgrep socket | wc -l` -gt 0 ] do avconv -y -i /tmp/lcd4linux/dpf.png -f mpjpeg -an -vcodec mjpeg -q:v 2 - 2> /dev/null sleep 1 done
Place this script "somewhere", install package "libav" for "avconv" and add a line to inet like this
Thanks in advance! -
Zitat
Originally posted by joergm6
No, only oe-alliance has its own Git copy. I was not asked and do not find it ok. From me it is only maintained as a finished plugin.
By the way, it is not allowed to use the plugin commercial. So it should not come with a manufacturer image. Only for Recreational-Image-Teams use is permitted. The sources must remain open available.
I totally agree.This for a non-commercial / recreational image.
But please note the original plugin from VU+ already was GPL.
-
Is the complete source code that makes up the package available, preferably from a git or svn repo, so we can build the package ourselves, which is required to include the functionality into the image and not as plugin (which is requested by many users). I hope Google Translate does a good job here
Ist der vollständige Quellcode, der das Paket verfügbar ist, vorzugsweise aus einem git svn oder Repo macht, so können wir das Paket selbst, die erforderlich ist, um die Funktionalität in das Bild gehören und nicht als Plugin (die von vielen Benutzern gewünscht wird) bauen. Ich hoffe, dass Google Translate macht einen guten Job hier