VLC cannot save mp4a audio to MP4 container when reloaded
I'm using a vlc instance that is feed a vlm conf file for a mosaic. When we start a fresh instance of vlc, start a session and add the main audio source it works fine. When we stop the session, stop the audio source everthing works fine. When we start the session the second time everything works fine, when we start the audio source the second time to add to the new session it fails with the following.
[0x221c4fe0] [Media: record_session] stream_out_duplicate stream out debug: duplicated a new stream codec=mp4a (es=8192 group=0) [0xf37e908] [Media: record_session] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
When we stop the session and stop the audio source and do it a third time it works, fourth time fails, fifth time works, six time fails...
We did this 32 times, it failed the even try every single time, and succeed on all odd numbered attempts.
When we restarted vlc between each try it worked 10 times in a row.