A DESCRIPTION OF THE REQUEST :
Obtaining a single frame of video from a MediaPlayer as a VideoDataBuffer is currently available via MediaPlayer.impl_getLatestFrame() but this is deprecated in JDK8 and removed in JDK9.
JUSTIFICATION :
It would be very useful for realtime video processing in JavaFX to have a public API method for fetching a single decoded frame of video for processing.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Making the existing deprecated functionality part of a supported public API would suffice but ideally the decoded video frame would be made available as a WriteableImage / PixelReader.
CUSTOMER SUBMITTED WORKAROUND :
Once this functionality is removed the only way to obtain a frame of video will be via the JavaFX Scene screenshot mechanism which cannot keep up with full frame rate high resolution video.
Obtaining a single frame of video from a MediaPlayer as a VideoDataBuffer is currently available via MediaPlayer.impl_getLatestFrame() but this is deprecated in JDK8 and removed in JDK9.
JUSTIFICATION :
It would be very useful for realtime video processing in JavaFX to have a public API method for fetching a single decoded frame of video for processing.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Making the existing deprecated functionality part of a supported public API would suffice but ideally the decoded video frame would be made available as a WriteableImage / PixelReader.
CUSTOMER SUBMITTED WORKAROUND :
Once this functionality is removed the only way to obtain a frame of video will be via the JavaFX Scene screenshot mechanism which cannot keep up with full frame rate high resolution video.
- duplicates
-
JDK-8091567 Media stream access (e.g. Video Frames in terms of Buffered Images)
-
- Closed
-