openjfx 13 MediaPlayer vodeo stutter
Farrukh Najmi
farrukh.najm at gmail.com
Mon Dec 16 21:51:17 UTC 2019
Sorry I just realized that this is the dev team mailing list and my post
may not be appropriate here. I have posted a question on this at
stackoverflow along with a minimal standalone test program:
https://stackoverflow.com/questions/59364435/javafx-video-stutter-after-playing-same-video-over-and-over-for-a-couple-of-hour
On Sun, Dec 15, 2019 at 6:13 PM Farrukh Najmi <farrukh.najm at gmail.com>
wrote:
> On Ubuntu linux 18.04 I have been successfully using openjfx 13 during
> development of a new app. My app plays the same video over and over
> using javafx.scene.media.MediaView and javafx.scene.media.MediaPlayer.
> At first the video plays flawlessly. After a few hours the video becomes
> choppy and starts displaying stutter. I have analyzed my app for memory
> leaks and thread leaks and do not believe it has any.
> I observe that "top -H" command shows the following with QuantumRenderer
> at top:
>
> Threads: 575 total, 6 running, 515 sleeping, 0 stopped, 1 zombie
> %Cpu(s): 64.3 us, 8.1 sy, 0.0 ni, 25.0 id, 0.0 wa, 0.0 hi, 2.6 si,
> 0.0 st
> KiB Mem : 26.7/7988780 [|||||||||||||||||||||||||||
> ]
> KiB Swap: 0.0/2097148 [
> ]
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>
> 1432 root 20 0 0.101t 702424 90656 R 93.5 8.8 1471:14
> QuantumRenderer
> 9901 root 20 0 0.101t 702424 90656 R 60.1 8.8 424:41.22
> queue7:src
> 2592 root 20 0 0.101t 702424 90656 S 59.8 8.8 505:55.76
> queue5:src
> 1133 ubuntu 20 0 912192 172908 87736 R 58.2 2.2 1133:23 Xorg
>
> 1335 root 20 0 334104 34200 9968 S 5.6 0.4 77:41.33 val
>
> 9900 root 20 0 0.101t 702424 90656 S 4.2 8.8 28:22.37
> qtdemux3:sink
> 2594 root 20 0 0.101t 702424 90656 S 2.9 8.8 30:41.56
> qtdemux2:sink
> 2590 root 20 0 0.101t 702424 90656 S 1.6 8.8 16:05.02
> queue4:src
> 9903 root 20 0 0.101t 702424 90656 S 1.6 8.8 11:08.72
> queue6:src
> 1976 ubuntu -6 0 1172376 12012 8796 S 1.6 0.2 26:16.32
> alsa-sink-ALC25
> 9546 ubuntu 20 0 51728 4560 3544 R 1.6 0.1 0:00.26 top
>
> 1620 root 20 0 0.101t 702424 90656 S 0.7 8.8 14:45.24 JavaFX
> Applicat
> 9887 root 20 0 0.101t 702424 90656 S 0.7 8.8 4:27.78
> Timer-47
> 9902 root 20 0 0.101t 702424 90656 S 0.7 8.8 2:46.59
> threaded-ml
> 9905 root 20 0 0.101t 702424 90656 S 0.7 8.8 4:37.95
> Timer-49
> 1454 ubuntu 20 0 3389116 131052 68972 S 0.7 1.6 3:11.03
> gnome-shell
> 1487 ubuntu 9 -11 1172376 12012 8796 S 0.7 0.2 10:28.21
> pulseaudio
> 912 root 20 0 0.101t 702424 90656 S 0.3 8.8 1:09.97 GC
> Thread#0
> 916 root 20 0 0.101t 702424 90656 S 0.3 8.8 0:30.33 G1
> Young RemSet
> 920 root 20 0 0.101t 702424 90656 S 0.3 8.8 0:43.78 VM
> Thread
> 1619 root 20 0 0.101t 702424 90656 S 0.3 8.8 4:41.19
> InvokeLaterDisp
> 2228 root 20 0 0.101t 702424 90656 S 0.3 8.8 1:06.68 GC
> Thread#3
> 9883 root 20 0 0.101t 702424 90656 S 0.3 8.8 1:25.20
> JFXMedia Player
>
> I am looking for suggestions on how to fix the video stutter issue. Is
> this a known issue. If so, please share link to issue.
> If it is a known issue, has it been fixed in openjfx 14-ea+4? I tried
> using that EA release but with that as dependency my video seems to stop
> and first frame and does not play at all.
> I am wondering if there are any migration steps that I may be missing.
>
> TIA for any suggestion on how to fix my video stutter issue with openjfx
> 13 or openjfx 14-ea+4.
>
> --
> Regards,
> Farrukh
>
--
Regards,
Farrukh
More information about the openjfx-dev
mailing list