Page 1 of 1

Recommended way to display first frame

Posted: 23 Sep 2020 15:25
by Nico6687
Hello,

What is the recommended way to display the first frame of a video after loading it?
I want the user to know that the video has been loaded by displaying the first frame instead of a black screen.
(I'm using libVLCSharp on WinForms and displaying the video in a VideoView).

Thank you for your help!

Re: Recommended way to display first frame

Posted: 23 Sep 2020 16:02
by mfkl

Code: Select all

--start-paused, --no-start-paused Start paused (default disabled)
from https://wiki.videolan.org/VLC_command-line_help/ but I'm not sure that works with any stream. You could try some things with mediaplayer.NextFrame() as well