Java to create a simple video player

Recently, there was a multimedia assignment that required visual c + + and OpenCV to write a simple video player, which was impossible for C / C + + disabled people, so the idea of writing in Java came into being. Share your specific experience.

Goal: make a simple video player

Development tool: Eclipse 4 5.1; VLC2. two point one

Specific content: complete the functions of video loading, playing and exiting; The control of video playback process is realized; Control pause during playback.

The final program effect diagram is as follows:

Development process reference learning resources:

Geek academy video tutorial

Java framework for the vlc media player

1. Download VLC (click to open the download VLC link), download the corresponding version of your computer system and install it; 2. Download vlcj (click to open the download vlcj link), unzip the downloaded file and download it in its directory

3. Download slf4j (click to open slf4j download). After downloading the file, unzip the slf4j-api-1.7.13.jar and slf4j - nop-1.7.13.jar (the suffix numbers of different versions may be different) in its directory and copy them to the corresponding java project directory (New lib folder);

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>