Recommended way to display first frame

This forum is about all development around libVLC.
Nico6687
New Cone
New Cone
Posts: 5
Joined: 19 Sep 2020 08:25

Recommended way to display first frame

Postby Nico6687 » 23 Sep 2020 15:25

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!

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Recommended way to display first frame

Postby mfkl » 23 Sep 2020 16:02

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
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests