iced_video_player
iced_video_player copied to clipboard
How to improve some performace
Dear author, this repo is the only lead for me to study about video player in Iced with gstreamer. Thanks a lot for sharing!
It works but the video can be laggy if the video has a higher resolution like 1920 x 1080. So I wonder whether the problem is in appsink callback because of writing video data to the frame property, or it's iced having trouble to refresh it's Image from frame data.
As any of those tools seems to lack debugging facilities (can't find a way to debug gstreamer in rust). So I ask is there any idea to improve the performace of video playing based on your code.
I've updated gstreamer to 0.21 and iced to 0.10 in dependencies.