You are not logged in.

hernan

Beginner

  • "hernan" started this thread

Posts: 8

Location: Buenos Aires, Argentina

Occupation: photographer

  • Send private message

1

Thursday, September 15th 2011, 11:30pm

Video sound problem

When I change from one panorama to another appears 1 second of audio, how can I fix this?

You can see the problem here:

http://studio360.com.ar/ultrapetrolvirtual/ultrapetrol.html


Here´s the code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<krpano version="1.0.8.14">
<!-- acciones a realizar al cargar -->
<events onxmlcomplete="onxmlcompleteaction();"/>
<action name="onxmlcompleteaction">
panotourmapsunactivespots();
plugin[combobox].selectitem('Rampa Varadero Final');
panotourmapsactivespot(panotourmapsspot7);
</action>
<action name="playpanosounds">
playbackgroundsound(none);
</action>
<action name="stoppanosounds">
stopbackgroundsound();
</action>
<action name="closepanoobjects"></action>
<!--************** Panorama *******************************************************************-->
<!-- @File="ultrapetrol11.xml" @PanoName="Rampa Varadero Final" @FilePath="/Users/hernanespana/Desktop/ultrapetrol/C[Group 6]-HER_7951_HER_7957-7 images.jpg" -->
<panoview h="-13.29" v="3.21" fov="41.82"/>
<!-- parámetros de visualización -->
<view fisheye="0" limitview="range" hlookatmin="-170" hlookatmax="40" vlookatmin="-90.005" vlookatmax="73.8824" maxpixelzoom="1.0" fovmax="90" fov="41.82" hlookat="-13.29" vlookat="3.21"/>
<progress showwait="none"/>
<autorotate horizon="3.21" tofov="41.82" waittime="1" speed="5"/>
<!-- vista previa -->
<preview url="ultrapetroldata/ultrapetrol11/preview.jpg"/>
<!-- el panorama mismo -->
<image type="SPHERE" hfov="360" vfov="175.19" voffset="-2.41" multires="true" tilesize="609" baseindex="0">
<level tiledimagewidth="5000" tiledimageheight="2433">
<sphere url="ultrapetroldata/ultrapetrol11/2/%v_%u.jpg"/>
</level>
<level tiledimagewidth="2500" tiledimageheight="1216">
<sphere url="ultrapetroldata/ultrapetrol11/1/%v_%u.jpg"/>
</level>
<level tiledimagewidth="1250" tiledimageheight="608">
<sphere url="ultrapetroldata/ultrapetrol11/0/%v_%u.jpg"/>
</level>
</image>
<!--************** Puntos clave y reflexiones *************************************************-->
<hotspot name="spot19" hview="-54" vview="0" fovview="90" hcenter="18.0286" vcenter="-0.119935" onclick="mainloadpano(ultrapetrol7.xml);lookat(get(hview),get(vview),get(fovview));" url="ultrapetroldata/graphics/spots/spot1.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot19,0.1);" onhover="showtext('Entrada Planta de Chapas');" ath="378.029" atv="-0.119935"/>
<hotspot name="spot20" onclick="closeglobalobjects();closeallobjects();set(plugin[spot20object].visible,true);tween(plugin[spot20object].alpha, 1);plugin[spot20object].play()" url="ultrapetroldata/graphics/spots/spot2.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot20,0.1);" ath="333.386" atv="11.3304"/>
<plugin name="spot20object" visible="false" url="ultrapetroldata/graphics/videoplayer.swf" videourl="ultrapetroldata/graphics/spots/object9.flv" pausedonstart="true" align="center" alpha="0" onclick="closeglobalobjects();tween(alpha, 0);delayedcall(0.5,set(visible,false));stop();" width="700" height="500"/>
<action name="hidepanospotsaction">
set(hotspot[spot19].visible, false);
set(hotspot[spot20].visible, false);</action>
<action name="showpanospotsaction">
set(hotspot[spot19].visible, true);
set(hotspot[spot20].visible, true);</action>
<!-- cerrar todos los puntos clave -->
<action name="closeallobjects">set(plugin[spot20object].alpha, 0);set(plugin[spot20object].visible,false);plugin[spot20object].stop()</action>
</krpano>

Thanks to all!

Best Regards

H.

This post has been edited 2 times, last edit by "hernan" (Sep 16th 2011, 3:21pm)


2

Wednesday, September 21st 2011, 4:25pm

Hi,

hmm... I'm not sure what you mean... when I play the video and then switch to another pano, the video and the sound of the video are immediately away...

best regards,
Klaus

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

3

Wednesday, September 21st 2011, 4:32pm

It's immediately away, but then I hear a wooosh after the new pano's loaded. The blip is unique on each.. sounds like the video is trying to start and then immediately stopped.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

hernan

Beginner

  • "hernan" started this thread

Posts: 8

Location: Buenos Aires, Argentina

Occupation: photographer

  • Send private message

4

Thursday, September 22nd 2011, 2:55pm

video sound problem

Hi Klaus and sachagriffin, thanks for your attention! The problem was well described by sachagriffin. Listen when switch from one pano to another you can hear the sound of the video starting for one second. I need to solve this, hope someone can help me.
Thanks!

5

Monday, September 26th 2011, 3:09pm

Hi,

sorry, but I don't hear that on my system...
what system (windows, mac, ...) and what Flashplayer version were you using?

best regards,
Klaus

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

6

Monday, September 26th 2011, 3:29pm

10,3,183,10 installed
w7
Not sure if I've heard this on others projects before with video.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

jschrader

Intermediate

Posts: 237

Location: Bavaria, Germany

Occupation: Photographer, Producer

  • Send private message

7

Tuesday, September 27th 2011, 8:37am

Yes, I can hear this and I had the same problem with my recent project.
Only solution was to set volume to 0 when loading the plugin and rise it when the sound starts.

WIN XP 64, Opera, Firefox, latest Flash

8

Tuesday, September 27th 2011, 1:51pm

Hi,

okay, after a lot of tries I was finally able to hear it - but only when I don't start playing the video and instead just went to an other pano...
Only solution was to set volume to 0 when loading the plugin and rise it when the sound starts.
hmm... this is the same what the plugin is normally internal doing...
maybe there is an internal Flashplayer delay between the pause and the volume change calls...

I have tried now to improve that situation and set/update the internal Flash sound volume internally more often and also automatically to 0 every time the video will be paused,

here attached a new videoplayer.swf with that changes - can you please upload and test it with your example? (just replace the videoplayer.swf)
videoplayer.zip

best regards,
Klaus

9

Wednesday, September 28th 2011, 7:22pm

Hi,

there is a new krpano release where this fixed videoplayer.swf is also included:
krpano 1.0.8.14

best regards,
Klaus

hernan

Beginner

  • "hernan" started this thread

Posts: 8

Location: Buenos Aires, Argentina

Occupation: photographer

  • Send private message

10

Tuesday, October 4th 2011, 10:35pm

Video sound Problem solved!

I have changed te videoplayer.swf file and now the tour is working properly!
Klaus,sachagriffin and jschrader, thank you very much for your help and attention resolving this topic.
My best regards
Hernan

Similar threads