Cannot play a non-UDF mastered DVD in VLC

I am trying to play a video DVD in Manjaro XFCE, and encountered the following error.

Playback failure:

Cannot play a non-UDF mastered DVD.

Your input can't be opened:

VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.

When run from terminal, the terminal output shows this error.

[00007fd814001120] dvdnav demux error: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007fd814001120] dvdnav demux error: vm: vm: failed to read VIDEO_TS.IFO
[00007fd814001120] dvdread demux error: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007fd814001120] dvdread demux error: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
[00007fd814001120] dvdread demux error: Invalid UDF DVD. (Found ISO9660 '_NAME_OF_MOVIE_HERE')

How to fix this?

Install libdvdcss.

libdvdcss is already installed.

I found that when I try to open a dvd from vlc’s Media -> Open Disk, it tries to play the location dvd:///dev/sr0 and it does not work.

If I manually run vlc /dev/sr0, it works!!

If I run the command vlc dvd:///dev/sr0 (this is what vlc GUI tries to do), I get the same error.