Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

How to slow down/speed up video using JMF?

Thread view: 
nick.degraeve@pandora.be - 05 Feb 2006 06:55 GMT
I've been asked to write an app were the user can slow down or speed up
video and even reverse it. Only video is required, no audio.
I've done a test with a Quicktime movie and using setRate(). It didn't
work, though, as the rate always stays at 1.0 no matter what I set.

Do I need to use a specific codec for it to work? It there something
about setRate() that I overlooked?

Nick.
Roedy Green - 05 Feb 2006 08:00 GMT
>Do I need to use a specific codec for it to work? It there something
>about setRate() that I overlooked?

There are two different concepts.

1. how often do I display a frame?  This measures the smoothness
quality.

2. how far apart in time to I display two frames that were 1 second
apart in real time? this measure the slow/fast motionness.

Read the docs carefully to see which setRate controls and if there is
one for the other concept.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Nick de Graeve - 05 Feb 2006 18:00 GMT
>> Do I need to use a specific codec for it to work? It there something
>> about setRate() that I overlooked?
[quoted text clipped - 9 lines]
> Read the docs carefully to see which setRate controls and if there is
> one for the other concept.

The 2nd one is wat I need and setRate() seems the way to go. But I'm
starting to fear that I need to create a Controller myself.
Unfortunately the reference implementation on the Sun site
(http://java.sun.com/products/java-media/jmf/2.1.1/guide/JMFApp-Controller.html)
is missing 2 important classes.

NdG.
Signature

Nick's Auditorium: http://users.pandora.be/nicks_auditorium
History of and technical information on movie sound systems.
De geschiedenis van en technische informatie over geluidssystemen voor
cinema's.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.