sagiadinos / garlic-player

Digital Signage Player based on SMIL
https://garlic-player.com
GNU Affero General Public License v3.0
82 stars 14 forks source link

Android multiscreen / bigscreen multimonitor #13

Closed adalidortiz closed 4 years ago

adalidortiz commented 4 years ago

I'am testing and learning. The Android version support bigscreen (when multi monitor) parameter with HDMI hub and 2 or more screens like Windows 10?

X96 Android TV Box Android 5 or 7

Gracias !!!

sagiadinos commented 4 years ago

Bigscreen means multi screen which are combined as a large virtual screen. In linux this is called Xinerama and I think Windows names it is the extend mode.

Currently, I have no experiences with multiple screens in Android, but some days ago a customer sends me an interesting Android device with two screens, which can operate separately. I haven't gotten around to looking into it. Do you mean this with HDMI hub?

¡de nada!

adalidortiz commented 4 years ago

Thanks for the reply. Yes, with and HDMI hub. I'm testing in Windows 10 with two monitors. My index.smil have two videos loaded locally in c:\garlyc\1.mp4 and 2.mp4 with bigscreen parameters. The videos expand across the monitors very well but now I want to test regions with this sample:

Only the videos are displaying. Not the logo or imagen1. Any help?

Saludos desde Tijuana, Mexico.

sagiadinos commented 4 years ago

Holà, Images needs a duration (dur-attribute). You can set a time img src="imagen1.jpg" dur="20s" region="slideshow" or img src="imagen1.jpg" dur="indefinite" region="slideshow"

btw.: mediaOpacity is not supported currently, because there are some caveats with videos. I would suggest to use a png-logo and set the transparency of the image.

adalidortiz commented 4 years ago

Woooow !!! It worked. I'm testing many programs, tricks, etc. to do a low cost digital signage in libraries. Maybe will prepare a talk about it for a regional library association in Baja Mexico. By the way, can you share a tutorial and the smil file used in https://www.youtube.com/watch?v=vWcRfZrVPSA&t=12s

Thanks.

sagiadinos commented 4 years ago

That could be complicated. The SMIL-file came from SmilControl-CMS (more info https://smil-control.com). The background image is a so-called channel (a commissioned work for a customer). In this case it shows the four closest German pharmacies. This kind of content creates every day automatically depending on the player location.

The program right bottom is a regular sequential (seq) based playlist. No rocket science. Something like:

You will find a good resource for SMIL here: http://www.a-smil.org

adalidortiz commented 4 years ago

Many thanks. With the htm bug resolved I think can do something similar.

Muchas gracias !

adalidortiz commented 4 years ago

Done ! http://www.biblioteca.iberotijuana.edu.mx/images/garlic_signage.jpg Gracias mil.