mirror of
https://github.com/MartinEesmaa/VVCEasy.git
synced 2025-06-05 21:59:20 +02:00
added build instructions for vlc vtm builders
This commit is contained in:
@ -15,11 +15,11 @@ Step 3: Enjoy and play your h266 file into your VLC Media Player :).
|
|||||||
|
|
||||||
### For Linux users
|
### For Linux users
|
||||||
|
|
||||||
Open terminal, type `sudo su` to gain root access, copy code:
|
Open terminal and copy code:
|
||||||
```
|
```
|
||||||
cp libvvcdecoder_plugin.so /lib/x86_64-linux-gnu/vlc/plugins/codec
|
sudo cp libvvcdecoder_plugin.so /lib/x86_64-linux-gnu/vlc/plugins/codec
|
||||||
cp libvtmdec.so /lib/x86_64-linux-gnu/vlc/plugins/codec
|
sudo cp libvtmdec.so /lib/x86_64-linux-gnu/vlc/plugins/codec
|
||||||
cp libvctsdemux_plugin.so /lib/x86_64-linux-gnu/vlc/plugins/demux
|
sudo cp libvctsdemux_plugin.so /lib/x86_64-linux-gnu/vlc/plugins/demux
|
||||||
```
|
```
|
||||||
|
|
||||||
VLC from Snap Store:
|
VLC from Snap Store:
|
||||||
@ -32,6 +32,76 @@ Preview:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
# Build VLC InterDigital Plugin
|
||||||
|
|
||||||
|
Explanation of CMAKE names:
|
||||||
|
|
||||||
|
VLC_INCLUDE_DIR = Includes of VLC SDK Plugins
|
||||||
|
|
||||||
|
VLC_LIB_DIR = Libs of VLC SDK
|
||||||
|
|
||||||
|
VLC_PROGRAM_DIR = VLC Program directory
|
||||||
|
|
||||||
|
VTMDEC_LIB_NAME = Name title of libvtmdec
|
||||||
|
|
||||||
|
VTM_DIR = libvtmdec source files
|
||||||
|
|
||||||
|
VLC_SRC_DIR = VLC Source files of the desktop version
|
||||||
|
|
||||||
|
DVBPSI_DIR = DVBPSI source files
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
|
||||||
|
You need the CMAKE GUI, Visual Studio 2017 or newer, VLC SDK, [libvtmdec](https://vcgit.hhi.fraunhofer.de/delagrangep/VVCSoftware_VTM/-/tree/VTM-16.0-MT) precompiled shared dll in lib folder + sources, dvbpsi source and VLC source files of the desktop version. You need to modify vlc_threads.h, before compile.
|
||||||
|
|
||||||
|
vlc_threads.h can be found in VLC folder/sdk/include/vlc/plugins. Search `val = poll(fds, nfds, timeout);` and comment the only one file, that's it.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Build Decoder Plugin, see screenshot of CMAKE GUI:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Build TS Demux Plugin, see screenshot of CMAKE GUI:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Linux
|
||||||
|
|
||||||
|
You need CMAKE GUI, build-essentials, VLC SDK, [libvtmdec](https://vcgit.hhi.fraunhofer.de/delagrangep/VVCSoftware_VTM/-/tree/VTM-16.0-MT) sources, dvbpsi source and VLC source files of the desktop version. You need to modify vlc_threads.h, before compile.
|
||||||
|
|
||||||
|
vlc_threads.h can be found in VLC folder/sdk/include/vlc/plugins. Search `val = poll(fds, nfds, timeout);` and comment the only one file, that's it.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
libvtmdec build:
|
||||||
|
Compiled file could be found in lib folder in libvtmdec.
|
||||||
|
|
||||||
|
```
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake -DBUILD_SHARED_LIBS=1 ..
|
||||||
|
```
|
||||||
|
|
||||||
|
dvbpsi build requires of TS Demux Plugin:
|
||||||
|
|
||||||
|
```
|
||||||
|
./bootstrap
|
||||||
|
./configure --enable-release
|
||||||
|
make -j
|
||||||
|
sudo make install
|
||||||
|
```
|
||||||
|
|
||||||
|
Build Decoder Plugin, see screenshot of CMAKE GUI:
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Build TS Demux Plugin, see screenshot of CMAKE GUI:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Original documentation must be in the original repository: https://github.com/InterDigitalInc/VTMDecoder_VLCPlugin
|
||||||
|
|
||||||
### Alternative using command line of Windows
|
### Alternative using command line of Windows
|
||||||
|
|
||||||
Open Windows Terminal/Windows Command Prompt, make sure you do cd of C:/Users/(put your username)/Downloads/VVCEasy/VLC
|
Open Windows Terminal/Windows Command Prompt, make sure you do cd of C:/Users/(put your username)/Downloads/VVCEasy/VLC
|
||||||
|
Reference in New Issue
Block a user