Start downloading from the middle of a video

Hi all,
I am new to this forum, so pardon me if there is anything inappropriate. :")
Currently, I am writing an applet that is capable of searching within videos. The main part of the program accepts the search term and returns the time within the searched video that the search term occurs (as heard in the audio.)
The problem I am having is presenting the results. The source video is on a server, and the applet will access the video and play it using Java Media Player framework. However, it is undesirable to make the user wait for the player to prefetch (download, if that's the correct term) the whole video, which can be large.
Instead, it would be great if we can make the player start prefetching/downloading at the desired media time, for example, from the 15th second onwards, and then start playing from there.
So far, I have tried the setMediaTime method, but of course, it can only be called when the player has finished realizing. From the guide, I interpret the realization phase as simply getting the info of the media clip. However, it seems that the player must download the whole clip before it can use the setMediaTime method.
Thanks for reading ^_^. Any help would be greatly appreciated!
Regards,
Tong.

Oh hi... seemed like I've got the problem fixed. :") For this particular case, just get the server side to stream the video to the clients (possibly one instance is created for each IP address, if resources allow). The server can quickly seek to any particular position within the media clip, and start streaming from there. The clients' players just need to listen to the stream from the appropriate instance on the server.
JMF can do the streaming just fine. I've switched to VLC before I knew that, so now I'm having problem making the JMF on the client work with the VLC streaming. This is weird, considering the streaming protocol to be identical. But I should get that fixed soon.
Thanks anyway! Hope this helps someone.

Similar Messages

  • HT1338 trying to download mountain lion OS, but whenever the net connection is broken it restarts from zero, how to prevent this and start downloading from the point it was disconnected

    trying to download mountain lion OS, but whenever the net connection is broken it restarts from zero, how to prevent this and start downloading from the point it was disconnected

    Disable anti virus software and try turning off the Firewall in System Preferences > Security & Privacy > Firewall.
    Quit then relaunch the App Store. From the menu bar click Store > Sign In
    Then click Store > Check for Unfinished Downloads

  • I bought a movie three days ago.  It begins to download from the cloud, then my iPad goes to sleep and when I open it again, it starts downloading from the BEGINNING.  How do I get the WHOLE MOVIE to download?  I have re-booted but that didn't help.

    I can't seem to figure out how to download a movie.  It begins to download (and yes, I've checked my download speed and my bandwidth and both should, in theory, be adequate to download a movie!) but then the iPad will go to sleep and when I get back to it, it shows that I have bought the movie but nothing is downloaded.  And when I try to download the next time, nothing is saved and it starts again from the beginning of the download.
    I sat down by my iPad while I was working and every few minutes I would swipe to turn it on and it got over half of the movie downloaded.  But then I had to go to leave and now it shows nothing is downloaded.
    I can see having it take a few hours to download IF one was able to just start the download and walk away and come back later to watch the movie.  But to have to repeatedly begin from the start of the download is incredibly frustrating.  I would want my money refunded to my iTunes account at this point, if I was able to do that.  It's just not worth the hassle.
    Suggestions?  How does one download a movie from iTunes?  It should not have to be this hard!!

    See if you can redownload it.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    If you can then delete from your iPod if you can and redownload.
    If you can't delete from iPod, go to to iTunes>Store>Check for Available Downloads on your computer ,  amd dpwnload and sync

  • Start playing from the middle of a playlist?

    Hi all,
    I was wondering how to start playing from an arbitray song in a playlist on iTunes.  When you go to a playlist, you see a play button next to the title of the playlist on the upper left corner of the playlist pane.  If you press it, iTunes starts from the first song of the playlist.  What do you do when you want to start from a song in the middle and continue to play songs in the order of the playlist?
    I selected the song from which I want to start and pressed the play button on the upper-left corner, but iTunes started to play from the top of the list.  When I double-clicked on the song, iTunes started to play the song but it stopped at the end of the album, not at the end of the playlist.
    iTunes 11.1.3 (8).
    Regards,
    Ryo

    Oh hi... seemed like I've got the problem fixed. :") For this particular case, just get the server side to stream the video to the clients (possibly one instance is created for each IP address, if resources allow). The server can quickly seek to any particular position within the media clip, and start streaming from there. The clients' players just need to listen to the stream from the appropriate instance on the server.
    JMF can do the streaming just fine. I've switched to VLC before I knew that, so now I'm having problem making the JMF on the client work with the VLC streaming. This is weird, considering the streaming protocol to be identical. But I should get that fixed soon.
    Thanks anyway! Hope this helps someone.

  • Starting Songs From The Middle Of The Song

    Sometimes when listening to iTunes or my iPod, I skip a song while it is in the middle of the song. Why is it that this information is then saved so that when that song is selected next, it continues from the exact point that I skipped ahead at the last time I listened to it?
    Is there a setting so that all songs will automatically start from the beginning no matter what when they are selected?

    Ya, go to the song in iTunes, select it, do a Get Info and then under Options there is a check box for Remember Playback position. You will likely find this checked. Uncheck it and you should be all set.
    You can select multiple songs at the same time, go a Get Info, then at the bottom there is a pull down for turning this ON/OFF for the whole groups of songs. So you could select your whole library if you wanted, Get Info and then turn it off for all of them to be sure.
    Patrick

  • Why do videos always start over from the beginning? A bug??

    Hi,
    I just did the update and still have the same issue where videos always start from the beginning, when I WANT them to start where they left off. I went into Settings>Video>Start Playing and selected "Where Left Off",  but that didn't help. Is this a bug?? I want it to act as it did on my 3G where I can exit the middle of a video and it will start from that point next time I enter the video... Any ideas???

    I have the same problem, not only with videos but with my playlist as well. Everything seems to restart from the beginning.

  • Help! After interrupting an installation of a program downloaded from the internet on my mac in a reboot cycle will not start, I've already done the disk check and it's ok and I reinstalled the OS 10.8 Lion

    After interrupting an installation of a program downloaded from the internet on my mac in a reboot cycle will not start, I've already done the disk check and it's ok and I reinstalled the OS 10.8 Lion

    In this case, I think that there's something damaged that can't be fixed just reinstalling OS X.
    If you don't want to lose files, you will have to create a second partition in the hard drive and install OS X there, so you will be able to recover everything you need. Then, you will have to erase the first partition and reinstall OS X. Follow these steps:
    1. Hold Command and R keys while your Mac is starting to start into OS X Recovery, and open Disk Utility.
    2. You can follow the steps of this site to create a second partition > http://pondini.org/OSX/DU3.html
    3. After creating the second partition, close Disk Utility and install OS X on the second partition.
    4. When the installation finishes, open Finder and, in the sidebar, you will see the other partition. Open it and recover the files you need.
    5. After doing that, repeat the step 1.
    6. Select “Macintosh HD” in the sidebar, go to Erase tab and erase the disk.
    7. Close Disk Utility and install OS X on the first partition.
    After doing all of these steps (you will need a lot of time to do this), you can delete the second partition you created and add the size of this partition into the first one > http://pondini.org/OSX/DU4.html

  • I purchased a tv show from itunes.  While downloading from the store it shows in the video list, when done, it disappears. what is happening?

    I purchased a tv show from itunes.  I can sync to my iphone. I tried to sync to ipod touch 4gen. Sync seems to be fine, but the video doesn't show up.  While downloading from the store it shows in the list, when done, it disappears. what is happening?
    I finally figured it out.  I had the parental controls restricting videos on my son's ipod.  Once I changed the restrictions, the videos appeared.

    http://www.apple.com/support/itunes/store/download/
    Fill out a customer service request, they will respond. I had a problem with my account and Apple was very helpful.
    BTW... the store is still down.

  • Can the first generation iPad play an 720p HD video downloaded from the iTunes store?

    Hello fellow Apple users!
    I am just wondering if the iPad 1 could play a 720p video downloaded from the iTunes store.
    I'd love to watch a movie in HD but I don't wanna waste money on something I can't consume.
    Thanks a lot!

    1. Double-click the Home button to see all Inactive Apps in Task Bar
    2. Hold the Apps down for a second or two until you see the minus sign
    3. Tap the minus sign to close App
    4. Tap center of screen to return to Home Screen
    5. Reset iPad. Hold the Sleep and Home button down for about 10 second until you see the Apple logo. Ignore the red slider

  • 3rd party downloader should start only from the broken point only

    3rd party downloader should start only from the broken point only.   

    This is a SharePoint forum, we don't tend to work too closely with Google drive. You might want to try a Google support forum.

  • 48 Hours ago I started to upgrade to Mtn Lion on a now 10 day old IMac - 30 minutes ago I got the email with the content code and redeem code for the download from the app store - it said download was happening, but nothing happened for 30 min - FIX IT!

    48 Hours ago I started to upgrade to Mountain Lion on a now 10 day old IMac - 30 minutes ago I got the email with the content code and redeem code for the download from the app store - it said download was happening, but nothing happened for 30 min - HOW DO I (or you) FIX IT!?

    This is a User's Forum, yelling at us won't help. You have 90 days of customer support via telephone. Use them as they can interact with their system and hopefully get you back on track. Otherwise take it to them at the Genius Bar and have them make it good.

  • How do i find new downloads from i tunes in my video app in this os7

    How do i find new downloads from i tunes in my video app in this os7. All purchsed items are there, what a
    mess???

    Leonard,
    I used the sample code from StamperUI.cpp as a starting point. I have tried 'LoadBitmap', 'LoadCursor' and 'LoadIcon' and none of these seam to work for me.
    As I stated before, I used Visual Studio to create the icons in the resource file, so I would think that they would be recognized by the application.
    Thanks,
    Gregory

  • What is the best way to remove footage from the middle of a clip?

    What is the best way to remove unwanted footage from the middle of a clip? I have a clip that I've trimmed from the start and finsih, but I need to remove "boring" footage from inbetween.

    Thank you for your replies. I tried the blade tool followed by select and delete but it did not seem very precise. I had better success with this aproach at the ends rather than in the middle. I watched a tutorial video on using the precision editor, but the video was small so I had a difficult time following where the person clicked, etc. Any info on using the precision editor would be greatly appreciated. I need to make precise cuts to avoid creating unatural motion for the subject. So far, close but no cigar.
    Regards,
    Michael

  • With OSX10.7.5 and Adobe Reader 11.0.02 when I try to open a PDF downloaded from the web I get 'There was an error opening this document. This file is damaged and could not be repaired. Preview will not open either. Older PDFs OK.

    I am running OS X 10.7.5 and Adobe Reader 11.0.02. In the last few days I have been unable to open PDF's downloaded from the web. Reader gives the error message 'There was an error opening this document. The file is damaged and could not be repaired'. Removing Reader and trying to use Preview to open these files give the error 'Preview cannot open this file. It may be damaged or use a file format that Preview doesn't recognise' (or something like that). Downloading the same files with Reader removed from my Mac Preview opens the files OK.
    I was recently prompted to update Adobe software but did not note exactly what the update was nor when it was done.
    Reader and Preview will both open PDFs I downloaded a week ago. Reader will also open files downloaded on another Mac running OS X 10.0.0 and copied to my Mac. Any ideas?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • My podcasts won't download from the computer to my ipod touch all of a sudden!

    All of a sudden my podcasts won't download from the computer to the ipod touch anymore.  It still downloads changes in music and apps, but it just seems to be podcasts.  Can anybody help me diagnose my problem?

    If they are video podcasts, they now appear in the Video app after iOS 5.

Maybe you are looking for

  • I'm looking for a freeware or affordable plugin that does this...

    On a stereo track, is there a plugin that will let you select either the left channel or right channel and then solo it in mono? I could only see something from Brainworx but it is not AU and my attempt using FXpansion's VST to AU didn't work. Yes, I

  • Updated ios 7.1.1 now screen is unresponsive

    I updated to the ios 7.1.1 on my iphone 5 this morning and now the screen is unresponsive.  Is anyone else having this problem?  Everything was working fine until this morning when the update finished.  Did a reset with no luck.  I took it to the car

  • How to unistall installed software with Mac OS X

    the message same to Subject

  • Converting purchased Lost movie from my APPLE to my PC.

    Can anyone help? I use a Apple computer and a windows computer. I purchase the first and second seasons of LOST on my Apple computer. I would like to play them on my PC. IS THIS POSSIBLE WITHOUT PURCHASING FROM MY PC? Seems like I should be able to c

  • Table values to 2decimal places

    Hi All, i would like to ask how to convert the table values displayed to 2decimal places? Hope to hear your reply soon. Thanks & Regards, Isa Solved! Go to Solution. Attachments: table0.JPG ‏31 KB table9.JPG ‏29 KB