Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omxplayer #1

Closed
diogoviannaaraujo opened this issue Oct 29, 2014 · 11 comments
Closed

omxplayer #1

diogoviannaaraujo opened this issue Oct 29, 2014 · 11 comments

Comments

@diogoviannaaraujo
Copy link

Im trying to run a video on top of amino, it was working with the version on the other repo, but with this one i keep getting 'COMXAudio::Decode timeout' error.

Is there a way to avoid this or a way to disable the screen rendering before initiating the video?
Thanks

@diogoviannaaraujo
Copy link
Author

Ok, setting a higher gpu memory resolved at some point, im still seeing arctifacts on omxplayer, is that something ill have deal with or is there a way to treat that.

@joshmarinacci
Copy link
Owner

I haven't tried doing any video with Amino. What app are you using for the video playback? Can you tell me some steps to reproduce it? There's probably something silly going on in Amino's backend.

  • j

@diogoviannaaraujo
Copy link
Author

Hi, im using omxplayer, the default raspberry pi player

@diogoviannaaraujo
Copy link
Author

And when looking for this if you think in a way that amino could render above the video i would really appreciate, would open doors for lots of applications

@diogoviannaaraujo
Copy link
Author

Hey, just here again to say that I've been enjoying a lot coding with this library.
Wonderful work, been searching a lot on something like this for rPi.
Congratulations

@movingbits
Copy link

Hi,

Did you find a solution to render amino above omxplayer?

Rolf

@diogoviannaaraujo
Copy link
Author

No i didn't, im experimenting with gstreamer1.0 but no advance in this particular problem

@movingbits
Copy link

I found a similar issue with the solution here (eendeego/node-openvg-canvas#9) and i noticed the that amino also uses dispmanx.

What i think is when you change the display layer in /src/rpi.cpp (line 103) from 0 to 1 it would/might work. But i guess you have to rebuild/recompile and i don't know where to start doing that.

@joshmarinacci
Copy link
Owner

I'm traveling so I don't have a raspberry pi to test with me. Why don't you try changing that line and rebuilding. You just need to do
rm -rf build;
npm rebuild

That should trigger a recompile of the native code.

@movingbits
Copy link

Hi there,

I got it working, great, thanks for your fast reaction!

I know aminogfx is a work in progress. So the questions i ask me be related to stuff that hasn't been done yet or are not supposed to work the way i think. Just let me know

Two questions

One:
Is it possible to get a transparant (root) layer. When i set no items the background is black. When i add transparant Rect's they show the video.
So i set a fullscreen rect with opacity. But the lowest i can set opacity is 0.1. Any lower the opacity is gone. (Also tried visible true/false but i get a black background). So i cannot get full transparancy.

Two:
When i set opacity to a Rect without a fill, the layer behind it is green (shell or omxplayer). As if there is a green fill. Could this be a side effect of changing the dispmanx layer?

@joshmarinacci
Copy link
Owner

I haven't implemented either of these. Can you put in separate feature request issues? I'll get right on them. For a transparent background I think I can do it by changing the glClearColor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants