How to reproduce MPEG-U Widget demos

To reproduce the demos shown in the videos, you need a working version of the GPAC player: get the most recent installer for Windows, MacOSX or Windows Mobile here. For another system, please download and compile sources. If you compile GPAC yourself, please make sure that modules platinum and widgetman are included in the build.

Then please load and uncompress this file and this file in a directory.

In that directory, run (on Windows):

MP4Client.exe gui\iphone_wm_gui.svg

Make sure you have MP4Client.exe on your path. Click on “scan”. Navigate to the current directory, then “widgets”, then click on 

The icons of available widgets appear.

On a Mac, you need to do something like:

/Applications/Osmo4.app/Contents/MacOS/Osmo4 ~/test/gui/iphone_wm_gui.svg

if “~/test” is your current directory.

If you have two machines in the same local network (not Wifi, since Wifi stations often filter UPnP broadcasts), you can run two GPAC players on two machines. Otherwise, just open two terminals, and run two instances of the player in the two terminals.

UPnP discovery may take a few seconds to a minute to happen.

The command line ends with the name of the widget manager you want to execute:

  • iphone_wm_gui.svg for the “iphone” widget manager
  • tv_wm_gui.svg for the “tv” widget manager
  • mpegu-wm.xmt for the “gui” widget manager

MPEG-U Widget Video 7

The video shows widget discovery and communication across two instances of the player, on the same machine. I tested the same between a PC and a Mac. Other colleagues tested the same between a PC and a phone.
Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.
What is shown:
– starting a light bulb application from the Intel UPnP tools
– starting a GPAC player, with the “gui” widget manager and a specific light switch widget
– the light switch widget discovers the Intel light bulb and binds to it: clicking on the switch turns on and off the Intel light bulb, thus demonstrating the communication between a native application and a widget.
– another GPAC player is started and discovery and communication is demonstrated with two other widget pairs.

MPEG-U Widget Video 6

This video shows the migration of widgets between two players running on the same PC. The same demo can be done with two different devices (but it is more difficult to show it on a single video :p ).
Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.
What is shown:
– start two players with the “gui” widget manager
– starting the clock on a player localized in French
– switch the clock to AM/PM display
– migrate the clock widget onto the other player: the widget is now localized in English, but it still runs in AM/PM which is not the default mode. The execution context was transmitted to the second player together with the widget package.
– start a radio widget and radio control panel
– migrate the radio widget to the other player: the radio widget appears with the same radio selection (Can. Jazz)

[youtube]http://www.youtube.com/watch?v=rbDddMMGg8U[/youtube]

MPEG-U Widget Video 5

This video demonstrates the discovery and communication between widgets.
The three examples are run within one player, but the same demonstration can be done between two players on the same machine or on different devices.
Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.
What is shown:
– starting a light widget and a switch widget, and clicking on the switch turns the light widget on, showing that the two have discovered each other and communicated
– starting a photo catalog widget and a photo display widget
– starting a radio widget and a radio control panel widget

[youtube]http://www.youtube.com/watch?v=XNIBuUXLJbw[/youtube]

MPEG-U Widget Video 4

This video shows our last widget manager, called “tv”. Where “gui” allowed the user to manipulate (place and size) the widgets with the mouse, “tv” does not have mouse interaction, only keyboard interaction, as an attempt to simulate interaction with a remote control. Note: the GPAC player runs on PCs with Windows or Linux, Macs, Symbian, Windows Mobile and iOS devices (iPhone and iPad); the player is not yet ported on an STB or a TV.
Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.
What is shown, while a video is running in the background:
– interaction with the widget icons dock
– starting and interacting with a few widgets, placed automatically in a column on the left

[youtube]http://www.youtube.com/watch?v=JwsyFmEWKlI[/youtube]

MPEG-U Widget Video 3

This video demonstrates the localization of widgets. This is actually a W3C Widget P&C feature, not an MPEG-U widget feature.
Two players are started with different locales, and the clock widget is started in each to show the different processing (24h or AM/PM, language of the date).
Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.

[youtube]http://www.youtube.com/watch?v=SAKyT2PXibs[/youtube]

MPEG-U Widget Video 2

This video is a primer for the function of our “iphone” widget manager. Contrary to “gui” which shows multiple widgets and allows the user to place and resize them, “iphone” shows either a grid of icons or one single widget. The home button below the grid or widget allows to switch the display between the grid or the widget. Multiple widgets are shown one by one as if in a row of which you see only one. Green arrows let you display the next widget left or right.
Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.
What is shown:
– scan a widget directory and install all widgets from that directory
– start and play with 4 widgets

[youtube]http://www.youtube.com/watch?v=hlNKLKgwkHM[/youtube]

MPEG-U Widget Video 1

This video is a sort of primer for the function of our widget player. Warning: the video is quite large, so you should be prepared to switch to 1080p and full screen to see anything.
What is shown:
– starting of the player with the most flexible widget manager called “gui”
– switch to full screen
– show the lower dock, with tooltips appearing on top of the screen
– scan a widget directory and install all widgets from that directory
– show the widget toolbar, with the name of each widget as tooltip
– start and manipulate 4 widgets, news, weather, clock and videos

[youtube]http://www.youtube.com/watch?v=AHIbDkKNPyc[/youtube]