layout loop

Asked by kthamma

I design layout with 2 region

Fist for 2 avi files (45s + 30s) and second for RSS ticker . When I run program first region not run continue next media . It freeze on white screen for a long time after first media finished & ticker text of RSS move so slow (I set scroll speed to 5 , update interval 10 , duration 60) .

What I do wrong & how to fix this ?..

Thank you very much ...

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

I think we established videos showing as white regions is where either the video is loading or not being played for some reason.

If you stop the Xibo client and open those videos on the player machine in Windows Media Player, do they play properly? Note that Windows Media Player is NOT Windows Media Player Classic - they're different applications.

Cheers

Alex

Revision history for this message
kthamma (k-dhammarat) said :
#2

Alex.

this work when I have only first region & video can run on WMP .

Thank you again .

Revision history for this message
Alex Harrington (alexharrington) said :
#3

I'm not sure I follow:

You have one layout with two regions.

Region 1:
  Video 1, 45 seconds, Plays fine in Windows Media Player on the client machine
  Video 2, 30 seconds, Plays fine in Windows Media Player on the client machine

Region 2:
  RSS Ticker

How are the videos set up? Are they set to duration 0 or 45/30 seconds? What exactly happens?

eg
Layout Loads. RSS Ticker loads and runs slowly in Region 2. Video 1 starts in Region 1 and plays through to completion, then there's a long white pause? Or does the white come before the videos play? or after both of them? or?

Alex

Revision history for this message
kthamma (k-dhammarat) said :
#4

Alex

Duration was set to media controlled (0) both of them.

Long white pause just after video1 play ended . I wait for a long time after white pause and video2 not start to play. But if I use only first region everything run OK.

Thank you .

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Can you try swapping the order of the two videos around please?

Does that cause the pause to come before the first video, or does it still come after the first one has finished?

Alex

Revision history for this message
kthamma (k-dhammarat) said :
#6

about RSS ticker , I change scroll speed 1 - 30 but it still move same speed ..

Revision history for this message
kthamma (k-dhammarat) said :
#7

I still swap the file order already and it is show the same .. I think this releated with RSS ticker cause without region of RSS everything OK. But I don't know what I do a mistake ...

Revision history for this message
Alex Harrington (alexharrington) said :
#8

I'm guessing then that this will be solved by 1.0.5.

Here's my theory. Dan feel free to shoot it down. The high number of events being generated to tick the RSS is causing the video end detection to miss the end of the video and so it never changes on.

1.0.5 handles the RSS tickers differently (the work of ticking the ticker is offloaded to the Browser component) and will handle end of videos differently so I think it's worth waiting for that to be released and seeing if it solves the problem for you.

Alex

Revision history for this message
Dan Garner (dangarner) said :
#9

I think that is a good theory.

I will make sure I test a video / RSS combination when working in this area.

Revision history for this message
Bartek (czajka) said :
#10

Hello again :)

In addition to this subject - we had similar problem some time ago when testing mpeg region & rss ticker. Mpeg playlist was randomly stopped on white screen after some clips, few minutes later started playing again, or not and died on white screen. I was not able to find any rule saying why its stop, in my opinion it was totally random.
Other problem was that rss was not refreshed correctly on such layout (rss duration 2h1min, refresh time 60min at my tests, i was guessing that maybe refresh time needs to be < duration) - information was loaded only one time at system start if there was no other elements queued in a rss region.

When we removed rss due to internet connection problem (and becouse right now we don't need it :)) mpeg region started to switch clips correctly

So - rss + movie sequence region layouts definitly needs a litte of Your attention :)

Revision history for this message
Alex Harrington (alexharrington) said :
#11

Hi Bartek

RSS will only ever refresh when the whole layout changes, so setting a refresh period shorter than the length of the layout the RSS is on is pointless.

Alex

Revision history for this message
Bartek (czajka) said :
#12

Hmm, im not sure that i'm understand correctly..

On my displays there is (or rather it would be some day, right now no rss) one layout for whole month (for example rss + mpeg4 mentioned above - displaying ads clips in the loop and rss news from some portal)
Thats mean that I can't refresh rss every hour without switching layout by shudeler of something?
In my opinion it's not good solution to break my ads loop every hour and start it from beginning to force rss reload :) Or maybe I don't understand something?

Revision history for this message
Dan Garner (dangarner) said :
#13

The RSS will only refresh when its duration expires... so if you have 2 regions one for your RSS and one for your video feeds and the RSS is the only thing in its region - then it will never expire (or rather will only expire when the whole layout changes).

However if the region with the RSS in has something else in it also then each time the RSS is loaded it will refresh its content (according to the update interval set on it).

Alex may comment further but I think the new client will refresh even each time the duration is up even if the RSS is the only thing in its region. As a workaround with the current client you can just add the same RSS to the region twice, or put a blank text item in there with a very short duration.

I hope that makes some sense!

Revision history for this message
Alex Harrington (alexharrington) said :
#14

Hi Bartek

The release notes specifically suggest that you shouldn't run one layout continuiosly.

While you can do that, you'll find you burn the layout in to the screen (and yes lcds do burn just less quickly). Xibo isn't really designed to work like that in my opinion.

It works much better when you have lots of layouts shown in sequence. So in your example you might have a new layout for each advert, or group a few ads together along with a related rss feed or something.

Dan's right that one of my design goals for the python client is that rss will refresh regardless of other items in the same region, but I don't have that implemented yet.

The python client differs also in that the layout will always reload when all the regions have expired regardless of what layout is coming next (at least at the moment) so unless your regions really last weeks or months they'll be refreshing anyhow.

Alex

--- original message ---
From: "Bartek" <email address hidden>
Subject: Re: [Question #92264]: layout loop
Date: 30th November 2009
Time: 6:03:17 pm

Question #92264 on Xibo changed:
https://answers.launchpad.net/xibo/+question/92264

Bartek requested for more information:
Hmm, im not sure that i'm understand correctly..

On my displays there is (or rather it would be some day, right now no rss) one layout for whole month (for example rss + mpeg4 mentioned above - displaying ads clips in the loop and rss news from some portal)
Thats mean that I can't refresh rss every hour without switching layout by shudeler of something?
In my opinion it's not good solution to break my ads loop every hour and start it from beginning to force rss reload :) Or maybe I don't understand something?

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Bartek (czajka) said :
#15

Dan, Alex - thanks for answers.

Workaround with 1sec black txt make sense for me, there will be no visible difference to rss element native refresh i think.
I'm not afraid burning anything on screen becouse there is no static elements: rss moving r2l, movie is also dynamic content :)
Out company adviserment concept right now needs displaying ads movies one by on in loop (that's no my decision, no my idea, i'm only network admin) + and some times switching for different layout at specified time. In 99% of time there is default layout on the screen displaying ads continously. So i can't switch layout after every clip, some of them have 3-4 secs so reloading rss so often is quite unacceptable.

I only wanted to inform that kthamma is not single one who have problems with rss blocking movie displays, slow rss scrolling speed with no difference between 1 to 20 speed, etc. Good to know that it's probably already fixed by moving scrolling from xibo to ie plugin. Again - it's make sense :) I think that 1.0.5 going to be a revolutionary release - broken files fix, display problems fixes etc ;)

If Dan will fix #490049, that would be everything we need right now. But of couse I know that Xibo is much more functional already :)

Can you help with this problem?

Provide an answer of your own, or ask kthamma for more information if necessary.

To post a message you must log in.