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

how to remove black background ? #203

Open
innlight opened this issue Mar 12, 2020 · 1 comment
Open

how to remove black background ? #203

innlight opened this issue Mar 12, 2020 · 1 comment

Comments

@innlight
Copy link

hi guys, i need to remove the black background from videoplayback. i need to see the video and the desktop or i need to reproduce the video in a frame window.
How i can do? thanks

@matthijskooijman
Copy link
Contributor

In the omxplayer manpage, I see:

     -b  --blank[=0xAARRGGBB]    Set the video background color to black (or optional ARGB value)
         --win x1,y1,x2,y2       Set position of video window

I guess these could help here? --blank=0x00000000 should get you a transparent background (e.g. for the borders outside of the video, not the video itself). Or you can use something like --win 860,540,1920,1080 to show the video in the lower right corner only (assuming 1920x1080 resolution).

In any case, this seems to be more of an omxplayer question than an omxplayer-wrapper question, though.

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

2 participants