MediaPlayer - Out of sync video & audio when playing from slow medium
Hi, my friends use MediaPlayer in their javafx application to play videos (mp4, 50fps) from DVD. They have noticed out of sync video/audio in such case. Problem doesn't exist when file is loaded from HDD. I know that it is because of slow medium like DVD (or poor quality DVD disc / bad recording) My question is what to do in such cases? My PoC was proxing static files by HttpServer (bundled in JRE) by path: " http://localhost/video.mp4";. It worked for me, media player plays video correctly with buffering, but this solution has disadventeges: - more CPU - problems with seeking video - complexity Any other suggestions?
Re: How to scale control properly?
Thanks for advice. I know this trick with wrapping in a Group, but as i wrote on stackoverflow, there is dropshadow effect after moving mouse over the control. This effect extends group's layoutBounds for a while. And when mouse leaves out the control, then group's layoutBounds shrink. I found the sources/css for this control: https://bitbucket.org/controlsfx/controlsfx/src/96f40eb0b579277139192e2398fbbaf7fd01f91e/controlsfx/src/main/resources/org/controlsfx/control/rating.css?at=default -- Rafal 2014-06-05 16:12 GMT+02:00 Martin Sladecek : > Hi Rafal, > you can wrap the control in a Group. That way, it's (actually Group's) > layoutBounds will be the same as it's transformed bounds (boundsInParent). > Alternatively you can use css styling, but I don't know much about how to > do it properly, maybe Jonathan can help you there. > > -Martin > > > On 06/05/2014 01:13 AM, Rafal Leibzig wrote: > >> Hi, >> >> Sorry for disturbing you, but I have a question and no one answered me on >> other forums. >> >> My question is rather simple: >> >> http://stackoverflow.com/questions/23997115/how-to- >> scale-control-and-layout-it-properly-in-javafx >> >> >> Thanks in advance. >> You are the experts. :) >> >> >> >
How to scale control properly?
Hi, Sorry for disturbing you, but I have a question and no one answered me on other forums. My question is rather simple: http://stackoverflow.com/questions/23997115/how-to-scale-control-and-layout-it-properly-in-javafx Thanks in advance. You are the experts. :) -- Rafal
Re: JAVAFX on ANDROID
On 11.10.2013 18:53, Richard Bair wrote: How much time do you think it would take community designers to develop this? RoboVM for iOS I think is basically at this stage, where they've got something up and running to the point of being able to do performance analysis and looking for bugs. It has been a several month process with stops and starts. Tom and the others working on RoboVM might be able to give a better estimate. I don't understand one thing. If you honestly encourage community to make a such big effort as developing, adjusting and maintaining JVMs on the two leading mobile platforms, you don't have any illusions that Oracle VM on android will be released in the next 2 years. :/ Otherwise, if such community's VM will come in blood, sweat and tears and be usable and Oracle announce own VM, then all this community's effort be for nothing and pointless. Sorry for my English. -- Best Regards Rafal