VCL source code learning, official version source code example, vcl source code
A classmate told me a few days ago that the third-party player used for video in their company is VCL, because I have always wanted to do this, and then I downloaded the compiled source code for learning from the evening;
The entire VLC player module can be divided into the following important modules:
- VLCLib decoding library
- GUI
- Audio part
- Video Section
- Interface Definition
- Controls and widgets
1,
2. The main code is in the vcl project:
:
3. There are also files in the vcl package:
In fact, it is not difficult to see from the above that the gui is the package of the ui interface. All the UI code for the entire player instance is displayed:
The package names of audio and video are clearly written, and the interface code for audio playback and video playback is displayed;
This program starts from MainActivity;
I started from this class. I added some comments to the Code, mainly looking at the decoding library. Nothing else. I shared the Code directly.
: Http://download.csdn.net/detail/u012808234/8604235
There is also a video Demo Vitamio can also look at: http://download.csdn.net/detail/u012808234/8553415