You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 834

Location: Angers - France

Occupation: Photographer

  • Send private message

1

Monday, September 2nd 2013, 6:42pm

Video Loop jumping

Hi, I already managed to use a distorded video looped with no issue : http://www.360images.fr/articles/solutio…-video-360.html
On this new project the video is "jumping" when looping, can't understand why ? : http://360images.fr/veolia/bureau.html
The difference is on first exemple I use 1.8.15 and on second 1.6.6 version...

Any idea ?

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 834

Location: Angers - France

Occupation: Photographer

  • Send private message

2

Monday, September 2nd 2013, 8:41pm

Ok, so I tried the new project downgrading to 1.8.15 and no more "jumping", there is still a small time lapse between end of video and loop, but the video doesn't disapear and come back like with 1.6.6.
What has changed with the videoplayer ?

Thanx !

3

Tuesday, September 17th 2013, 12:47pm

Confirm that issue.
I found that in version 1.0.8.15 when loop=true there is a short delay between last and first frame, but in 1.16+ versions it is blinking of the whole hotspot. It is absolutely unacceptably behavior for videoobjects.
But I can not use 1.0.8.15 because I have strange bugs with scaling children elements, who has several layers in parents and all of them has scalechildren=true. The layers are scaling, but chilren objects (plugins with images) are not.

Klaus, please, pay attention for this problem, I think video-looping is very important element in panorama tours today

PS jeromebg, I even don`t see any seams in video-looping of guy in your first link. How did you do it? Is it just a competent fit of video-footage?

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 834

Location: Angers - France

Occupation: Photographer

  • Send private message

4

Tuesday, September 17th 2013, 1:14pm


PS jeromebg, I even don`t see any seams in video-looping of guy in your first link. How did you do it? Is it just a competent fit of video-footage?


For perfect loop like on the first link I had to use 1.8.15 version and 12fps video encoding.

5

Tuesday, September 17th 2013, 1:25pm

Thanks for answer!
But it is sad now that we have to use old version only because on one bug, while newer versions have a ton of fixed others...

6

Tuesday, September 17th 2013, 2:51pm

Hi,

I couldn't reproduce this problem yet.

Do you think the problem is related to the krpano.swf or to the videoplayer.swf?
Have you tried using the new krpano.swf and the old videoplayer.swf?

If the problem is related to the new krpano.swf, then the problem is probably more the Flashplayer itself - the new krpano.swf uses a new Flashplayer 'SWFVersion' - in this case the basic krpano code itself is identically, only the behavior of the Flashplayer differs.

And if that bug is Flashplayer related there might be no way to fix it (except for the Adobe Flashplayer developers).

Using the old SWFVersion is no option anymore, without the new one, there would be no way to use the new right-click contextmenu and the fullscreen option there and there will be no async-image-decoding.

Best regards,
Klaus

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 834

Location: Angers - France

Occupation: Photographer

  • Send private message

7

Tuesday, September 17th 2013, 3:03pm

Thanxs Klaus for your answer.

Do you think the problem is related to the krpano.swf or to the videoplayer.swf?
Have you tried using the new krpano.swf and the old videoplayer.swf?


It looks it's the krpano.swf file the problem, even with 1.8.15 videoplayer.swf it's still "jumping"

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 834

Location: Angers - France

Occupation: Photographer

  • Send private message

8

Tuesday, September 17th 2013, 3:10pm

By the way, it's not jumping with the js version : http://360images.fr/veolia/bureau.html?html5=prefer

9

Tuesday, September 17th 2013, 3:24pm

Confirm that, I tried to put old videoplayer.swf plugin (from 1.0.8.15 version) with 1.16.5 krpano.swf, and that jumping is still here.
It looks like that: the video is finished, whole element is disappearing and after about 0.5 seconds is appearing again from the beginning.
In a previous versions it just freezes for a moment at the last frame and then begins from 1st frame, what is more acceptable, but still is not ideal.

May be it is possible to modify the videoplayer plugin itselft to get around this problem, to realize the function of looping may be more stupidly, but it will work on new SWFObject?

10

Tuesday, September 17th 2013, 3:25pm

By the way, it's not jumping with the js version : http://360images.fr/veolia/bureau.html?html5=prefer


fix the paths to mp4, add %SWFPATH% or something there

Update: Just tried to see the video in HTML5, and, as jeromebg said, there are really no such jumping with object blinking, but i think the pause between last and 1st frame is a bit longer...

