0

Fade in / fade out video

Hi all,

Here is my scenario :

We have have a video playing full screen. When there is a GPIO 1 ON it triggers a fade to black for 10s. If the GPIO 1 is OFF during the fade then the fade reverse (from black to image) starting from the value of previous fade. If the fade go trough 10s it goes to another video.

We managed to do a fade in and out with a first zone containing the video and GPIO triggers that send zone messages, a second zone contains 1 transparent png and 1 full black jpg image, both have a 10s "fade to new image" transition in properties:

Fade to black is png to jpg

Fade from black is jpg to png

The issue is if we release GPIO 1 the fade out is cut and then starts from black to image... :(

I was wondering if we can store the value of the fade out when GPIO is released and read this value to start the fade in from this value

Maybe it is easier to work with HTML5 and video streamed?

1 comment

  • 0
    Avatar
    Delhommeau

    Same problem here.
    Using Media List

    • Fade between 2 images is not really working as it fades with elements behind also (videos from another zone for instance), though Effect is set to Fade to new image.
    • Fade between 1 opaque to 1 transparent image does not work at all. It's a cut between the two images. Maybe the alpha of the PNG is not interpolated while RGB is ?

    Using Timeout

    • Same results.
Please sign in to leave a comment.