2

I am looking for the simplest way to do alpha fading between two video channels and control it with physical buttons.

I am comfortable with Python (but I can also do some C++ and Bash scripting).

I have tested the videos with OMXPlayer, and they are good (both on codec, resolution, file size, duration, fps, etc.), but I don't know how to make the fade between two videos.

How can I do it?

Edit:

there are some different ways to do it. I have actually tried with gstreamer wrapper (the one in openframeworks) but it is super slow and does not keep the right framerate. So I need a solution tailored to rasberrypi.

closed as off-topic by lenik, syb0rg, nc4pk, goldilocks, Piotr Kula Sep 4 '13 at 8:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Linux use unrelated to the RaspberryPi are off-topic here, but can be asked on Unix & Linux Stack Exchange." – lenik, syb0rg, nc4pk, goldilocks
If this question can be reworded to fit the rules in the help center, please edit the question.

  • You need to use graphics engine to do this. It can be done with CPU but it will be very choppy. It is quite complex code either way. This is not an easy topic. – Piotr Kula Sep 4 '13 at 8:25
  • 1
    It just has nothing to do with Pi, Linux or any thing relating. Maybe programming. – Piotr Kula Sep 4 '13 at 8:25
  • to moderators: please see the edit. I need a solution tailored to the rasberrypi because I've done it in a normal desktop pc in various ways. – nkint Sep 4 '13 at 11:49
  • You need something that will use the GPU of the Pi. At the moment that is ... nothing. And now it does make more sense actually. – Piotr Kula Sep 4 '13 at 12:21
  • 1
    yes :) Anyway, I'm almost there, I've found a repository where there is an implementation of the OpenMax harware accelleration inside the frameworks I've found. Just time to test it and I'll post the results! – nkint Sep 4 '13 at 15:36

Browse other questions tagged or ask your own question.