To compile this stream you must enable the configure option:
The vlc command line options for the chromecast stream:
All there is left is to run vlc:
The mux option isn’t mandatory but allowed me to stream pass vlc printing errors regarding the file format.
Due to my very bad wireless hotspot positioning, the overall experience isn’t great (the signal goes like this: vlc <-> router <-> chromecast). This caused extensively long buffering and essentially, when a frame was buffered chromecast needed to load a newer one.