Just installed Raspberry Pi OS Lite 64 bits (no desktop) thanks to "Raspberry Pi Imager"
I did
sudo apt-get upgrade
sudo apt-get update
sudo apt-get install vlc
I want to play a random mp4 video with VLC.
export DISPLAY=:0 && cvlc test.mp4
When I define the audio ouput on "bcm2835 Headphones"(via sudo raspi-config), video and audio are OK. Video is playing on screen, and headphone connected to RPI is playing audio.
When I define the audio output on "vc4-hdmi", video is OK, but no audio.
And there are following messages :
[721036d0] main decoder error: failed to create audio output
[00b77270] alsa audio output error: no supported sample format
[00b77270] main audio output error: module not functional
[721036d0] main decoder error: failed to create audio output
[00b77270] alsa audio output error: no supported sample format
[00b77270] main audio output error: module not functional
How to fix this issue ?
update
comes beforeupgrade