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

can't display the same content on two displays (RPI4) #803

Open
mbncr opened this issue Aug 10, 2021 · 3 comments
Open

can't display the same content on two displays (RPI4) #803

mbncr opened this issue Aug 10, 2021 · 3 comments

Comments

@mbncr
Copy link

mbncr commented Aug 10, 2021

Hello,

So far, I've been using the following video playback script ...
lxterminal -e omxplayer -o alsa --loop --blank --no-osd /home/pi/Videos/wtv.mp4
... to initiate an automatic looped video playback on start-up. Which works great for one display.

I'm now trying to replicate this on a RPI4, to output the same video in both HDMI outputs. But it seems that through the options I can only choose between one display or the other. Also, using omxplayer through lxterminal like I do (useful if you want to keep the access to the keyboard) seems to be one of those cases in which native screen mirroring doesn't work.

Is there a way to setup omxplayer so it plays the same content on both HDMI outputs?

@popcornmix
Copy link
Owner

If you apply --blank to both calls to omxplayer, you will blank the other omxplayer's output.

@mbncr
Copy link
Author

mbncr commented Aug 11, 2021

Thanks @popcornmix .
I was using --blank to make sure the background stayed black when looping (on an older config, it returned a white flash) but it's not relevant anymore in my case.
This said, even when removing '--blank', I'm still getting the video on one window only, and the lxterminal on the other.
(I can't really remove lxterminal, else I'll lose any possibility to exit the video through 'esc' if needed)

@popcornmix
Copy link
Owner

Can you make it work with the `--win`` option? That's a more common way of running two omxplayers.

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