Another possibly related bug is
https://bugs.openjdk.org/browse/JDK-8329227 which is fixed in JavaFX 25
ea build 14. You might try running with the latest JavaFX 25 build and
see if that helps.
If not, then it does seem likely that you are hitting
https://bugs.openjdk.org/browse/JDK-8305842 which is being evaluated.
-- Kevin
On 6/2/2025 5:33 PM, Bryon Dunkley-Smith wrote:
Hi All,
First time poster and so I trust this is an appropriate question to
ask here.
I have a legacy JavaFX based application which in part displays a
sequence of short (.MP4) videos which has functioned flawlessly for
several years as demonstrated here
https://www.youtube.com/watch?v=CMv6z_SIUXU. But since upgrading the
laptop on which it runs from Win10 to Win11 some months ago, there has
been intermittent/random failures of videos playing with a
ERROR_MEDIA_INVALID being thrown. I have tried many code changes to
fix this unsuccessfully however a common “fix” across several machines
is always just running it on a Win10 machine.
I note there is an unresolved bug report Video sometimes does not
start when reinitializing in Windows 11
https://bugs.openjdk.org/browse/JDK-8305842 which appears relevant.
So I am wondering if others have encountered this problem and whether
there is a plan to resolve this bug in an upcoming JavaFX release.
Thanks,
Bryon