cvlc cannot play rtsp (omxplayer instead can) - vlc

Got this Dahua vto stream link: that works with omxplayer, but vlc won't play it:
rtsp://user:pass#ipadd:554/cam/realmonitor/channel=1&subtype=1
This is the output of vlc:
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b9be2245b0] main libvlc debug: VLC media player - 3.0.16 Vetinari
[000055b9be2245b0] main libvlc debug: Copyright © 1996-2021 the VideoLAN team
[000055b9be2245b0] main libvlc debug: revision 3.0.13-8-g41878ff4f2
[000055b9be2245b0] main libvlc debug: configured with ./configure '--build=x86_64-linux-gnu' '--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/x86_64-linux-gnu' '--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=3.0.16-1' '--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-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-sndio' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--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-live555' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security'
[000055b9be2e1700] main audio output debug: looking for audio output module matching "any": 6 candidates
[000055b9be2e1700] vlcpulse audio output debug: using library version 14.2.0
[000055b9be2e1700] vlcpulse audio output debug: (compiled with version 14.2.0, protocol 34)
[000055b9be2e1700] vlcpulse audio output debug: connected locally to /run/user/1000/pulse/native as client #10650
[000055b9be2e1700] vlcpulse audio output debug: using protocol 34, server protocol 34
[000055b9be2e1700] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1f.3.analog-stereo (Built-in Audio Analog Stereo)
[000055b9be2e1700] pulse audio output debug: adding sink 2: ec_ref (Built-in Audio Analog Stereo (echo cancelled with Built-in Audio Analog Stereo))
[000055b9be2e1700] pulse audio output debug: adding sink 16: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3 (GM107 High Definition Audio Controller [GeForce 940MX] Digital Stereo (HDMI 4))
[000055b9be2e1700] main audio output debug: using audio output module "pulse"
[000055b9be2caff0] main playlist debug: keeping audio output
[000055b9be310c40] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[000055b9be310c40] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[000055b9be310c40] main interface debug: using interface module "dbus"
[000055b9be3154c0] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[000055b9be3154c0] main interface debug: using interface module "hotkeys"
[000055b9be315e90] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[000055b9be310c40] dbus interface debug: Getting All properties
[000055b9be310c40] dbus interface debug: Getting All properties
[000055b9be315e90] main interface debug: using interface module "xcb_hotkeys"
[000055b9be3177f0] main interface debug: looking for interface module matching "dummy": 19 candidates
[000055b9be3177f0] dummy interface: using the dummy interface module...
[000055b9be3177f0] main interface debug: using interface module "dummy"
[000055b9be2caff0] main playlist debug: processing request item: null, node: Scaletta, skip: 0
[000055b9be2caff0] main playlist debug: rebuilding array of current - root Scaletta
[000055b9be2caff0] main playlist debug: rebuild done - 1 items, index -1
[000055b9be2caff0] main playlist debug: starting playback of new item
[000055b9be2caff0] main playlist debug: resyncing on rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1
[000055b9be2caff0] main playlist debug: rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1 is at 0
[000055b9be2caff0] main playlist debug: creating new input thread
[00007ff0bc000c80] main input debug: Creating an input for 'rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1'
[000055b9be2caff0] main playlist debug: requesting art for new input thread
[00007ff0bc000c80] main input debug: using timeshift granularity of 50 MiB
[00007ff0bc000c80] main input debug: using default timeshift path
[00007ff0bc000c80] main input debug: `rtsp://user:pass#address:554/cam/realmonitor/channel=1&subtype=1' gives access `rtsp' demux `any' path `user:pass#address:554/cam/realmonitor/channel=1&subtype=1'
[00007ff0b0000fa0] main input source debug: creating demux: access='rtsp' demux='any' location='user:pass#address:554/cam/realmonitor/channel=1&subtype=1' file='(null)'
[00007ff0b0001160] main demux debug: looking for access_demux module matching "rtsp": 16 candidates
[00007ff0a8000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[000055b9be2caff0] main playlist debug: processing request item: null, node: Scaletta, skip: 0
[000055b9be2caff0] main playlist debug: rebuilding array of current - root Scaletta
[000055b9be2caff0] main playlist debug: rebuild done - 1 items, index -1
[000055b9be2caff0] main playlist debug: starting playback of new item
[000055b9be2caff0] main playlist debug: resyncing on rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1
[000055b9be2caff0] main playlist debug: rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1 is at 0
[000055b9be2caff0] main playlist debug: creating new input thread
[00007ff0bc000c80] main input debug: Creating an input for 'rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1'
[000055b9be2caff0] main playlist debug: requesting art for new input thread
[00007ff0bc000c80] main input debug: using timeshift granularity of 50 MiB
[00007ff0bc000c80] main input debug: using default timeshift path
[00007ff0bc000c80] main input debug: `rtsp://user:pass#address:554/cam/realmonitor/channel=1&subtype=1' gives access `rtsp' demux `any' path `user:pass#address:554/cam/realmonitor/channel=1&subtype=1'
[00007ff0b0000fa0] main input source debug: creating demux: access='rtsp' demux='any' location='user:pass#address:554/cam/realmonitor/channel=1&subtype=1' file='(null)'
[00007ff0b0001160] main demux debug: looking for access_demux module matching "rtsp": 16 candidates
[00007ff0a8000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007ff0a8000c20] lua meta fetcher debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/fetcher
[00007ff0a8000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007ff0a8000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007ff0b0001160] main demux debug: no access_demux modules matched
[00007ff0a8000c20] main meta fetcher debug: no meta fetcher modules matched
[00007ff0b0001630] main stream debug: creating access: rtsp://user:pass#address:554/cam/realmonitor/channel=1&subtype=1
[00007ff0a8000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007ff0b0001630] main stream debug: looking for access module matching "rtsp": 29 candidates
[00007ff0a8000c20] lua art finder debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/art
[00007ff0a8000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ff0b0001630] satip stream debug: try to open 'rtsp://user:pass#address:554/cam/realmonitor/channel=1&subtype=1'
[00007ff0b0001630] satip stream debug: connect to host '10.168.5.138'
[00007ff0b0001630] main stream debug: net: connecting to 10.168.5.138 port 554
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007ff0a8000c20] main art finder debug: no art finder modules matched
[00007ff0b0001630] main stream debug: connection succeeded (socket = 11)
[00007ff0ac000e80] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007ff0b0001630] main stream debug: net: opening 0.0.0.0 datagram port 9164
[00007ff0ac000e80] lua meta fetcher debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/fetcher
[00007ff0b0001630] main stream debug: net: opening 0.0.0.0 datagram port 9165
[00007ff0ac000e80] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007ff0ac000e80] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007ff0ac000e80] main meta fetcher debug: no meta fetcher modules matched
[00007ff0ac000e80] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007ff0ac000e80] lua art finder debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/art
[00007ff0ac000e80] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007ff0ac000e80] main art finder debug: no art finder modules matched
[00007ff0b0001630] satip stream error: Failed to setup RTSP session
[00007ff0b0001630] main stream debug: net: connecting to 10.168.5.138 port 554
[00007ff0b0001630] main stream debug: connection succeeded (socket = 11)
[00007ff0b0001630] access_realrtsp stream warning: Cseq mismatch, got 1, assumed 0
[00007ff0b0001630] access_realrtsp stream debug: rtsp connected
[00007ff0b0001630] access_realrtsp stream warning: only real/helix rtsp servers supported for now
[00007ff0b0001630] main stream debug: no access modules matched
[00007ff0bc000c80] main input error: L'ingresso non può essere aperto
[00007ff0bc000c80] main input error: VLC non è in grado di aprire il MRL 'rtsp://user:pass#address:554/cam/realmonitor/channel=1&subtype=1'. Controlla il registro per i dettagli.
[000055b9be2caff0] main playlist debug: dead input
[000055b9be2caff0] main playlist debug: changing item without a request (current 0/1)
[000055b9be2caff0] main playlist debug: nothing to play
Main problem is omxplayer is deprecated but it play it fine, after 10 seconds of loading.
Can someone let me understand why vlc doesn't at all?

