VLC crashes somewhat randomly playing .TS transport stream files
I recently updated VLC from 2.0.8 to 2.1.2 and when opening .TS transport stream files, VLC 2.1.2 crashes while opening the files. Sometimes ~0.5 seconds is played before crashing, other times it crashes and quits outright.
What makes the bug peculiar is that the same files play without problems in 2.0.8. And I have since downgrade chronological by version from 2.1.2 to 2.0.9 and the same problem persists, until 2.0.8 when the .TS files plays okay again.
What makes it yet even more peculiar is, the crashing in 2.1.2 is somewhat random - if I were playing a .MP4 file before and move on to play a .TS file next, chances are it will play okay. But open the same and other .TS files in couple more times and VLC will likely crash.
Not all .TS files present the same problem - some play flawlessly no matter what files were played before or opened however many times trying to replicate the bug, others crash VLC when opened, in a somewhat random fashion described above.
Given the somewhat random nature of the crashes I suspected a disk/directory/file structure problem and performed Disk Utility and Disk Warrior scans but both reported all clear. Further excluding a disk problem - I have a nightly synced mirror backup of the files in question and VLC crashes randomly too playing the .TS files from the backup.
I then suspected the directory names as I have the habit of adding spaces before a folder name so it appears up top in a list view. The files in questions were stored at a path: 'Volumes/Media/Downloads/Audition Room/ Candidates/ Incoming/' And just for experiment sake, I created a new folder ' Temp' and tested playing the same .TS files in question at: 'Volumes/Media/Downloads/Audition Room/ Candidates/ Incoming/ Temp' AND the files play OK - how weird is that?? So no, VLC was not choking over spaces. But something about having the files at that particular path is causing it to crash.
I also tried making copies of the same .TS file in question at the same path just to rule out any bad sectors perhaps - but the newly created duplicates exhibit the exact same behaviour, randomly crashing - playing okay freshly copied as a duplicate, then causing VLC to crash thereafter.
The files described thus far are stored in an external Thunderbolt WD in a Striped RAID setup (and backup drive on which the files exhibited the same crashing behaviour is on a separate Thunderbolt WD drive also with a Striped RAID setup).