Beiträge von Mailman9090

    hallo, danke für die schnelle Antwort.

    Ich habe mich an die übliche Vorgehensweise gehalten.

    Eine neue splash.png in das Verzeichnis "/usr/share/plymouth/themes/pix/splash.png" geladen. Das pix.script modifiziert, in dem ich 4 Einträge auskommentiert habe. Auch eine andere .png Datei hochgeladen und die pix.script angepasst.

    ------------

    screen_width = Window.GetWidth();

    screen_height = Window.GetHeight();

    #theme_image = Image("splash.png");

    theme_image = Image("t.png");

    image_width = theme_image.GetWidth();

    image_height = theme_image.GetHeight();

    scale_x = image_width / screen_width;

    scale_y = image_height / screen_height;

    flag = 1;

    if (scale_x > 1 || scale_y > 1)

    {

    if (scale_x > scale_y)

    {

    resized_image = theme_image.Scale (screen_width, image_height / scale_x);

    image_x = 0;

    image_y = (screen_height - ((image_height * screen_width) / image_width)) / 2;

    }

    else

    {

    resized_image = theme_image.Scale (image_width / scale_y, screen_height);

    image_x = (screen_width - ((image_width * screen_height) / image_height)) / 2;

    image_y = 0;

    }

    }

    else

    {

    resized_image = theme_image.Scale (image_width, image_height);

    image_x = (screen_width - image_width) / 2;

    image_y = (screen_height - image_height) / 2;

    }

    if (Plymouth.GetMode() != "shutdown")

    {

    sprite = Sprite (resized_image);

    sprite.SetPosition (image_x, image_y, -100);

    }

    #message_sprite = Sprite();

    #mssage_sprite.SetPosition(screen_width * 0.1, screen_height * 0.9, 10000);

    fun message_callback (text) {

    # my_image = Image.Text(text, 1, 1, 1);

    # message_sprite.SetImage(my_image);

    sprite.SetImage (resized_image);

    }

    Plymouth.SetUpdateStatusFunction(message_callback);

    -------------------

    Außerdem die cmdline.txt angepasst

    ----------------

    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty3 root=PARTUUID=60ac9f24-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles logo.nologo vt.global_cursor_default=0

    ---------------

    sowie die config.txt

    --------------

    # For more options and information see

    # http://rpf.io/configtxt

    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default "safe" mode

    #hdmi_safe=1

    # uncomment this if your display has a black border of unused pixels visible

    # and your display can output without overscan

    #disable_overscan=1

    # uncomment the following to adjust overscan. Use positive numbers if console

    # goes off screen, and negative if there is too much border

    #overscan_left=16

    #overscan_right=16

    #overscan_top=16

    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display's size minus

    # overscan.

    #framebuffer_width=1280

    #framebuffer_height=720

    # uncomment if hdmi display is not detected and composite is being output

    #hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)

    #hdmi_group=1

    #hdmi_mode=1

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in

    # DMT (computer monitor) modes

    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or

    # no display

    #config_hdmi_boost=4

    # uncomment for composite PAL

    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.

    #arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces

    #dtparam=i2c_arm=on

    #dtparam=i2s=on

    #dtparam=spi=on

    # Uncomment this to enable the lirc-rpi module

    #dtoverlay=lirc-rpi

    # Additional overlays and parameters are documented /boot/overlays/README

    # Splash einschalten

    disable_splash=1

    # Blitz abschalten

    avoid_warnings=1

    # Enable audio (loads snd_bcm2835)

    dtparam=audio=on

    [pi4]

    # Enable DRM VC4 V3D driver on top of the dispmanx display stack

    dtoverlay=vc4-fkms-v3d

    max_framebuffers=2

    [all]

    #dtoverlay=vc4-fkms-v3d

    ----------------

    Das System soll beim Start ein Video in einer Endlosschleife abspielen. Im optimale Fall kommt kurz vor dem Video der "splashscreen".

    Auf dem Raspi 3 mit Raspbian Pixel oder Stretch funktioniert das, bei Raspbian Buster bekomme ich es nicht hin.

    Der Raspi startet, es erscheint nichts bis kurz vor dem Start des Videos. Da erscheint kurz ein Textblock für max 1 Sekunde und das Video startet.

    Das hört sich gut an, nur leider bin ich in bzgl. des Programmieren ein Neuling. Das hört sich irgendwie nach einem Python Skript an ?!

    Ich werde mal in diese Richtung weiter recherchieren.

    Ich danke euch beiden !

    P.S. sollte ich nicht weiterkommen ....melde ich mich hier einfach noch mal

    Ich hab da mal ne Frage, wahrscheinlich ist es hier falsch, aber ich versuche es trotzdem mal.

    Auf meinem Raspberry läuft Raspbian/Pixel, direkt nach dem starten spielt der Raspberry eine Videodatei vom USB Stick in einer Endlosschleife ab. Das geschieht ohne das etwas vom Boot Vorgang zusehen ist, oder eine Eingabe per Tastatur notwendig ist.

    Meine Idee wäre, das vom USB Stick nur eine bestimmte (signierte?) Videodatei abgespielt wird. Damit möchte ich vermeiden das der USB Stick oder das Video gegen "ungeeignetes" Material ausgetauscht wird.

    Ist das möglich ?

    Im Internet habe ich bis jetzt nichts dem entsprechendes Gefunden. Meine Programierkentnisse sind max. gering !

    :danke_ATDE:

    Ich hab da mal ne frage, wahrscheinlich ist es hier falsch, aber ich versuche es trotzdem mal.

    Ich möchte das das oben von mir genannte System, vom USB Stick nur eine bestimmte (signierte?) Videodatei abspielt. Damit möchte ich vermeiden das der USB Stick oder das Video gegen ungeeignetes Material ausgetauscht wird.

    Ist das möglich ?