I have same problem, rtsp not more supported with vlc. I found two solutions.
1 - Use snap version
sudo snap install vlc => rtsp is working.
/snap/bin/vlc rtsp://...
2 - Rebuild vlc. I used this tuto for helping me : https://wiki.videolan.org/UnixCompile/
I have some issue with ./configure so I installed some packages not mandatory ..but I don't know which one .. so I list all packages installed during my test.
sudo apt-get build-dep vlc vlc-plugin-qt phonon4qt5-backend-vlc
sudo apt-get install libqscintilla2-qt5-dev libqt5charts5-dev qtdeclarative5-dev libqt5gstreamer-dev libqt5opengl5-dev phonon4qt5-backend-vlc libqt53dcore5 qtquickcontrols2-5-dev
git clone git://git.videolan.org/vlc.git
cd vlc
./bootstrap
cd contrib
mkdir native
cd native
../bootstrap
make (stop with error : protoc system version 3.12.4 and required version 3.1.0 do not match)
cd ../../
./configure --prefix=/usr/local --enable-merge-ffmpeg --enable-live555
make
And now I have a vlc with rtsp support.

So what happened is that the library in Debian providing support for live555 was removed in February of this year, this affects all downstream distros including but not limited to RPi OS and Ubuntu:
https://askubuntu.com/a/1363113
The 2 active versions were 2020.01.19-1 and 2018.11.26-1.1, Live555 has since added GPL license headers to the offending files, however the RFC issue remains.
Now you may be tempted to just download the latest Live555 source code and compile it... it does not work. There have been changes to function names and structures referenced by VLC, and as such VLC will not compile against the source. You need to get an older version, I specifically used this one, which is a tweaked snapshot from 2020 prior to the modifications that prevent VLC compilation:
https://github.com/rgaufman/live555
The configuration you want is ./genMakefiles linux-with-shared-libraries, I do not know if it is required but since my system is x86-64-bit I added -m64 to the compiler options first
After compilation and install, I went on to compile VLC, adding '--enable-live555' and '--with-live555-tree=extras/live555-master' after placing the root Live555 folder in the VLC extras folder, however VLC failed to compile, it turns out the Live555's make install does not copy all the header files needed to where VLC is looking. They were dropped as 4 subfolders into /usr/local/include/, and the actual libs into /usr/local/lib/. Adding the correct CXX/CPP flags will make it look where they were put, however I put them all in a single folder and used 1 flag.
I also had to '--disable-mod' to work around a dependency version issue that I had no interest in fixing, since I do not use modplug or any mod files.
50 minutes later... VLC successfully compiled! However it was expecting the libraries for Live555 to be in /usr/lib/ not /usr/local/lib/, since it took so long to compile I was just fine with linking or copying the libraries into the expected folder, and after that VLC works with RTSP when linked to the new file. Or you can choose to maintain the original VLC and run the new file directly if you need to load the camera feeds.

