VLC+Qt production video player (with video)

surroundings

     VLC3.0.6, Vs2017, Qt5.9.8, (all x64)

effect

Insert picture description here


video.

break down

     Comrades who don’t understand the basic demo of vlc can read the vlc basics I wrote before

     The core thing here is the event manager

typedef void ( *libvlc_callback_t )( const struct libvlc_event_t *p_event, void *p_data );

LIBVLC_API int libvlc_event_attach
( 
	libvlc_event_manager_t *p_event_manager,		// 事件管理对象,大概有4~5类
	libvlc_event_type_t i_event_type,				// 事件类型
	libvlc_callback_t f_callback,					// 事件回调
	void *user_data 								// 基本为0或this
);

Source code

Source download

attention

Search " Qt_io_ " or " Qt Developer Center " on WeChat public account to learn more about Qt and C++ development knowledge.

Author-jxd

Guess you like

Origin blog.csdn.net/automoblie0/article/details/105107935