Closed insinfo closed 2 years ago
It's not hardware accelerated & there's nothing I can do. Same issue reported at #184.
About "Video takes a long time to start playing", then its the issue of your network possibly not the plugin.
@alexmercerind
About "Video takes a long time to start playing", then its the issue of your network possibly not the plugin.
In google chrome directly accessing the URL the playback starts in less than 2 seconds
In google chrome directly accessing the URL the playback starts in less than 2 seconds
If the opening time is faster in VLC app compared to this plugin, then I can certainly say its a fault in plugin otherwise I can do nothing.
Note that release/debug mode can also affect how things perform.
I installed vlc on my computer and it seems to be a problem with vlc itself, as it takes an average of 12 seconds for vlc to start playing the video so I opened an issue in the vlc repository. https://code.videolan.org/videolan/vlc/-/issues/26539
I did a test with the plugin "video_player_windows" and it manages to start playing the video in less than 2 seconds in flutter debug mode, the only problem I saw in video_player_windows is that it keeps the video blinking. https://github.com/anirudhb/flutter_packages/issues/3
@insinfo How did you solve the following error?
@sadikul1500 even with these errors in the log the video plays well after 10 seconds, I believe these errors must come from the vlc shared library and not the plugin I think.
try reporting the problem at this link https://code.videolan.org/videolan/vlc/-/issues/26539
I put dart vlc in my flutter app and I see that Video takes a long time to start playing and is using a lot of CPU. takes about 10 seconds to start playback. It's using around 22% CPU.