ScenicFramework / scenic

Core Scenic library
Apache License 2.0
1.99k stars 137 forks source link

Feature Request : support for a video primitive #228

Open cblavier opened 3 years ago

cblavier commented 3 years ago

Hey there!

We are using Elixir Nerves to display fullscreen videos (we run native OMX player through Elixir ports) and we overlay some basic stuff other the video with Scenic.

We are quite limited in the way we are using Scenic right now (related issue : https://github.com/boydm/scenic_driver_nerves_rpi/issues/16) and things could be simpler if everything was rendered under Scenic.

We need following features:

We are ready to contribute and develop a prototype of such a feature. We only need guidance to get started, let me know!

boydm commented 3 years ago

Hi Christian.

I’m skiing today so can’t do a proper response. We can talk about this, but it would be non trivial work.

I’m also yet to bring the rpi driver up to Scenic v0.11 but hope to soonish. Maybe take a look at the v0.11 branch and discussion, then let’s schedule a time to talk in a call.

Sent from my iPhone

On 27/07/2021, at 9:28 PM, Christian Blavier @.***> wrote:

 Hey there!

We are using Elixir Nerves to display fullscreen videos (we run native OMX player through Elixir ports) and we overlay some basic stuff other the video with Scenic.

We are quite limited in the way we are using Scenic right now (related issue : boydm/scenic_driver_nerves_rpi#16) and things could be simpler if everything was rendered under Scenic.

We need following features:

play fullscreen videos (h264) on raspberry / Elixir Nerves preload videos (so that switching from a video to another is immediate) We are ready to contribute and develop a prototype of such a feature. We only need guidance to get started, let me know!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

cblavier commented 3 years ago

It sure looks non trivial 😅 I'm quite skilled in Elixir, but haven't been coding anything in C++ for 20y. Still I would really like to help, so please drop me an email so we can schedule a talk => cblavier at gmail dot com

Best Christian

Damirados commented 3 years ago

Loading and decoding video seems like a lot of work.

Maybe making scenic primitive that can act as membrane sink would be smarter option.

Doing that would open a lot of possibilities like creating device that can act as video streamer or fully featured webrtc video call participant.

D4no0 commented 3 years ago

Loading and decoding video seems like a lot of work.

Maybe making scenic primitive that can act as membrane sink would be smarter option.

Doing that would open a lot of possibilities like creating device that can act as video streamer or fully featured webrtc video call participant.

As far as I know ffmpeg provides a lot of utilities in this regard, a wrapper around that library would be very powerful and blazingly fast.