willprice / python-omxplayer-wrapper

:tv: Control OMXPlayer, the Raspberry Pi media player, from Python
http://python-omxplayer-wrapper.readthedocs.io
GNU Lesser General Public License v3.0
253 stars 72 forks source link

Implement SetLayer method #189

Closed JE-Random-Tech closed 4 years ago

JE-Random-Tech commented 4 years ago

Feature Request

Description

For seamless video switching it would be ideal to be able to change the Layer of the Video while it is playing.

Example use case

Setting the alpha channel to 255 or hide the video does not work as it always flickers therefor it is necessary to create a seamless video transition.

JE-Random-Tech commented 4 years ago

I have already a working solution and would like to contribute it.

willprice commented 4 years ago

Hi @JE-Random-Tech,

That sounds great. Just click the 'fork' button on the top right of this page to create your own copy of the repo. Once you've done that you can push your changes to the fork and open a pull request. The method should be in snake case for consistency with the rest of the API, i.e. set_layer.

Thanks :)

willprice commented 4 years ago

Added in #191