Re: running player makes other thing slower

2005-08-24 Thread Trevor DeVore

On Aug 22, 2005, at 4:01 PM, Ban Nguyen wrote:

That shouldn't cause any playback problems.  Did you try loading a
still image into the player?  Do you have any code that watches
monitors the status of the player object while it is playing
(updating a progress bar)?  Perhaps that is firing too often and
slowing things down?
-

I have progress bar with this script:


on MouseDown
  local i, j, l, x
  put the ClickLoc into l
  put item 1 of l into x
  subtract the left of scrollbar "myProgressBar" from x
  put x / the width of scrollbar "myProgressBar" into x
  put x * the duration of player "myPlayer" into x
  set the currentTime of player "myPlayer" to round(x)
end MouseDown


If this is only being called when you click the mouse button then I  
wouldn't think that it would cause a problem.  Are you using the  
QuickTime controller to display controls to the user?  It appears  
that you have your own progress bar from the code above and it seems  
odd that you have a progress bar that isn't being updated by some  
code somewhere.  Is "myProgressBar" being used to show playback  
status?  If so, how is it being updated?



BTW, how can I load a still image into a player?


Just set the fileName of the player to the path of a still image.   
You can load any media type that QuickTime supports.  By the way, is  
your player object using QuickTime or did you set dontUseQT to true?   
If you aren't using QT then there may be other issues at play that I  
am not aware of.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: running player makes other thing slower

2005-08-22 Thread Ban Nguyen

On Aug 22, 2005, at 2:37 PM, Ban Nguyen wrote:
>
> I am using mp3 file with encoded with 96 data rate

That shouldn't cause any playback problems.  Did you try loading a  
still image into the player?  Do you have any code that watches  
monitors the status of the player object while it is playing  
(updating a progress bar)?  Perhaps that is firing too often and  
slowing things down?


-

I have progress bar with this script:


on MouseDown
  local i, j, l, x
  put the ClickLoc into l 
  put item 1 of l into x
  subtract the left of scrollbar "myProgressBar" from x
  put x / the width of scrollbar "myProgressBar" into x 
  put x * the duration of player "myPlayer" into x
  set the currentTime of player "myPlayer" to round(x)
end MouseDown




BTW, how can I load a still image into a player?



Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running player makes other thing slower

2005-08-22 Thread Trevor DeVore

On Aug 22, 2005, at 2:37 PM, Ban Nguyen wrote:


I am using mp3 file with encoded with 96 data rate


That shouldn't cause any playback problems.  Did you try loading a  
still image into the player?  Do you have any code that watches  
monitors the status of the player object while it is playing  
(updating a progress bar)?  Perhaps that is firing too often and  
slowing things down?



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: running player makes other thing slower

2005-08-22 Thread Ban Nguyen
On Aug 22, 2005, at 11:55 AM, Ban Nguyen wrote:
> 3) What codecs do your movies use?
>
> mp3 and mov

mov is a container format, not an actual codec.  For the video you  
would have something like sorenson 3 or H.264  If your audio/video is  
encoded using a very high data rate then this could affect  
performance during playback depending on the system.

You might try loading a still image in the player and see if the  
slowdown still occurs.  If it doesn't then I would look at that data  
rate of your movies as a potential issue.


--

I am using mp3 file with encoded with 96 data rate



---
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running player makes other thing slower

2005-08-22 Thread Trevor DeVore

On Aug 22, 2005, at 11:55 AM, Ban Nguyen wrote:

3) What codecs do your movies use?

mp3 and mov


mov is a container format, not an actual codec.  For the video you  
would have something like sorenson 3 or H.264  If your audio/video is  
encoded using a very high data rate then this could affect  
performance during playback depending on the system.


You might try loading a still image in the player and see if the  
slowdown still occurs.  If it doesn't then I would look at that data  
rate of your movies as a potential issue.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: running player makes other thing slower

2005-08-22 Thread Ban Nguyen
> Hi everyone,
>
> Does anyone run into this problem like I have?
>
> In my rev application, I have a player (playing song and movie)  
> running
> just fine but when I scroll up and down the field, the sound is messed
> up and slows down other things such as selecting a line in the field
> list, clicking on a button


-
Hi Ban,

If you could provide some more details about how your app is designed  
that would be great.  I have apps that use player objects and  
scrolling fields and haven't noticed any problems related to the  
two.  Information that could prove useful:

1) What platform?  Mac, Win, Both?
2) Does this happen in development and deployment or just development?
3) What codecs do your movies use?
4) How many players are active at a time?
5) Is the player in a group that you are scrolling?
6) Does your player object overlap anything that is scrolling?


-

Hi Trevor,

Information:

1) What platform?  Mac, Win, Both?

Both

2) Does this happen in development and deployment or just development?

I happened in development and deployment

3) What codecs do your movies use?

mp3 and mov

4) How many players are active at a time?

One player


5) Is the player in a group that you are scrolling?

The player is in different group (called AudioPlayer).  I have other
groups (called aboutUs, Partners,.).  When I click on the button to
go to one of these groups, the sound is paused 1 second.  The aboutUs
content has a scrollbar. It is slow when the music is playing.

6) Does your player object overlap anything that is scrolling?

No



Thank you for your help




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: running player makes other thing slower

2005-08-22 Thread Trevor DeVore

On Aug 22, 2005, at 11:17 AM, Ban Nguyen wrote:


Hi everyone,

Does anyone run into this problem like I have?

In my rev application, I have a player (playing song and movie)  
running

just fine but when I scroll up and down the field, the sound is messed
up and slows down other things such as selecting a line in the field
list, clicking on a button


Hi Ban,

If you could provide some more details about how your app is designed  
that would be great.  I have apps that use player objects and  
scrolling fields and haven't noticed any problems related to the  
two.  Information that could prove useful:


1) What platform?  Mac, Win, Both?
2) Does this happen in development and deployment or just development?
3) What codecs do your movies use?
4) How many players are active at a time?
5) Is the player in a group that you are scrolling?
6) Does your player object overlap anything that is scrolling?


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution