Set playback position

Hello,
I have a Player created like this
Player player = Manager.createPlayer(Manager.createDataSource(new URL("http://www.sample.com/movie.mpg")));I've tried to change the playback position like this
player.setMediaTime(new Time(mediaNanoSeconds));
player.start();but it seems that the player is freezing.
Is it possible to change the playback position of a player with a http source?
Thank you!

Hello captfoss,
Thank you for your advice. I looked on JMF API and saw that class Player doesn't implement interface Seekable. Still if the media is on your machine and you create a player you can skip some frames. Maybe I didn't understand your suggestion. I tried a different approach with FramePositioningControl but no success. I know that in JMStudio if you try to open a file from a url the seek bar doesn't appear but i thought that you can do this by code. I guess that if the media file is not on your local machine you can't change the playback position.

Similar Messages

  • How to set remembering playback position as default

    Hi everyone,
    I know how to manually set the "Remember Playback Position", however it doesn't remain set and keeps on dropping off.
    does anyone know how to set it as a default value? or is there a bug effecting this functionality?

    Hi Alessanrdo,
    Thanks for your reply.
    Actually the motive behing this option is to cover the "loop hole" of ARQ application. If you notice, we can "keep" adding the same role which is already assigned with different validity dates. ARQ does not control this!
    Eventually, what happens that in the back end system, the user master record is overwhelmed with the same role entry with different validity dates!
    Unfortunately, application does not have any control over this. Therefore, at least making "RETAIN" as the default provisioning action, we can have a "sort" of control over this. What happens is, if I add a role which is already assigned to a user and change the validity dates, there will not be any new entry in the back end system with the same role.
    Hope this will help you understand the requirement and advise me.
    Regards,
    Faisal

  • How to auto set remember playback position?

    When adding MP3s to a playlist, is there a way to automatically set the "Remember playback position"?

    FYI:
    Remember playback position is for starting the audio file where it left off, (good for audiobooks),  not which song the playlist was on.

  • Many files set to remember playback positioning

    Hello,
    I just purchased a number of disks containing MP3s of Old Time Radio shows. I have already imported about 350 episodes into iTunes. Now I need to make them all "remember playback positioning." I know how to do it individually but how can I do it to many files at once? Applescript? Using iTunes 6.0.1.
    Thank you,
    Steve

    This should do the trick:
    http://www.dougscripts.com/itunes/scripts/ss.php?sp=selectedtracksbookmarkable

  • How can I get an audiobook's playback position synced between Mac and iPhone?

    I have several Audible audiobooks, both on my iMac and on my iPhone. I listen to the audiobook on either the computer or the phone, depending on the circumstances. Both the iMac and the iPhone will independently remember the playback position within the audiobook, but I cannot get them to sync those playback positions to each other. So if I'm on chapter 2 on the iMac, listen for a couple of hours, and end at chapter 4, then the Mac will remember the correct playback position when I return to the book, but if I sync the iPhone to the Mac, and check the audiobook on the phone, it is still at the playback position it was the last time I listened to the book on the phone. Should the playbook position in the audiobook sync when the phone is synced to the computer via iTunes? I've tried both wired and wireless syncs, and that doesn't seem to make a difference on my case. Should this work, and if so, is there a particular setting that I'm missing?

    I am tracking the movement of various objects by subtracting the current image from the previous image and displaying the result.  Anything that moves is white and anything that doesn't is black.  I then have vision assistant give me a list of particles and their pixel positions based on certain criteria.  I then use the data from my two cameras pointing at 45 degrees inward in order to triangulate the object's 3-D position in space (this takes a few steps).  Then I use the frame rate of the camera and the scalar distance between an object in multiple frames to determine its scalar and vector velocities.  All of this is done in real time.
    I  was originally having issues with the pixel positions but have since wrote a vi that interprets a matrix of the pixel positions which then feeds them into my position/velocity vi.
    The vi I attached is built to work with my "bitflow alta frame grabber" so feel free to ask questions if anything is not understood.
    My new task has been to develop a way to only track one object at a time, and have that object be the same object in both cameras. 
    Questions or comments welcomed 
    Attachments:
    continuous grab example_chad.vi ‏45 KB

  • ITunes 7.0 ignoring "Remember playback position"

    I've been encountering an issue where iTunes 7.0 is ignoring last marked playback position on files with "Remember playback position" set. The files in question are on my iPod. I can't put my finger on it, but I have for certain encountered this anomaly more than three times, with different files (all are mp3 podcasts from different sources). Instead of resuming playback where I left off, it begins playback starting at the beginning of the file.
    Has anyone else been encountering this? If so, is there any workaround for this or should it be placed on top of the growing heap of iTunes 7.0 bugs?
    2 x 3 GHz Dual-Core Intel Xeon Mac Pro   Mac OS X (10.4.7)  

    So glad to at least find others that are having this problem. It's driving me crazy! I wish I had a fix, but even the Apple reps at MacWorld didn't have a solution.
    This happened when I upgraded to iTunes 7. My "Remember Playback Position" is checked but greyed out.
    Possibly related, when I first disconnect the iPod, the audiobooks show up inside the top level "Audiobooks" category. If I listen to one of them, then go listen to a song, then go back to the Audiobooks category, the books are now gone! I can get to them by browsing through Artists but it's definitely not the expected behavior.

  • Creating Multiple Playback Positions on a Track

    Hello,
    This should be quite simple and i'm trying to emulate a feature on youtube. Basically, i have some very long music tracks, mixes and so forth, that are about an hour long. What is the simplest way to create multiple playback positions in one track? This is sort of like how you can list multiple playback positions on youtube. I'm not sure if this is the same as remembering playback positions, as that is more about playing from when you left off. I'm talking more clickable playback positions for a single music track/mix.
    Thanks,

    I'm not an expert but I think that is only possible with video files which support chapter markers.  I have never heard of anybody doing it in iTunes or with music files.  The closest I have heard is iTunes allowing you to set a start and stop time for tracks, but I think that is saved in iTunes data and is not part of the file.

  • Shuffle is not remembering playback position on podcasts - how to fix?

    I seem to have gotten the hard part out of the way, I've figured out how to get podcasts onto my 2nd gen shuffle (Select all > Get Info > Options > Skip When Shuffling > No).
    Now, the issue is that when I reattach the shuffle to the computer, I can't get it to recognize the playback position I'm in the middle of a file.
    It works one way, computer > shuffle. If I've gotten to the middle of a file on the computer, the shuffle recognizes it and picks it up from the paused point, which is as it should be. But when I plug the shuffle back in after listening for a bit, it doesn't work from shuffle > computer. It does not recognize the new point where I hit pause on the shuffle, which is incredibly frustrating.
    I went through and did a Select all > Get Info > Options > Remember Position > Yes to make sure there isn't an errant track not set up correctly, but that didn't help.
    Anybody got any ideas? Or is this another "convenient feature" of how the 2G shuffle works with podcasts? Running iTunes 8.2 on OS X 10.5.
    +Resolved by resetting. Never mind!+
    Message was edited by: loudguitars81

    I usually run my browser with around 4 to 5 tabs saved at all times, an example of the problem is one tab is a web page with a novel, if I were to read half way into the page when closing firefox, it will resume at the same spot I left off when I turn it back on.
    However, if I were to change to a different tab and then close firefox, by the time I turn it back on and go back to the tab with the novel it'll return to the spot where I last refreshed, which usually is never so it returns to the top of the page. This is happening to every single tab/web site that was not refreshed anytime before I turn off firefox.
    Everytime I close firefox I choose the save my tabs option and firefox had always remembered my last position for every tab before I upgraded to 27.0.1
    Hope this is enough information to understand my problem.

  • ITunes and auto remember playback position

    How to make iTunes automatically add new tracks to the "remember playback position" ?

    Hi emcea
    In iTunes list , select the song you want to set, Ctrl-click on it, > Get Info, > Select the "Options" tab, and there set the time to begin or to stop playing (don't forget to check related cases-You also have possibility to check the case related to playing position
    HTH
    Francis

  • ITunes 5: What is Remember playback position?

    ITunes 5 has a new option in the Get Info/Options Tab
    "Remember Playback Position". Does anyone know what this is for?
    I suspect that it may have something to do with the default playback start position, but I'm not sure.
    If i don't want the song to start from the beginning (e.g. long intro) I normally set the 'Start Time' in the same options tab. I'm wondering if this is another way to achieve this.
    TIA

    When you want the music to start at some position, drag the time indicator (or what it is called) to the position where it should start.
    Then check "Remember"
    Everytime you play that sound it starts at the position indicated. On the left you see the played time.
    Perhaps it is a different way to accomplish the same.
    Just give it a try and see if it has any use for you.

  • Playlist- disable shuffle and remember playback position?

    Hi, I dont know if you can do this but I have one playlist for audiobooks that i have via Mp3's and some radio shows i've recorded.
    At the moment I have some apple scripts i downloaded to do batch 'remember position' and 'skip shuffle' settings, but is there anyway or script i can get to automatticly set any mp3 dropped on to a given playlist to give them these settings?
    Thanks
    MacBook   Mac OS X (10.3.8)  

    Yes... I use mine (1st Gen and 2nd Gen shuffles) exclusively for audiobooks from various sources. I ALWAYS make sure that they are set in GetInfo>Options to "remember playback position". I listen daily and often pause, turn off then on and resume during that listening period.

  • AppleTV not updating iTunes playback position

    I have some long MP4 audio files, which have "Remember Playback Position" toggled on.
    My iPod plays them, when I stop listening, it remembers the position. When I sync it with iTunes, it updates iTunes with the new playback position.
    On playing the same file on my Apple TV, the file starts playing in the correct (remembered) place. However on stopping the file, and resyncing the Apple TV with iTunes, it fails to update iTunes with the new "remembered" position.
    Is this repeatable by others?

    I listen to long mp3 files with remember playback position set. It does not work when I sync to the Apple TV, but if I stream, iTunes does keep track of where I left off. So I can listen through the ATV, then sync to the nano and keep going where it left off when listening to the ATV via streaming.
    I wish sync would remember but as of now it does not.

  • Getting playlists to sync and remember playback position

    Hi --
    Is it possible to create a playlist where all the items in that playlist have the "Remember playback position" ticked, such that both ipod and itunes sync up the playlist position when connected?
    I've tried this, and for some reason even with "Remember playback" chosen, whilst individually inside each of itunes and the ipod the position of the tracks will be remembered when syncing up ipod/itunes will not 'rationalise' the position in the way in which it seems to be able to do with podcasts.

    I have a smart playlist for all of my Mac podcasts. It's set for anything where genre is podcast, "mac" is in album or name, play count is 0. As soon as I've listened to one podcast, it drops off of my playlist (at least once I've navigated at least one level above the contents of the playlist.
    Are you trying to create a playlist with podcasts from 1 subscription or several subscriptions? If 1, then you'd put the name of the podcast "album" . If several, you could place something in the "comments" section of the get info window. For example, you could even put in "playlist one" into the comments section of each podcast that you wanted in that playlist. Then when you set up your smart playlist options, choose "genre" is "podcast", "keyword" is/contains "playlist one", "play count" is 0.
    Does that make sense? Would that accomplish what you want?

  • IPod Video - remember playback position wont update

    I am watching a converted mp4 of a TV episode from a DVD that I own. When I interupt to change to something else, it only remembers the first occurence of the first time I do that. If I watch to a later point, exit and return later, it restarts at the point I exited at the first time. Any ideas as to why remember playback position will not update? Thanks for any advice.

    Well, from a programming aspect, obviously. But, there's no way we can alter how any variables are set. I recommend restoring your iPod. That may fix it. Other than that, I suppose contacting Apple might be the only way to go.

  • Is there a way to auto remember playback position?

    When I drop an MP4 into iTunes, I have to right click, get info and select to remember playback position...since I might listen to this track in several sessions. Is there way to have all MP4s I drop into iTunes select to remember playback position?

    nope. there is, however a quicker way to do it than the individual itunes info window. you can select everything that you want to change. then open the get info window. go to the Options tab. check the box that says Remember Position, then go to the menu just to the right and choose the desired setting. click ok. this will change the setting for all the tracks at once instead of just one at a time.

Maybe you are looking for

  • Error in Posting GR (mb01)

    Hi Experts, My user is encountering this error when she tried to define the delivery amount or qty.. and post it. I'm just wondering why they were able to post a GR before July even the amount is 7 digits. The user tried to breakdown the amount but t

  • Cost center planned values to profit center

    Hi All, Can anyone help to know the customization setting where the cost center planned values are automatically moved to profit center... Blessy.

  • Message: this photo gallery requires that scripting be enabled

    Hallo, I have added a gallery to my website. When i open this website i get the message "Sorry, this photo gallery requires that scripting be enabled on your web browser and that the Macromedia Flash Player be installed." I have looked for this mesaa

  • Song name in finder not recognized in iTunes

    I have some tracks from an audio CD that are named (In Finder) Chapter 1, Chapter 2, etc. When I import them to iTunes, though, the name of Chapter is replaced by the name of each chapter as it appeared on the audio CD. Any ideas whatis happening? It

  • Deleting and Adding Album Artwork

    I am able to add album artwork from saved files onto iTunes, but if I want to delete an image that iTunes gave the song, which is wrong, it won't let me. The image is still there after I hit delete and then OK. Also, I added an image that wasn't from