### Start VLC with MMAL Output Plugin Source: https://github.com/agherzan/meta-raspberrypi/blob/master/docs/extra-build-config.md This command-line example shows how to start VLC using the `cvlc` command with the `mmal_vout` plugin for hardware-accelerated video output. It dynamically determines the correct HDMI display number and sets various VLC settings such as running in dummy mode (`-I dummy`), using MMAL for output (`--vout=mmal_vout`), enabling resizing (`--mmal-resize`), specifying the HDMI display (`--mmal-display hdmi-$MMAL_DISPLAY`), and disabling D-Bus (`--no-dbus`). This is useful for running VLC without an active display server. ```bash DISPLAYNUM=$(tvservice -l | tail -c 2) MMAL_DISPLAY=$(expr $DISPLAYNUM + 1) VLC_SETTINGS="-I dummy --vout=mmal_vout --mmal-resize --mmal-display hdmi-$MMAL_DISPLAY --no-dbus" cvlc $VLC_SETTINGS