InterDigitalInc / VTMDecoder_VLCPlugin

VVC decoder plugin for VLC based on a multithreaded VTM
GNU Lesser General Public License v2.1
21 stars 1 forks source link

Failed to build TsDemuxPluginVLC, reason dvbpsi.h does not exist #5

Closed MartinEesmaa closed 2 years ago

MartinEesmaa commented 2 years ago

Hello! I followed the instructions how to build TsDemuxPluginVLC, I added entries including dvbpsi, configured and generated. I build using code make -j and then I got an error code:

[ 78%] Built target dvbpsi
[ 79%] Building C object CMakeFiles/vctsdemux_plugin.dir/ts.c.o
In file included from /home/unknown/GitHub/VTMDecoder_VLCPlugin/TsDemuxPluginVLC/ts.c:44:
/home/unknown/GitHub/vlc-3.0.9.2/src/modules/demux/mpeg/ts_psip.h:25:11: fatal error: dvbpsi/dvbpsi.h: No such file or directory
   25 |  #include <dvbpsi/dvbpsi.h>
      |           ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/vctsdemux_plugin.dir/build.make:63: CMakeFiles/vctsdemux_plugin.dir/ts.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/vctsdemux_plugin.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

And here's my second try, but it failed too:

[ 78%] Built target dvbpsi
Scanning dependencies of target vctsdemux_plugin
[ 79%] Building C object CMakeFiles/vctsdemux_plugin.dir/ts.c.o
In file included from /home/unknown/GitHub/VTMDecoder_VLCPlugin/TsDemuxPluginVLC/ts.c:44:
/home/unknown/GitHub/vlc-3.0.9.2/src/modules/demux/mpeg/ts_psip.h:25:11: fatal error: dvbpsi/dvbpsi.h: No such file or directory
   25 |  #include <dvbpsi/dvbpsi.h>
      |           ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/vctsdemux_plugin.dir/build.make:63: CMakeFiles/vctsdemux_plugin.dir/ts.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/vctsdemux_plugin.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

I don't understand what I do patch ES format? I don't understand what is ES format?

My operating system (virtualization) on Ubuntu 20.04.4 LTS VLC target build: VLC 3.0.9.2

FabriceUrban commented 2 years ago

Hi, I Assume this comes late, but:

MartinEesmaa commented 2 years ago

@FabriceUrban, here's my new issue of two days ago: https://pastebin.com/E4tNsJ43

MartinEesmaa commented 2 years ago

I should give try for Linux, if possible.

FabriceUrban commented 2 years ago

last commit fixes a few things for linux compilation (not tested before) ...

MartinEesmaa commented 2 years ago

@FabriceUrban, thanks, now it's success compiled, see result of Linux screenshot: https://github.com/MartinEesmaa/VVCEasy/tree/master/INSTALLVLCPLUGIN#for-linux-users