CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
914
stars
269
forks
source link
Bug: Animation Stuttering with WebM Playback in HTML #1583
I'm experiencing an issue where text animations stutter or freeze while playing a WebM video in the background. This occurs specifically when using the HTML template with the following code:
General
Format : WebM
Format version : Version 2
File size : 238 KiB
Duration : 19 s 100 ms
Overall bit rate : 102 kb/s
Frame rate : 50.000 FPS
Writing application : Lavf59.16.100
Writing library : Lavf59.16.100
Video
ID : 1
Format : VP9
Format profile : 0
Codec ID : V_VP9
Duration : 19 s 100 ms
Bit rate : 91.0 kb/s
Width : 720 pixels
Height : 70 pixels
Display aspect ratio : 11.243
Frame rate mode : Constant
Frame rate : 50.000 FPS
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.036
Time code of first frame : 00:00:00:00
Time code source : Matroska tags
Stream size : 212 KiB (89%)
Writing library : Lavc59.18.100 libvpx-vp9
Language : English
Default : Yes
Forced : No
Color range : Limited
VENDOR_ID : appl
I've tried disabling GPU acceleration in casparcg which slightly improve performance, but the issue persists.
Additional Observation:
When running the HTML template in CasparCG and enabling Frame Rendering Stats (shows frame per second FPS meter) in Chrome's remote debugging tools, the text animation plays smoothly. However, disabling Frame Rendering Stats causes the animation to stutter again. This observation might provide a clue to the underlying issue.
Expected behaviour
The text animation should play smoothly without any stuttering or freezing.
The same HTML file plays smoothly in OBS v30.2.3 and Chrome browser. OBS is using Webgl verified by https://webglreport.com.
Steps to reproduce
Start CasparCG.
Load the HTML template containing the animation and WebM video.
Observed Behavior
I'm experiencing an issue where text animations stutter or freeze while playing a WebM video in the background. This occurs specifically when using the HTML template with the following code:
CasparCG Configuration:
WebM info:
I've tried disabling GPU acceleration in casparcg which slightly improve performance, but the issue persists.
Additional Observation:
When running the HTML template in CasparCG and enabling Frame Rendering Stats (shows frame per second FPS meter) in Chrome's remote debugging tools, the text animation plays smoothly. However, disabling Frame Rendering Stats causes the animation to stutter again. This observation might provide a clue to the underlying issue.
Expected behaviour
The text animation should play smoothly without any stuttering or freezing. The same HTML file plays smoothly in OBS v30.2.3 and Chrome browser. OBS is using Webgl verified by https://webglreport.com.
Steps to reproduce
Environment