Request for Video Player Maintenance and Improvements
LemonKaju
The Video Player has accumulated quite a few small bugs and inconveniences over time. If technically possible, I would greatly appreciate it if these issues could be addressed.
---
Black Flickering Issue with AVPro Player
This problem started occurring shortly after the switch to Unity2022.
The latest versions of iwaSync and YamaPlayer include their own workarounds, but older versions of iwaSync/YamaPlayer (when using AVPro) as well as players without custom fixes such as TopazChat Player still suffer from black flickering.
---
Video Stuttering During RTSP Playback in Specific Conditions
Especially in crowded instances on lower-spec PCs, When streaming RTSP at 60fps while VRChat is running at around 20fps, the video becomes noticeably choppy.
Although switching the RTSP stream to 30fps currently avoids the issue, many users set OBS to 60fps because the TopazChat Player distribution page states that 60fps minimizes audio delay.
---
Request to Move Video Player Processing to a Separate Thread
Especially in crowded instances on lower-spec PCs, video playback often freezes for a moment due to various other processes. With RTSP streams, these interruptions cause playback delay to accumulate.
The main causes include:
- Loading process when someone joins or when an avatar is changed
- Photo capture processing
- Display/hide toggling when culling is enabled
- Loading of stage effects on world
VRChat's current CPU processing relies heavily on specific thread performance. On modern CPUs, specific thread often maxes out at 100% usage while the remaining threads (including E-cores and CCD1) stay underutilized.
Separating the Video Player's processing into its own unrelated thread could potentially resolve these stuttering and lag issues. It may also allow better utilization of currently idle CPU cores.
Log In
KutayX7
I just made a separate feature request for the (non-)blocking video player issue.
Kizzy
Video Players are starting to behave as broken as they were back in 2018-2020.
We are regressing.
WubTheCaptain
Kizzy Do you have a video of this happening?
LemonKaju
WubTheCaptain When commenting, please make constructive remarks based on actual experiences and verification.
If don't use "--disable-hw-video-decoding", will encounter this black flickering issue. https://youtu.be/7ud216V1OyQ
I routinely use "--disable-hw-video-decoding" to mitigate this issue, but not using GPU video acceleration is not a wise choice. In particular, when playing X(Twitter) video posts, 4K resolution is sometimes supported, so GPU video playback acceleration is important. https://pbs.twimg.com/media/HDH-JDrbgAAk5Xt?format=jpg&name=4096x4096
This is a recording from when I tested "Video Stuttering During RTSP Playback in Specific Conditions". https://youtu.be/bRSmERoXHpk
It might not be ideal that I posted everything to one Canny, but the fact that the Video Player is broken in crowded instances is definitely in line with the "Request for Video Player Maintenance and Improvements"
WubTheCaptain
Please, one bug report/feature request per thread LemonKaju - this isn't manageable with multiple issues/feature requests.
AVPro 3.0.0 beta should've fixed the black flickering issue. https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1700#issuecomment-2017882245 - Tracked on Canny: https://feedback.vrchat.com/bug-reports/p/open-beta-protv-flickers
LemonKaju
To avoid duplicate reports, I will remove the description regarding the AVPro black screen flickering issue, but the Canny URL you provided has comments that suggest the issue hasn't been fixed.
LemonKaju
I tried to edit it, but the Edit button was missing, so I couldn't edit it.
Kizzy
WubTheCaptain You linked a github post from 2 years ago to try and prove that the issue has already been fixed, and a canny post from 3 years ago that has had no update.
People continue to still experience these issues.
You are a clown. Please stop trying to play wanna-be janitor on every canny post.