A few questions regarding video, images and audio

Reply

Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

A few questions regarding video, images and audio

 
0
  #1
Jun 20th, 2007
So here's my list of questions

1. Is there a class where it takes an audio file as a constructor and has methods that allow me pause, play and continue from any selected part of the song?

2. How do you get video to work on an applet and have the functionality from question one?

3. How do I fade an image to a particular color?

4. What would you say is the max refresh rate for a 1680 x 1050 applet with double buffering and without any choppiness? (considering that I'm using an up to date computer).

4b. If simply took a small image and stretched it to 1680 x 1050, would it change the fame rate?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,118
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 471
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: A few questions regarding video, images and audio

 
0
  #2
Jun 21st, 2007
>1. Is there a class where it takes an audio file as a constructor and has methods that allow me pause, play and continue from any selected part of the song?
According to API ackage javax.sound.sampled provides interfaces and classes for capture, processing, and playback of sampled audio data. However I never used it...

>2. How do you get video to work on an applet and have the functionality from question one?
You will have to search on the matter, but maybe you should read this first

>3. How do I fade an image to a particular color?
Original Java image functionality is limited. However, Sun Systems seen this problem and support many community projects which try to solve the problem. To address the issue there is a Java Advaced Imaging (JAI) and Java Advanced Imaging Image I/O Tools API Core (jai-imageio-core)

>4. What would you say is the max refresh rate for a 1680 x 1050 applet with double buffering and without any choppiness? (considering that I'm using an up to date computer).
That image size is to big, it will take hell of time for processing and downloading for users. Just look what is the size of videos posted on youtube, google or yahoo videos

>4b. If simply took a small image and stretched it to 1680 x 1050, would it change the fame rate?
Now you lost me... Do you want to stretch video of small size to larger view or you trying to use images and get video out of it???
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: A few questions regarding video, images and audio

 
0
  #3
Jun 21st, 2007
Originally Posted by peter_budo View Post
>1. Is there a class where it takes an audio file as a constructor and has methods that allow me pause, play and continue from any selected part of the song?
According to API ackage javax.sound.sampled provides interfaces and classes for capture, processing, and playback of sampled audio data. However I never used it...
I guess I'll have to take a look at that...

Originally Posted by peter_budo View Post
>2. How do you get video to work on an applet and have the functionality from question one?
You will have to search on the matter, but maybe you should read this first...
This is probably going to drive me nuts....

Originally Posted by peter_budo View Post
>3. How do I fade an image to a particular color?
Original Java image functionality is limited. However, Sun Systems seen this problem and support many community projects which try to solve the problem. To address the issue there is a Java Advaced Imaging (JAI) and Java Advanced Imaging Image I/O Tools API Core (jai-imageio-core)

>4. What would you say is the max refresh rate for a 1680 x 1050 applet with double buffering and without any choppiness? (considering that I'm using an up to date computer).
That image size is to big, it will take hell of time for processing and downloading for users. Just look what is the size of videos posted on youtube, google or yahoo videos
Well what I'm going to do is local and not over the web. Basically I'm making an audio player, slide show and video player.

Originally Posted by peter_budo View Post
>4b. If simply took a small image and stretched it to 1680 x 1050, would it change the fame rate?
Now you lost me... Do you want to stretch video of small size to larger view or you trying to use images and get video out of it???
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: A few questions regarding video, images and audio

 
0
  #4
Jun 21st, 2007
Well I was thinking about the video and audio part of my program and I was thinking about how windows media player has a skin selector. Can I make wmp skin out of java? If I can, then this would simplify everything for me.

Also thanks for the link Peter_Budo
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,346
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 498
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: A few questions regarding video, images and audio

 
0
  #5
Jun 21st, 2007
I don't think you can create a media player skin from Java. It seems to have it's own SDK. It doesn't sound too complicated though. Here is the MSDN page on how to create skins:
http://msdn2.microsoft.com/en-us/library/aa393417.aspx
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: A few questions regarding video, images and audio

 
0
  #6
Jun 21st, 2007
Well What I was thinking of doing is create a player that runs over my applet, but I don't know xml and need to have it for the most part be always on top. So in a way it's as if it's a part of my applet.

So here's the things I need to know:
1. Does xml support "always on top" window behavior
2. Can java produce key presses? I know I can listen for key presses, but can key presses be produced by Java?
3. Can xml listen to key presses?

4. Any sites that I can easily learn xml in a short time?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC