I am working on VLC and the project requires the installation of VLC from source code.
I am using Compute Module 4 from Rapberry with debian 11 and kernel 6.1
I have been using VLC with the same Firmware combination but under Compute module 3 and it is working well.
Now I switched to compute module 4 and it seams the configuration is not suitable for CM4 since it uses different video codec.
The result :
No video is displayed with the following log :
******************************************************************************
[0049afc0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[004831a8] main interface error: no suitable interface module
[0041eba0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0041eba0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[004831a8] skins2 interface error: cannot initialize OSFactory
[004831a8] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.19 Vetinari
Command Line Interface initialized. Type `help' for help.
> [aff05a90] main decoder error: buffer deadlock prevented
[aff3a338] gl vout display error: parent window not available
[aff3a338] gles2 vout display error: parent window not available
[aff3a338] xcb vout display error: window not available
***********************************************************************************************
Please find below the condiguration I am using.
I get the source code from v3.0.19: https://github.com/videolan/vlc/tree/3.0.x
install all dependencies
Code: Select all
./ bootstrap
Code: Select all
CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/v4l2 -I/opt/vc/include/interface/vchiq_arm
-I/opt/vc/include/IL -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/v4l2 -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib"
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info
--sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
--disable-debug --config-cache --disable-update-check --enable-fast-install --docdir=/usr/share/doc/vlc --with-binary-version=1:3.0.19-0+rpt7+deb11u1 --enable-a52 --enable-aa --enable-aribsub --enable-avahi --enable-bluray --enable-caca --enable-chromaprint --enable-chromecast --enable-dav1d --enable-dbus --enable-dca --enable-dvbpsi --enable-dvdnav --enable-faad --enable-flac --enable-fluidsynth --enable-freetype --enable-fribidi --enable-gles2 --enable-gnutls --enable-harfbuzz --enable-jack --enable-kate --enable-libass --enable-libmpeg2 --enable-libxml2 --enable-lirc --enable-live555 --enable-mad --enable-matroska --enable-mod --enable-mpc --enable-mpg123
--enable-mtp --enable-ncurses --enable-notify --enable-ogg --enable-opus --enable-pulse --enable-qt --enable-realrtsp --enable-samplerate --enable-sdl-image --enable-sftp --enable-shine --enable-shout --enable-skins2 --enable-soxr --enable-spatialaudio --enable-speex --enable-srt --enable-svg --enable-svgdec --enable-taglib --enable-theora --enable-twolame --enable-upnp --enable-vnc --enable-vorbis --enable-x264 --enable-x265
--enable-zvbi --with-kde-solid=/usr/share/solid/actions/ --disable-aom --disable-crystalhd --disable-d3d11va --disable-decklink --disable-directx --disable-dsm --disable-dxva2 --disable-fdkaac
--disable-fluidlite --disable-freerdp --disable-goom --disable-gst-decode --disable-libtar --disable-macosx --disable-macosx-avfoundation --disable-macosx-qtkit --disable-mfx --disable-microdns
--disable-opencv --disable-projectm --disable-schroedinger --disable-sparkle --disable-telx --disable-vpx --disable-vsxu --disable-wasapi --disable-mmal-avcodec --enable-alsa --enable-dc1394
--enable-dv1394 --enable-libplacebo --enable-linsys --enable-nfs --enable-udev --enable-v4l2 --enable-wayland --enable-vcd --enable-smbclient --disable-oss --disable-mmx
--disable-sse --disable-neon --disable-mmal --disable-vdpau --disable-libva --disable-altivec --disable-omxil --enable-run-as-root
Best regards,
ChayMa