Related

How to add a new nodelet to a ROS nodelet manager located in a different package

I'm new to ROS (and CMake, especially) and I've been searching for answers to this question for awhile.
First, I'm using ROS1 Noetic on Ubuntu 20.04 LTS
I am using a LiDAR sensor on my project, and I am using a ROS driver package provided by the manufacturer. Their package is written using nodelets: one nodelet acts as the driver/publisher and a second nodelet acts as a subscriber that assembles ROS bags. I've written a nodelet source file of my own that does some processing on the data published by the LiDAR driver, and I'd like to patch this nodelet into the driver's nodelet manager. I'd like to put this nodelet (and the others I'll be writing) in their own package, while keeping the manufacturer-provided code in its own, separate package.
I made my package and linked the manufacturer's package as a dependency, wrote my nodelet source file in the same namespace as the manufacturer's nodelets (#include'ing the library from the manufacturer's ROS package), made my nodelets.xml file, edited my package.xml to export the nodelets.xml file, tried to write an appropriate CMakeLists.txt file, and then created a .launch file to launch the manufacturer's manager/nodelets followed by my own nodelet.
When I run catkin_make, everything builds without throwing any errors, but when I try to run everything I get the following messages in the terminal:
process[rosout-1]: started with pid [14738]
started core service [/rosout]
process[cepton_manager-2]: started with pid [14745]
process[cepton_driver-3]: started with pid [14747]
process[cepton_subscriber-4]: started with pid [14748]
process[cepton_pruner-5]: started with pid [14750]
[ INFO] [1648137638.259213475]: Loading nodelet /cepton_driver of type cepton_ros/DriverNodelet to manager cepton_manager with the following remappings:
[ INFO] [1648137638.262238546]: waitForService: Service [/cepton_manager/load_nodelet] has not been advertised, waiting...
process[cepton_rviz-6]: started with pid [14755]
[ INFO] [1648137638.289473532]: Loading nodelet /cepton_subscriber of type cepton_ros/SubscriberNodelet to manager cepton_manager with the following remappings:
[ INFO] [1648137638.293830600]: Initializing nodelet with 4 worker threads.
[ INFO] [1648137638.295997429]: waitForService: Service [/cepton_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1648137638.297265577]: Loading nodelet /cepton_pruner of type vt_cepton/PrunerNodelet to manager cepton_manager with the following remappings:
[ INFO] [1648137638.304628562]: waitForService: Service [/cepton_manager/load_nodelet] is now available.
[ INFO] [1648137638.318009289]: waitForService: Service [/cepton_manager/load_nodelet] is now available.
[ERROR] [1648137638.323951769]: Failed to load nodelet [/cepton_pruner] of type [vt_cepton/PrunerNodelet] even after refreshing the cache: Failed to load library /home/autodrive/catkin_ws/devel/lib//libvt_cepton.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/autodrive/catkin_ws/devel/lib//libvt_cepton.so: undefined symbol: _ZN3pcl7PCLBaseIN10cepton_sdk4util11SensorPointEE13setInputCloudERKN5boost10shared_ptrIKNS_10PointCloudIS3_EEEE)
[ERROR] [1648137638.324030872]: The error before refreshing the cache was: Failed to load library /home/autodrive/catkin_ws/devel/lib//libvt_cepton.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/autodrive/catkin_ws/devel/lib//libvt_cepton.so: undefined symbol: _ZN3pcl7PCLBaseIN10cepton_sdk4util11SensorPointEE13setInputCloudERKN5boost10shared_ptrIKNS_10PointCloudIS3_EEEE)
[FATAL] [1648137638.324638370]: Failed to load nodelet '/cepton_prunerof typevt_cepton/PrunerNodeletto managercepton_manager'
[ INFO] [1648137638.333213726]: [/cepton_driver] cepton_sdk 1.18.2
[cepton_pruner-5] process has died [pid 14750, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet load vt_cepton/PrunerNodelet cepton_manager __name:=cepton_pruner
As you can see, the manufacturer's manager and driver load as expected, but I have trouble attaching my nodelet to the manufacturer's manager.

bazel build error : platformclasspath.jar failed (Exit 1): java failed: error executing command

I want to install mediapipe on my Mac&Android by following the two tutorials below.
https://google.github.io/mediapipe/getting_started/install.html
https://google.github.io/mediapipe/getting_started/android.html
So I tried the bazel build command, but I get an error.
I tried the following command.
$ bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu
The error message is as follows.
ERROR: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/bazel_tools/tools/jdk/BUILD:350:14: Action external/bazel_tools/tools/jdk/platformclasspath.jar failed (Exit 1): java failed: error executing command external/remotejdk11_macos/bin/java -XX:+IgnoreUnrecognizedVMOptions '--add-exports=jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED' -cp ... (remaining 4 argument(s) skipped)
The detailed build contents are as follows.
(base) Mac-mini:mediapipe mac$ export ANDROID_HOME=/Users/mac/Library/Android/sdk
(base) Mac-mini:mediapipe mac$ export ANDROID_NDK_HOME=/Users/mac/Library/Android/sdk/ndk/21.4.7075529
(base) Mac-mini:mediapipe mac$ bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Build options --compilation_mode, --cpu, --crosstool_top, and 3 more have changed, discarding analysis cache.
WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29
DEBUG: Rule 'android_opencv' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cdb0e190c3734edd4052a3535d9e4310af912a9f70a421b1621711942a1028d5"
DEBUG: Repository android_opencv instantiated at:
/Users/mac/mediapipe/WORKSPACE:218:13: in <toplevel>
Repository rule http_archive defined at:
/private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu (0 packages loaded, 18053 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_mac/686390cc5137afebad5267456e3662e5/external/bazel_tools/tools/jdk/BUILD:350:14: Action external/bazel_tools/tools/jdk/platformclasspath.jar failed (Exit 1): java failed: error executing command external/remotejdk11_macos/bin/java -XX:+IgnoreUnrecognizedVMOptions '--add-exports=jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED' -cp ... (remaining 4 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox java failed: error executing command external/remotejdk11_macos/bin/java -XX:+IgnoreUnrecognizedVMOptions '--add-exports=jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED' -cp ... (remaining 4 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
Exception in thread "main" java.lang.IllegalArgumentException: external/local_jdk
at jdk.compiler/com.sun.tools.javac.file.Locations$SystemModulesLocationHandler.update(Locations.java:1853)
at jdk.compiler/com.sun.tools.javac.file.Locations$SystemModulesLocationHandler.handleOption(Locations.java:1798)
at jdk.compiler/com.sun.tools.javac.file.Locations.handleOption(Locations.java:2062)
at jdk.compiler/com.sun.tools.javac.file.BaseFileManager.handleOption(BaseFileManager.java:269)
at jdk.compiler/com.sun.tools.javac.file.BaseFileManager$2.handleFileManagerOption(BaseFileManager.java:222)
at jdk.compiler/com.sun.tools.javac.main.Option.process(Option.java:1138)
at jdk.compiler/com.sun.tools.javac.main.Option.handleOption(Option.java:1086)
at jdk.compiler/com.sun.tools.javac.file.BaseFileManager.handleOption(BaseFileManager.java:232)
at jdk.compiler/com.sun.tools.javac.main.Arguments.doProcessArgs(Arguments.java:390)
at jdk.compiler/com.sun.tools.javac.main.Arguments.processArgs(Arguments.java:347)
at jdk.compiler/com.sun.tools.javac.main.Arguments.init(Arguments.java:246)
at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:185)
at DumpPlatformClassPath.dumpJDK9AndNewerBootClassPath(DumpPlatformClassPath.java:106)
at DumpPlatformClassPath.main(DumpPlatformClassPath.java:67)
Target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.900s, Critical Path: 0.73s
INFO: 129 processes: 129 internal.
FAILED: Build did NOT complete successfully
I've tried everything, but the bazel build doesn't work and I can't install mediapipe. What should I do?
Any help is welcome.

Stream melt framework video with VLC - no sout stream modules matched 🙏

I followed the two example commands based on How can I stream as transport stream over HTTP? only changing the url, I am attempting it do this inside fresh debian docker container with only apt vlc and melt framework, so it shouldnt be a network issue.
I will be forever in your debt if you can help!
Using this first to start the stream, where there is melt formatted xml, the project renders with this normally.
melt -profile square_pal project.xml -consumer avformat:udp://224.224.224.224:1234?pkt_size=1316\&reuse=1 real_time=1 terminate_on_pause=0 f=mpegts vcodec=mpeg4 b=1000k s=320x240 acodec=mp2 ab=128k
Then using the following in a a seperate terminal:
cvlc -I dummy -vvv udp://#224.224.224.224:1234 --sout \#std{access=http,mux=ts,dst=0.0.0.0:8081}
Warning full output 😂
vlc#f56c133a87c5:/usr$ cvlc -I dummy -vv udp://#0.0.0.0:1234 --sout \#std{access=http,mux=ts,dst=0.0.0.0:8081}
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000056517c3bf460] main libvlc debug: VLC media player - 3.0.16 Vetinari
[000056517c3bf460] main libvlc debug: Copyright © 1996-2021 the VideoLAN team
[000056517c3bf460] main libvlc debug: revision 3.0.13-8-g41878ff4f2
[000056517c3bf460] main libvlc debug: configured with ./configure '--build=x86_64-linux-gnu' '--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/x86_64-linux-gnu' '--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=3.0.16-1' '--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-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-sndio' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--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-live555' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security'
[000056517c3bf460] main libvlc debug: searching plug-in modules
[000056517c3bf460] main libvlc debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
[000056517c3bf460] main libvlc debug: recursively browsing `/usr/lib/x86_64-linux-gnu/vlc/plugins'
[000056517c3bf460] main libvlc debug: plug-ins loaded: 508 modules
[000056517c3bf460] main libvlc debug: opening config file (/home/vlc/.config/vlc/vlcrc)
[000056517c3bf7b0] main logger debug: looking for logger module matching "any": 4 candidates
[000056517c3bf7b0] main logger debug: using logger module "console"
[000056517c3bf460] main libvlc debug: translation test: code is "C"
[000056517c457300] main keystore debug: looking for keystore module matching "memory": 4 candidates
[000056517c457300] main keystore debug: using keystore module "memory"
[000056517c3bf460] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 FPU
[000056517c45b910] main input debug: Creating an input for 'Media Library'
[000056517c45b910] main input debug: Input is a meta file: disabling unneeded options
[000056517c45b910] main input debug: using timeshift granularity of 50 MiB
[000056517c45b910] main input debug: using default timeshift path
[000056517c45b910] main input debug: `file/directory:///home/vlc/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/vlc/.local/share/vlc/ml.xspf'
[000056517c456b60] main input source debug: creating demux: access='file' demux='directory' location='/home/vlc/.local/share/vlc/ml.xspf' file='/home/vlc/.local/share/vlc/ml.xspf'
[000056517c455620] main demux debug: looking for access_demux module matching "file": 16 candidates
[000056517c455620] main demux debug: no access_demux modules matched
[000056517c47af40] main stream debug: creating access: file:///home/vlc/.local/share/vlc/ml.xspf
[000056517c47af40] main stream debug: (path: /home/vlc/.local/share/vlc/ml.xspf)
[000056517c47af40] main stream debug: looking for access module matching "file": 28 candidates
[000056517c47af40] main stream debug: using access module "filesystem"
[000056517c47c330] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[000056517c47c330] cache_read stream debug: Using stream method for AStream*
[000056517c47c330] cache_read stream debug: starting pre-buffering
[000056517c47c330] cache_read stream debug: received first data after 0 ms
[000056517c47c330] cache_read stream debug: pre-buffering done 296 bytes in 0s - 5781 KiB/s
[000056517c47c330] main stream debug: using stream_filter module "cache_read"
[000056517c47d390] main stream debug: looking for stream_filter module matching "any": 26 candidates
[000056517c47d390] playlist stream debug: using XSPF playlist reader
[000056517c47d390] main stream debug: using stream_filter module "playlist"
[000056517c47d390] main stream debug: stream filter added to 0x56517c47c330
[000056517c480890] main stream debug: looking for stream_filter module matching "any": 26 candidates
[000056517c480890] main stream debug: no stream_filter modules matched
[000056517c456910] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[000056517c456910] main stream_directory debug: no stream_directory modules matched
[000056517c456b60] main input source debug: attachment of directory-extractor failed for file:///home/vlc/.local/share/vlc/ml.xspf
[000056517c480890] main stream debug: looking for stream_filter module matching "record": 26 candidates
[000056517c480890] main stream debug: using stream_filter module "record"
[000056517c456b60] main input source debug: creating demux: access='file' demux='directory' location='/home/vlc/.local/share/vlc/ml.xspf' file='/home/vlc/.local/share/vlc/ml.xspf'
[000056517c455620] main demux debug: looking for demux module matching "directory": 54 candidates
[000056517c455620] main demux debug: using demux module "directory"
[000056517c484760] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[000056517c484760] lua demux meta debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/reader
[000056517c484760] lua demux meta debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader
[000056517c484760] lua demux meta debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac
[000056517c484760] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[000056517c484760] main demux meta debug: no meta reader modules matched
[000056517c45b910] main input debug: `file/directory:///home/vlc/.local/share/vlc/ml.xspf' successfully opened
[000056517c489570] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[000056517c489570] main xml reader debug: using xml reader module "xml"
[000056517c45b910] main input debug: EOF reached
[000056517c455620] main demux debug: removing module "directory"
[000056517c480890] main stream debug: removing module "record"
[000056517c47d390] main stream debug: removing module "playlist"
[000056517c47c330] main stream debug: removing module "cache_read"
[000056517c47af40] main stream debug: removing module "filesystem"
[000056517c3c0e50] main playlist debug: creating audio output
[000056517c4803d0] main audio output debug: looking for audio output module matching "any": 6 candidates
[000056517c4803d0] vlcpulse audio output debug: using library version 14.2.0
[000056517c4803d0] vlcpulse audio output debug: (compiled with version 14.2.0, protocol 34)
[000056517c4803d0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[000056517c4803d0] alsa audio output debug: Available ALSA PCM devices:
[000056517c4803d0] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null)
[000056517c4803d0] main audio output debug: using audio output module "alsa"
[000056517c3c0e50] main playlist debug: keeping audio output
[000056517c4c4230] main interface debug: looking for interface module matching "dbus,none": 17 candidates
[000056517c4c4230] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[000056517c4c4230] main interface debug: no interface modules matched
[000056517c4c4230] main interface error: no suitable interface module
[000056517c3bf460] main libvlc error: interface "dbus,none" initialization failed
[000056517c4c4230] main interface debug: looking for interface module matching "hotkeys,none": 17 candidates
[00007f975c000c20] main input debug: Creating an input for preparsing '#stddst=0.0.0.0:8081'
[000056517c4c4230] main interface debug: using interface module "hotkeys"
[000056517c493b30] main interface debug: looking for interface module matching "globalhotkeys,none": 17 candidates
[00007f975c000c20] main input debug: Creating an input for preparsing '#stdmux=ts'
[000056517c493b30] main interface debug: no interface modules matched
[000056517c493b30] main interface error: no suitable interface module
[000056517c3bf460] main libvlc error: interface "globalhotkeys,none" initialization failed
[000056517c493b30] main interface debug: looking for interface module matching "dummy": 17 candidates
[00007f9750000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[000056517c493b30] dummy interface: using the dummy interface module...
[000056517c493b30] main interface debug: using interface module "dummy"
[00007f9750000c20] main meta fetcher debug: no meta fetcher modules matched
[00007f9750000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[000056517c3c0e50] main playlist debug: processing request item: null, node: Playlist, skip: 0
[000056517c3c0e50] main playlist debug: rebuilding array of current - root Playlist
[000056517c3c0e50] main playlist debug: rebuild done - 3 items, index -1
[000056517c3c0e50] main playlist debug: starting playback of new item
[000056517c3c0e50] main playlist debug: resyncing on udp://0.0.0.0:1234
[000056517c3c0e50] main playlist debug: udp://0.0.0.0:1234 is at 0
[000056517c3c0e50] main playlist debug: creating new input thread
[00007f9748000c80] main input debug: Creating an input for 'udp://0.0.0.0:1234'
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[000056517c3c0e50] main playlist debug: requesting art for new input thread
[00007f9758000e60] main stream output debug: using sout chain=`stdaccess=http'
[00007f9758000e60] main stream output debug: stream=`stdaccess=http'
[00007f97580010e0] main stream out debug: looking for sout stream module matching "stdaccess=http": 23 candidates
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f97580010e0] main stream out debug: no sout stream modules matched
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f97580010e0] main stream out debug: destroying chain... (name=(null))
[00007f97580010e0] main stream out debug: destroying chain done
[00007f9758000e60] main stream output error: stream chain failed for `stdaccess=http'
[00007f9748000c80] main input error: cannot start stream output instance, aborting
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[000056517c3c0e50] main playlist debug: dead input
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f9750000c20] main art finder debug: no art finder modules matched
[00007f9750000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f9750000c20] main meta fetcher debug: no meta fetcher modules matched
[00007f9750000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f9750000c20] main art finder debug: no art finder modules matched
[00007f9750000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f9750000c20] main meta fetcher debug: no meta fetcher modules matched
[00007f9750000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f9750000c20] main art finder debug: no art finder modules matched
[000056517c3c0e50] main playlist debug: changing item without a request (current 0/3)
[000056517c3c0e50] main playlist debug: using item 1
[000056517c3c0e50] main playlist debug: starting playback of new item
[000056517c3c0e50] main playlist debug: resyncing on #stdmux=ts
[000056517c3c0e50] main playlist debug: #stdmux=ts is at 1
[000056517c3c0e50] main playlist debug: creating new input thread
[00007f9748000c80] main input debug: Creating an input for '#stdmux=ts'
[000056517c3c0e50] main playlist debug: requesting art for new input thread
[00007f9750001630] main stream output debug: using sout chain=`stdaccess=http'
[00007f9750001630] main stream output debug: stream=`stdaccess=http'
[00007f97500017c0] main stream out debug: looking for sout stream module matching "stdaccess=http": 23 candidates
[00007f97500017c0] main stream out debug: no sout stream modules matched
[00007f97500017c0] main stream out debug: destroying chain... (name=(null))
[00007f97500017c0] main stream out debug: destroying chain done
[00007f9750001630] main stream output error: stream chain failed for `stdaccess=http'
[00007f9748000c80] main input error: cannot start stream output instance, aborting
[000056517c3c0e50] main playlist debug: dead input
[00007f9750000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f9750000c20] main meta fetcher debug: no meta fetcher modules matched
[00007f9750000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f9750000c20] main art finder debug: no art finder modules matched
[000056517c3c0e50] main playlist debug: changing item without a request (current 1/3)
[000056517c3c0e50] main playlist debug: using item 2
[000056517c3c0e50] main playlist debug: starting playback of new item
[000056517c3c0e50] main playlist debug: resyncing on #stddst=0.0.0.0:8081
[000056517c3c0e50] main playlist debug: #stddst=0.0.0.0:8081 is at 2
[000056517c3c0e50] main playlist debug: creating new input thread
[00007f9748000c80] main input debug: Creating an input for '#stddst=0.0.0.0:8081'
[000056517c3c0e50] main playlist debug: requesting art for new input thread
[00007f9750001630] main stream output debug: using sout chain=`stdaccess=http'
[00007f9750001630] main stream output debug: stream=`stdaccess=http'
[00007f97500017c0] main stream out debug: looking for sout stream module matching "stdaccess=http": 23 candidates
[00007f97500017c0] main stream out debug: no sout stream modules matched
[00007f97500017c0] main stream out debug: destroying chain... (name=(null))
[00007f97500017c0] main stream out debug: destroying chain done
[00007f9750001630] main stream output error: stream chain failed for `stdaccess=http'
[00007f9748000c80] main input error: cannot start stream output instance, aborting
[000056517c3c0e50] main playlist debug: dead input
[00007f9750000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007f9750000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f9750000c20] main meta fetcher debug: no meta fetcher modules matched
[00007f9750000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /home/vlc/.local/share/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007f9750000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f9750000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f9750000c20] main art finder debug: no art finder modules matched
[000056517c3c0e50] main playlist debug: changing item without a request (current 2/3)
[000056517c3c0e50] main playlist debug: nothing to play
Seems like a VLC issue, even running vlc normally causes some errors, wondering how I can fix it.

How do I get rid of these ALSA warnings/errors?

I am running a blender rendering job using bpy python module inside a docker container. The following warnings/errors are cluttering my logs and my job doesn't need ALSA. How do I get rid of these messages ?
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
enter code here

WARN: Protobuf file not found, when using SonarQube

I'm just getting started with SonarQube and it does run so far.
The IT department has set up SonarQube 6.2 for our Team Foundation Server and I have installed and configured the msbuild scanner on my BuildAgent.
I call the msbuild scanner in the XAML-Template of my build definition and it does run, but it gives me a warning, which makes my build "partially succeeded".
This is the error message:
07:53:01.658 WARN: Protobuf file not found:
d:\b\210\474.sonarqube\out\ReferenceManager_x86_Release_6561\output-cs\issues.pb
The issues.pb file is really missing, but why do I get an error/warning for this? I do not get this, when I run the scanner and msbuild from command line, only when in runs in team build. But when running on command line there also is no issues.pb file.
When running the scanner from the command line, I get this output:
09:34:05.959 INFO: 97 files indexed
09:34:05.985 INFO: Quality profile for cs: Sonar way
09:34:05.992 DEBUG: Code colorizer, supported languages:
09:34:07.008 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
09:34:07.009 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
09:34:07.018 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
09:34:07.023 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
09:34:07.025 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
09:34:07.025 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
09:34:07.027 DEBUG: Sensors : Lines Sensor -> SCM Sensor -> C# -> Coverage Report Import -> Coverage Report Import -> Unit Test Results Import -> XmlFileSensor -> Zero Coverage Sensor -> Code Colorizer Sensor -> CPD Block Indexer
09:34:07.029 INFO: Sensor Lines Sensor
09:34:07.279 INFO: Sensor Lines Sensor (done) | time=250ms
09:34:07.279 INFO: Sensor SCM Sensor
09:34:07.279 INFO: SCM Publisher is disabled
09:34:07.281 INFO: Sensor SCM Sensor (done) | time=2ms
09:34:07.281 INFO: Sensor C#
09:34:07.292 INFO: SonarAnalyzer.Scanner needs to be executed: false
09:34:07.292 INFO: Importing analysis results from C:\Users\Build-SW-Dev\Desktop\.sonarqube\out\ReferenceManager_x86_Release_5730\output-cs
09:34:08.749 INFO: Importing Roslyn report
09:34:08.998 INFO: Sensor C# (done) | time=1717ms
When running the scanner during team build, I get this output:
11:12:51.390 INFO: 97 files indexed
11:12:51.422 INFO: Quality profile for cs: Sonar way
11:12:51.422 DEBUG: Code colorizer, supported languages:
11:12:52.468 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
11:12:52.468 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
11:12:52.468 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
11:12:52.468 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
11:12:52.468 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
11:12:52.468 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
11:12:52.484 DEBUG: Sensors : Lines Sensor -> SCM Sensor -> C# -> Coverage Report Import -> Coverage Report Import -> Unit Test Results Import -> XmlFileSensor -> Zero Coverage Sensor -> Code Colorizer Sensor -> CPD Block Indexer
11:12:52.484 INFO: Sensor Lines Sensor
11:12:52.562 INFO: Sensor Lines Sensor (done) | time=78ms
11:12:52.562 INFO: Sensor SCM Sensor
11:12:52.562 INFO: SCM Publisher is disabled
11:12:52.562 INFO: Sensor SCM Sensor (done) | time=0ms
11:12:52.562 INFO: Sensor C#
11:12:52.562 INFO: SonarAnalyzer.Scanner needs to be executed: false
11:12:52.562 INFO: Importing analysis results from d:\b\210\474\.sonarqube\out\ReferenceManager_x86_Release_1481\output-cs
11:12:53.078 WARN: Protobuf file not found: d:\b\210\474\.sonarqube\out\ReferenceManager_x86_Release_1481\output-cs\issues.pb
11:12:53.718 INFO: Sensor C# (done) | time=1156ms
Didn't find anything about this error using google. Any help appreciated!
By looking at the code in CSharpSencor.java, I think the difference between command line build and team build is caused by the RoslynReportPath:
void executeInternal(SensorContext context) {
boolean requiresAnalyzerScannerExecution = !config.isReportsComingFromMSBuild();
LOG.info("SonarAnalyzer.Scanner needs to be executed: " + requiresAnalyzerScannerExecution);
String roslynReportPath = settings.getString(config.getRoslynJsonReportPathProperty());
boolean hasRoslynReportPath = roslynReportPath != null;
Path protobufReportsDirectory;
if (requiresAnalyzerScannerExecution) {
// MSBuild 12 or MSBuild 14 with old scanner
analyze(!hasRoslynReportPath, context);
protobufReportsDirectory = protobufReportPathForMSBuild12(context);
} else {
protobufReportsDirectory = config.protobufReportPathFromScanner();
}
LOG.info("Importing analysis results from " + protobufReportsDirectory.toAbsolutePath().toString());
importResults(context, protobufReportsDirectory, !hasRoslynReportPath);
if (hasRoslynReportPath) {
LOG.info("Importing Roslyn report");
importRoslynReport(roslynReportPath, context);
}
}
command line build:
...
Generating SonarQube project properties file to C:\Users\Build-SW-Dev\Desktop\.sonarqube\out\sonar-project.properties
The supplied Code Analysis ErrorLog file is a valid json file and does not need to be fixed: d:\b\210\474\src\TPA\DevTools_Source\internal\ReferenceManager\main\ReferenceManager\bin\Release\ReferenceManager.exe.RoslynCA.json
...
08:41:57.276 INFO: Sensor C#
08:41:57.291 INFO: SonarAnalyzer.Scanner needs to be executed: false
08:41:57.291 INFO: Importing analysis results from C:\Users\Build-SW-Dev\Desktop\.sonarqube\out\ReferenceManager_x86_Release_6194\output-cs
08:41:59.948 INFO: Importing Roslyn report
08:42:00.448 INFO: Sensor C# (done) | time=3172ms
team build:
...
Generating SonarQube project properties file to d:\b\210\474\.sonarqube\out\sonar-project.properties
No Code Analysis ErrorLog file found at d:\b\210\474\bin\ReferenceManager.exe.RoslynCA.json.
...
11:12:52.562 INFO: Sensor C#
11:12:52.562 INFO: SonarAnalyzer.Scanner needs to be executed: false
11:12:52.562 INFO: Importing analysis results from d:\b\210\474\.sonarqube\out\ReferenceManager_x86_Release_1481\output-cs
11:12:53.078 WARN: Protobuf file not found: d:\b\210\474\.sonarqube\out\ReferenceManager_x86_Release_1481\output-cs\issues.pb
11:12:53.718 INFO: Sensor C# (done) | time=1156ms
While I do not have a solution to that yet, a workaround is to just redirect the output of the msbuild scanner into a file. TFS then does not see the warning and does not make the build partially succeeded.
edit:
Now I have found the root cause :) During team build, all output files get moved into a subfolder by a script. That's why SonarQube cannot find the file 'd:\b\210\474\bin\ReferenceManager.exe.RoslynCA.json'.
The file is located in a subfolder...

Resources