Home  >  Article  >  类库下载  >  Make a Java video player

Make a Java video player

高洛峰
高洛峰Original
2016-10-14 14:00:422348browse

1. Project preparation

First you need to download and install the VLC player, and then download the vlcj external library.

Make a Java video player

Download the slf4j-api-1.7.13.jar and slf4j- nop-1.7.13.jar in slf4j

Make a Java video player

The two files libvlc.dll and libvlccore.dll in the vlc installation directory and Copy the plugins to the corresponding java project directory

Make a Java video player

The following is the screenshot of the just configuration

Make a Java video player

2. The key test code is as follows (the code is stored in Baidu Cloud)

Make a Java video player

3. The running effect is as follows

Make a Java video player

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn