Problems setting an custom entry to a movie

Hello!
I�ve several problems with my JMF Code. I�m using JMF with the Windows Performance Pack 2.1.1
Playing videos works pretty fine, but now i tried to set a new "rate" and a new entry point for the movie.
I used a code like this:
// p == the player
p.stop();
//in order to play the movie from 30 second
p.setMediaTime(new Time(30000));
p.setRate(10);
//this sysout shows me a rate == 1.0 and some seconds smaller than my settings
System.out.println("Time & Rate: " + p.getMediaTime().getSeconds() + " " + p.getRate());
p.start();
//another try was the line below...but it also doesn�t work
//p.syncStart(new Time(30000));so...i know there are tons of threads about this problem, but none suggestion already made solves my problem. i also read about a hack in order to make the FramePositionControl work with this veriosn here: http://www.onjava.com/pub/a/onjava/2005/06/01/kgpjava.html?page=last
now is the question, what i have to do in order to start my video on my desired time. Do i have to call something like p.acceptChanges() or something like that?!
sorry for another post about that problem, but i�m lost :(
any ideas are welcome!
Edited by: freaksta on Aug 12, 2008 7:52 AM

hi!
i´ve solved my problems by using nanoseconds (defined as long) in new Time(). So i was able to start my move from a specific time. i also implemented the ControllerAdapter on my player in order to get the events i needed to set the player correct:
          p.addControllerListener(new ControllerAdapter() {
               public void stopTimeChange(StopTimeChangeEvent e) {
                    <some stuff>
               public void mediaTimeSet(MediaTimeSetEvent e) {
                    <some stuff>
               public void stopAtTime(StopAtTimeEvent e) {
                       p.deallocate();
                                <reseting the times>
                    p.realize();
                    p.prefetch();
          });so it is possible for me to play the connected media file from each time i want. i hope this helps you

Similar Messages

  • Move Custom Value Sets and Custom Concurrent Programs from Dev to Test

    Hi,
    Friends,
    I want to move the Custom Value Sets and Custom Concurrent Programs from Development to Test Instance...how can i Acheive using FNDLOAD....
    At a time single stroke can I move them using FNDLOAD...
    Please help me in this regard....

    You can do it with FNDLOAD.
    http://appsdbablog.com/blog/2006/09/fndload.html
    Aviad Elbaz

  • 10.1.3 EA1 Problem setting custom visual javabean

    Hi,
    I'm using the "Load Dir.." feature in "Manage Libraries". There's no problems setting that
    but when i try to drop a custom visual javabean into JFrame, JDialog or JPanel, I only c a blank coltrol... an invisible control...... i did restart JDev but still the same... and my the others collegue got same problems as well..... We got no choice but downgrade to Preview version.... sad to say...... and we miss a lot new features in EA1.......
    Please help....
    Thanks

    Hi,
    Sorry, let me describe it in more detail :-
    Problem No. 1, "Add JavaBeans" not able to list any custom visual javabeans which added using "Load Dir..." in Manage Libraries but no problem with "User" location.
    Problem No. 2, Create JFrame "A" with nothing inside, then create JFrame "B" which inherited from JFrame "A". Notice, GUI Designer will show an invisible JFrame "B".
    Thanks

  • My iphone has a cracked screen but the problem is with the entry of aurriculares that move to the music I want to know if I would change?

    my iphone has a cracked screen but the problem is with the entry of aurriculares that move to the music I want to know if I would change?

    Apple will exchange your iPod for a refurbished one for $199 for 64 GB 4G and $99 for the other 4Gs. They do not fix yours.
    Apple - iPod Repair price
    You can do it at an Apple store by making an appointment:
    Apple Retail Store - Genius Bar
    or send it in to Apple. See:     
    Service Answer Center - iPod
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens         
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit                  

  • Problems Setting up a Direct Debit

    has anyone experienced any problems setting up a direct debit ??
    I've been a BT customer for approximately 20 years and have had the same account number. I've moved house a few times and retained the same account. My last house move wasn't so successful as after moving in and having broadband re set up again... I received a letter in the post saying I had requested a "termination" and a parcel was included to send my router back etc... plus... I'd be charged £100+ for the disconnection...
    Anyway I got on the phone to BT and the advisor appologised for the mix up... and suggested I cancel my direct debit with the bank to make sure the disconnection fee wasn't taken from my account..... 
    Ever since then... I have not being able to set up a direct debit online or by speaking with several BT helpdesk staff.  I email BT asking for an explaination - NOTHING.  BT helpdesk staff assure me that the direct debit will work this time and will contact me if there is a problem... again NOTHING.  I even tried writing a letter to the head of customer services... I think the name Warren Buckley rings a bell..   Someone did email me back suggesting I use the online facility.... REALLY!!  Do BT not have a fault tracking database of customer issues... so they can see I've already tried to set up the direct debit online... 
    Anyway ..... I've just noticed this forum now... so this is my latest attempt to see if anyone senior enough at BT will be embarrassed and try and sort out my account so I can start paying my bill using Direct Debit again... I'm pretty sure all that needs to happen is to be given a new account number or an account alias that can be sent to my bank. Otherwise... I'll just carry on waiting to receive the automated message from BT saying I haven't paid and then go and pay online... But I am worried one of these automated messages will arrive the day I go on a 2 week holiday and I find myself cut off when I get home... giving me more pain....
    PLEASE HELP BT ;o) 
    regards
    DaveB

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Problem in starting Custom java application through opmnctl

    Here is the details of the problem that I am facing.
    I hava one self-executable jar file which I want to run each time the application server will start.
    I have taken this idea after getting info from iasdocs.us.oracloe.com.
    The name of the jar file is ClusterServer.jar.
    I have put it in the ompn/lib folder and edited the opmn.xml file with the following entry.
    <module path="ORACLE_HOME/opmn/lib/libopmncustom">
    <module-id id="CUSTOM" />
    </module>
    <ias-component id="Custom">
    <process-type id="Custom" module-id="CUSTOM">
    <process-set id="Custom" numprocs="1">
    <module-data>
    <category id="start-parameters">
    <data id="start-executable" value="- Djava.security.policy=/home/oracleas/VSM/java.policy /home/oracleas/VSM/ClusterServer.jar"/>
    </category>
    </module-data>
    </process-set>
    </process-type>
    </ias-component>
    When I am starting the opmnctl startall , I can see the process as down.
    Can anybody help me if I am doing anything wrong.
    Thanks in advance
    Akshaya

    I don't have experinece with custom components in iAS but when you are starting this component via opmnctl then look at $ORACLE_HOME/opmn/log directory for reason of failure during starting that component.

  • I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent wit

    I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent with slightly different versions of the same address (see my previous post). Heating someone else's suggestion I created a workflow file to send an email and calling that file from an alert on my calendar. This is working and sends only one email to the client.
    My calendar is on I cloud and I access it from three different computers so I can keep my appointment calendar current. The files that send the email only exist on one computer. My other computers show error messages when those emails get sent. It seems that each computer wants to send the email. It's a small problem but is there a way that I could not get those alerts.
    But appreciate any thoughts about this. It seems like both problems might be related to the iCloud system.
    Thank you in advance,
    Michael

    Good work, catch so far Michael, does seem to be a "feature" of iCloud syncing, not sure what you could do to disable it.

  • Problems setting up VVSA 6.0 (lookup service adresse)

    Hi,
    I was happy to see VVSA 6.0 released, but i'm having problems setting it up. It keeps saying that the lookup service adresse is not reachable. But I have tried with the VVSA 5.5 and 5.5.1.1 and they work just fine with the lookup service adresse.
    Anyone else having this issue?
    Also trying to check for updates within the appliance failes since the repository is not online at vmware it seems.
    Might not be ready for primetime (like ESXi6).

    If Developer has a separate Oracle Home on your PC, then it has a separate TNSNAMES.ORA file that is uses to connect to the database. If you search for all tnsnames.ora files, you should find the one used by Developer 6.
    Since Enterprise manager works, the tnsnames.ora in your Enterprise Manager's home will have an entry for your server database. You should be able to cut and paste this into the tnsnames.ora file used by Developer, or try copying the E.M. tnsnames.ora file directly.
    John Alexander www.SummitSoftwareDesign.com

  • Problems setting up Mail to Exchange

    Hey everyone,
    Having a few problems setting up mail to exchange on a Nokia 5800.
    We have the latest version of Mail to Exchange installed.
    Were using Microsoft Exchange 2007.
    Example serup of what we have done:
    Mail to exchange - New profile - Input Username and Password of domain account - Input domain name - Chose Internet as means of connection -
    The Nokia goes off and searches for the domain information, finds it OK. Shows a message regarding a server certificate, we chose to install this certificate this time only.
    Phone crashes?
    Any ideas whats going on?
    Thansk

    Hi Jim,
    Depending on the customer feedback, it works fine. Apple Mail the client that comes with OSX supports standard protocols (POP3, IMAP, SMTP), these are all supported by Exchange 2010. 
    If you're running Mac OS 10.4 Tiger or Mac OS 10.5 Leopard, you can still use the Mac Mail App to connect to your account. However, you need to connect to your account without using IMAP or POP.
    If you're running Mac OS 10.6 Snow Leopard or Mac OS 10.7 Lion, you can use the Mail program included with those releases to connect to your email account automatically using an Exchange account.
    When you use Mac OS 10.6 Snow Leopard or Mac OS 10.7 Lion and connect using an Exchange account, you can use features that aren't available to users who connect through IMAP or POP, including iCal and Address Book.
    More details about Set up email in Mac OS X Mail, please refer to:
    https://support.office.microsoft.com/en-in/article/Set-up-email-in-Mac-OS-X-Mail-de372dc4-9648-4044-a76c-e8a60e178d54?CorrelationId=a0ce4c19-1492-4e3b-bc7e-4af83d3cb347&ui=en-US&rs=en-IN&ad=IN
    Additional, I find a similar thread about your question, for your reference:
    https://social.technet.microsoft.com/Forums/exchange/en-US/b112b61e-401f-4ad9-b459-a25673ff5407/connecting-to-exchange-2010-using-apple-mail?forum=exchange2010
    https://social.technet.microsoft.com/Forums/en-US/d3c9b4ad-822b-4a7c-88b8-39df3f166f96/how-to-setup-exchange-account-on-macbook-os-x?forum=exchange2010
    Best Regards,
    Allen Wang

  • Problems setting up a Domain - javax.management.InstanceNotFoundException

    I am having problems setting up a Domain. The following steps summarize
    what I have done.
    1. Created FooDomain in d:/bea/wlserver6.0/config and created
    appropriate config.xml, startup scripts, security, etc... (FooDomain
    boots ok)
    2. Moved console.war to bea/wlserver6.0/config/FooDomain/applications
    3. Connected to FooDomain via console (works ok).
    4. Defined machine FooMachine (happens to be localhost)
    5. Defined new server FooServer (in addition to default myserver) and
    assigned it to FooMachine.
    6. Created a new directory d:/managedServers/FooServer (note - outside
    installation directory)
    7. Created directories d:/managedServers/FooServer/logs &
    d:/managedServers/FooServer/applications
    8. Copied sample startManagedServer.cmd from mydomain to
    d:/managedServers/FooServer & modified appropriately.
    9. Ran startManagedServer.cmd (Note: I was able to connect to the
    Administration Server ok)
    The problems are as follows. (From the console - pointing to the
    Administration Server for the FooDomain)
    1. I am unable to configure a DefaultWebApp_FooServer to be located at
    d:/managedServers/FooServer/applications. I get the following exeption:
    javax.management.InstanceNotFoundException:
    FooDomain:Name=DefaultWebApp_FooServer,Type=WebAppComponent.
    2. I get a similar error when trying to set FooServer log locations to
    d:/managedServers/FooServer/logs
    Any ideas as to why? This then begs the question, what if FooServer was
    on a different physical server altogether. How would I define the
    location of the DefaultWebApp and logs.
    Thanks
    jay ()

    If you want your application work, think my way. At least, all my teammates have used this method to build their development environment. If you are more interested to debug for Weblogic, contact your support representative. The tools from Administration console look very nice, but not function as you want (e.g., the tool to convert version 5.1 application to version 6, even monitor tools). Administration console is very nice to be used to configue the parameters for a domain, but not so trustful and not for application setup in my own experience and that is why I suggest you use mydomain and DefaultWebApp_MyServer as templates. By the way, I did modify config.xml manually to change the default web application entry, etc, to what I want.
    Jay Zammit <[email protected]> wrote:
    I did not modify config.xml manually. In fact, I am able to boot both the Administration Server & Managed Server. The problem happens when using the Administration console to assign my logs and Default Applications directory to the d:/managedServers/FooServer/logs, and d:/managedServers/FooServer/applications/DefaultWebApp_FooServer directories. Try it yourself. Go to the Configurer WebApp option and type in a fully qualified directory such as d:/managedServers/FooServer/applications/DefaultWebApp_FooServer
    and see if it works on your system.
    thanks
    jay ()
    Xiang Rao wrote:
    One suggestion. Use the default domain mydomain as a template. Just make a copy of "mydomain" in folder config and rename the copy to whatever you like. Use some help tools to search all files (non-binary files) in new domain for key word "mydomain" and replace these words with your new domain name. To build an application, just rename the DefaultWebApp_MyServer to what you like and search "DefaultWebApp_MyServer" in all files (non-binary files) in your new domain and replace these words with yournew application name. Note you need to modify the scripts accordingly. Then you can run "startWeblogic" in your new domain directory to start your new domain. Other parameters should be configured by Administration console. If you manually modify configuration files, you could expect some bad news without reason.
    Jay Zammit <[email protected]> wrote:
    I am having problems setting up a Domain. The following steps summarize
    what I have done.
    1. Created FooDomain in d:/bea/wlserver6.0/config and created
    appropriate config.xml, startup scripts, security, etc... (FooDomain
    boots ok)
    2. Moved console.war to bea/wlserver6.0/config/FooDomain/applications
    3. Connected to FooDomain via console (works ok).
    4. Defined machine FooMachine (happens to be localhost)
    5. Defined new server FooServer (in addition to default myserver) and
    assigned it to FooMachine.
    6. Created a new directory d:/managedServers/FooServer (note - outside
    installation directory)
    7. Created directories d:/managedServers/FooServer/logs &
    d:/managedServers/FooServer/applications
    8. Copied sample startManagedServer.cmd from mydomain to
    d:/managedServers/FooServer & modified appropriately.
    9. Ran startManagedServer.cmd (Note: I was able to connect to the
    Administration Server ok)
    The problems are as follows. (From the console - pointing to the
    Administration Server for the FooDomain)
    1. I am unable to configure a DefaultWebApp_FooServer to be located at
    d:/managedServers/FooServer/applications. I get the following exeption:
    javax.management.InstanceNotFoundException:
    FooDomain:Name=DefaultWebApp_FooServer,Type=WebAppComponent.
    2. I get a similar error when trying to set FooServer log locations to
    d:/managedServers/FooServer/logs
    Any ideas as to why? This then begs the question, what if FooServer was
    on a different physical server altogether. How would I define the
    location of the DefaultWebApp and logs.
    Thanks
    jay ()

  • How to set a custom column in a workflow task.

    Hello,
    I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
    I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
    with Content Type 2, starts and has the same column Age, as Task1.
    How can I populate the Age column in Task2 with the content of the Age column in Task1?
    Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
    with the Content Type 2,  that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking. 
    The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    Is there a better approach? I use SharePoint Designer 2013 to design all this.
    Any assistance is appreciated.
    Thank you.

    Hello Sebastian,
    you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
    You can perform below steps to set Age column from Task 1 to Task 2.
    1.  Create Task 1 using Assign a task , wait till the task is completed.
    2. Get the Age column value based on Task 1 once the task is completed.
    3.Create Task 2 using Assign a task ,  uncheck wait till the task is completed option.
    4. Update the Task 2 with Age column in Task1.
    5. Use Wait for the field to equal value , check for Task Status is completed or not.
    >>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    you can get the related item from task list item to get the main list item.
    Other option is, Use Javascript and CSOM  in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • JDeveloper problem setting up a database connection

    I am having some problem setting up a connection to my database. Before I say any more let me explain what I need. I need 2 database connections 1 to a 10g R3 database and one to an 8.0.5.
    I do realize that JDeveloper will only connect back to 8.1.7 because of the JDBC version that is installed with it.
    What I really need to know is "Is it possible to define and use 2 different versions of JDBC" I really don't want to move back to the version that works with both because I am afraid of what performance/benefits I will lose from the latest and greatest.
    The latest version that I can determine will work with 8.0.5 is the last version for 9i.
    Any Ideas would be helpful.
    The reason for this situation is that I have a production database that I will have to keep up with until the full version of the system is complete so that is why I even care about 8.0.5.
    Thanks alot for your time,
    Thom

    I have a similar problem and I would much appreciate any help in this matter.
    I have a wireless network set at home with two computers connected to it:
    My workstation called Home-ws and my laptop called Acer. I can access the d:\ drive of my workstation from my laptop without any problem.
    On my workstation I installed the Oracle 10g product and on my laptop I installed Oracle SQL Developer. On SQL developer I am trying to create a connection to the Oracle server:
    My settings are as below:
    Connection name: orcl_system
    User name: system
    Password: ******
    Host name: Home-ws
    Port: 1521
    SID: orcl
    When I push test I am getting the following error message:
    Status: Failure –Io exception: The Network Adapter could not establish the connection
    Are there any special settings that should be made set up a wireless connection to my database?
    Then I did the following things below:
    1. I downloaded from oracle.com the instantclient-basic-win32-10.2.0.2-20060508.zip file and unzipped it in a folder called instantclient_10_2. There were a number of DLL and two jar files plus sqlplus.exe
    2. I started sqlplus from that server
    3. sqlplus failed with a similar error as sql developer.
    4. I checked for tnsping. There is no tnsping such and exe on my laptop. I looks like I have to install the DLLs I downloaded them but there are no instructions about how to install them. Should I just copy them in system32 folder?
    5. I looked for firewalls on my Home-ws workstation (where my oracle server is installed) and on my Acer laptop. The firewalls were activated. I added on exception called oracle for port 1521 on both computers and tried to connect again. I tried with both TCP and UDP options and it did not work in both cases.
    I am out of ideas. Any help would be much appreciated.
    Thank you in advance for your help.
    Julian

  • Problem in cancellation of entry sheet

    Dear experts,
    I am facing one problem in cancellation of entry sheet. IR has been cancelled for total amount. 0 value IR exists for same line item due to MRRL. while cancelling entry sheet thru Ml85 / ml81n getting error message saying PU IR deficit qty 0.001 AU. system wont allow to cancel that 0 value invoice.
    Please help me to solve this.

    Hi,
    Go to OMBZ and here activate "Rev GR desp. IR" for movement type 102 and then check by cancelling.

  • All my hard drives (internal and external) have a small lock in the lower left corner of the icon and I don't have permissions to access. Permissions are set to 'Custom' in the get info window and I can't change them.

    All my hard drives (internal and external) have a small lock in the lower left corner of the icon and I don't have permissions to access. I have 3 user accounts set up and I cannot access any of them.   Permissions are set to 'Custom' in the get info window and I can't change them. Originally I had Snow Leopard installed on one hard drive and 10.5.8 installed on another.   I started to have some problems accessing data between them and so I tried changing the permissions on ONE hard drive partition.   The next thing I know, all my drives are locked (except the ones with the systems on them), the small lock appeared in the lower left corner of the drive icons and I don't have permissions to access any of them.   In the get info window, permissions are set to 'Custom' and I can't change them.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • I have a problem in the data entry Visa card please help

    I have a problem in the data entry Visa card please help

    abdulaziz711 wrote:
    I have a problem in the data entry Visa card please help
    Is this what you mean...
    http://support.apple.com/kb/TS1646
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for