I use the following command:
vlc -I qt myfile.mp4 #standard{access=http,mux=ts,dst="8080/stream"} :sout-all :sout-keep
and my error log is the following:
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055e7143effa0] main audio output error: module not functional
[00007f61d28bf1d0] main decoder error: failed to create audio output
[00007f619c004960] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
[00007f619c004960] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f619c004960] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f619c004960] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007f619c004960] gl gl: Initialized libplacebo v4.192.1 (API v192)
[00007f61d27bf470] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 520.61.05 for hardware decoding
The main problem seems to be main decoder error: failed to create audio output
I have been trying many things for 4 hours (installing various libs, different audio settings in vlc etc) so it is probably a good time to beg for help!
Using Ubuntu 22.04 and GTX970. Have installed CUDA already.
nmap 192.168.1.x -p 8080
also confirms:
PORT STATE SERVICE
8080/tcp closed http-proxy
Many thanks in advance. Just trying to setup a local network streaming with https://linuxconfig.org/how-to-stream-video-from-vlc, it looked really simple at first glance haha...