JDK-8134843 : Choppy video on Windows
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 7u79,8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-09-01
  • Updated: 2016-11-21
  • Resolved: 2016-11-21
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
8u60, 7u79

ADDITIONAL OS VERSION INFORMATION :
Win 7 64

A DESCRIPTION OF THE PROBLEM :
On windows there is video frames jitter or skip. 

It is very prominent (just unusuable) on lower end systems with integrated graphics. 

On strong PC it is very lightly noticeable, but still noticeable when compared to Windows Media Player or other standalone player.  

The following test move produces smooth bar movement in Windows Media Player, MPC-HC, etc. 
http://test.novisign.com/downloads/testdata/vbar30fps.mp4

On JavaFX both 7 and 8 there are apparent irregular jumps. On Celeron / Intel HD 4000 it is completely jerky (video is smooth  on any standalone player on this machine).

Not clear whether it comes from pulse timing or from rendering. 

Collecting stats in NGMediaView.renderContent shows it plays ~30FPS as expected but comes at irregular intervals like
Fast PC:
48, 31, 32, 32, 31, 31, 32, 31, 32, 31, 32, 32, 47, 31, 31, 31, 32, 31, 31, 31, 32, 31, 38, 25, 48, 32, 31, 32, 31, 32, 31, 32, 31, 32, 31, 48
Slow PC:
41, 23, 33, 60, 16, 31, 23, 35, 32, 34, 40, 24, 40, 27, 42, 21, 33, 47, 27, 25, 41, 25, 43, 22, 52, 14, 42, 26, 37, 26, 45, 22, 48



REPRODUCIBILITY :
This bug can be reproduced always.


Comments
Based on additional feedback from the bug reporter I am closing this as a duplicate of the now-reopened bug JDK-8136536. We will use that JBS issue to track this bug, which is in the graphics component (not media and not animation).
21-11-2016

Raising to P3 to better reflect its priority.
20-07-2016

Additional information and possible solution can be found at JDK-8136536.
15-09-2015