PS Also I am really disappointed by that scalechildren behavior on HTML5 verison, is is not work on my panos ( Don`t know why.
Also I found out, that in this case scales only 1st child, all next children in hierarchy are not affected on HTML5 version. Klaus, did you know about this problem?

This post has been edited 2 times, last edit by "SkipIntro" (Sep 17th 2013, 4:01pm)


11

Tuesday, September 17th 2013, 5:01pm

Hi,

as first try - please try using version 1.16.7 and also the videoplayer.swf from there!
There a videoplayer related bug was fixed which could eventually also affect this.

PS Also I am really disappointed by that scalechildren behavior on HTML5 verison, is is not work on my panos ( Don`t know why.
Also I found out, that in this case scales only 1st child, all next children in hierarchy are not affected on HTML5 version. Klaus, did you know about this problem?
I'm currently only aware about a hotspot children scaling problem in html5.
But scalechildren itself should work (note - in the last 1.16.7 the problem with not scaled ox/oy values was fixed).

Which scalechildren problem do you mean?

Best regards,
Klaus

12

Tuesday, September 17th 2013, 5:25pm

Hi,

as first try - please try using version 1.16.7 and also the videoplayer.swf from there!
There a videoplayer related bug was fixed which could eventually also affect this.

PS Also I am really disappointed by that scalechildren behavior on HTML5 verison, is is not work on my panos ( Don`t know why.
Also I found out, that in this case scales only 1st child, all next children in hierarchy are not affected on HTML5 version. Klaus, did you know about this problem?
I'm currently only aware about a hotspot children scaling problem in html5.
But scalechildren itself should work (note - in the last 1.16.7 the problem with not scaled ox/oy values was fixed).

Which scalechildren problem do you mean?

Best regards,
Klaus


I tried using 1.16.7 to fix video-jumping, but it does not work.

As for scalechildren:
I have a hierarchy:
- layer1 (scalechildren="true")
-- layer2
(scalechildren="true")
--- plugin

It is realized by using parent attributes.
I made an action, which tweens the scale of layer1. When I test it in Flash viewer, I see the plugin scaling as well with all the layers. But when I see it in HTML5 Viewer, the plugin stands still with the constant scale (is is not resizing), while the layers are tweening (i can see it on the mask borders). For a test, I put the parent attribute of plugin to layer1, and that worked.

Did not try that on 1.16.7, but i will.

UPDATE: Just tried, the problem is still there.

This post has been edited 2 times, last edit by "SkipIntro" (Sep 17th 2013, 5:41pm)


13

Tuesday, September 17th 2013, 5:47pm

As for scalechildren:
I have a hierarchy:
- layer1 (scalechildren="true")
-- layer2
(scalechildren="true")
--- plugin
I have tested that case now and it was working fine...

Is 'layer1' a <layer> or a <hotspot> in your case?

14

Tuesday, September 17th 2013, 6:03pm

As for scalechildren:
I have a hierarchy:
- layer1 (scalechildren="true")
-- layer2
(scalechildren="true")
--- plugin
I have tested that case now and it was working fine...

Is 'layer1' a or a in your case?

In both cases they are <layer> with type="container"

15

Tuesday, September 17th 2013, 6:07pm

Okay, now I can reproduce it .
The problem is only related to containers - it should be fixed in the next release.

Best regards,
Klaus

16

Thursday, September 19th 2013, 3:52pm

Thanks for this.
But it is still terrible - I need to use 1.16.8 (?) to get correct childrenscale on containers, but I can not use 1.16+ versions because of ugly looping of video... Are there no possible ways to fix this really?

Posts: 1,852

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

17

Thursday, September 19th 2013, 4:27pm

Use an action to scale both the container and its children manually.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

18

Thursday, September 19th 2013, 4:36pm

Hi,

the video issue is clearly a Flashplayer issue, but I will look for workarounds of course.

Best regards,
Klaus

19

Monday, September 23rd 2013, 3:03pm

Use an action to scale both the container and its children manually.

Everything are not so easy. When I scale the underlying plugins, i have to deal with pivot point (anchor), because i have to scale it relative to one absolute x-y coordinates, but I always move plugins under the main container layer.
But I solved this problem for now in 1.0.8.15 verison by making layers not with type="container", but "image" with fully transparent png.

20

Monday, September 23rd 2013, 3:04pm

Hi,

the video issue is clearly a Flashplayer issue, but I will look for workarounds of course.

Best regards,
Klaus

Thanks for that, I will check update news daily now

Similar threads