Problem with player's volume

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Vincent
Posts: 13
Joined: Wed Mar 18, 2009 5:33 pm

Problem with player's volume

Post by Vincent » Fri Nov 27, 2009 2:48 pm

Hi,

I have a problem with the volume of a videoclip in my player. I want to turn off the volume of my videoclip. So, I use the following script: "set the playloudness of player "X" to 0". When I used this script, the volume of the player "X" changed in the "Property inspector", but I still heard the sound of my video...? However, when I have an audioclip in my player, I can control the playloudness with the same script...

Someone could help me, please ?

Thanks in advance,
Vincent.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: Problem with player's volume

Post by bn » Fri Nov 27, 2009 3:47 pm

Vincent,

what you describe works for me without a problem. A player object using quicktime playing a movie and then issuing set the playloudness of player 1 to 0 does what it is supposed to do.
What is you hardware/software setup?
regards
Bernd

Vincent
Posts: 13
Joined: Wed Mar 18, 2009 5:33 pm

Re: Problem with player's volume

Post by Vincent » Fri Nov 27, 2009 4:32 pm

Bern,

Thanks for your answer.

I try with a another videoclip. If the videoclip is a ".avi", it works... But, if the videoclip is a ".mpg", it doesn't work...

Is it the same thing for you ?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: Problem with player's volume

Post by bn » Fri Nov 27, 2009 4:57 pm

Vincent,

I tried with two mpg movies (the only ones I got) and they both worked. But there might be problems with different mpg clips that I dont know about. I seem to remember that the mpg format can differ, if I am not mistaken. Sorry.
Are you using Quicktime? I am on a Mac and dont know much about Windows. Maybe someone has made similar experiences to yours.

regards
Bernd

Vincent
Posts: 13
Joined: Wed Mar 18, 2009 5:33 pm

Re: Problem with player's volume

Post by Vincent » Fri Nov 27, 2009 5:03 pm

Thanks Bern,

Yes I use Quick Time with windows XP. However, if I put a ".mpg" videoclip with Quick Time outside Revolution, I can control the sound level of my videoclip...

Vincent.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: Problem with player's volume

Post by bn » Fri Nov 27, 2009 5:13 pm

Vincent,
I have no idea what is going on. You just could try with different mpgs, restarting Rev, and the usual generic measures to try to circle in on the problem.

would you mind posting the Quicktime version and the version of Rev you are using?

regards
Bernd

Post Reply