Save stream to file
I am wanting to display a stream and record it to disk. This is possible using the following Media settings but it disables the texture updates in Unity:
Media media = new Media(_libVLC, new Uri("http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"), ":sout=#file{dst="file"}", ":sout-keep");
A workaround is to have 2 players, one for display and another for recording but this could be an inefficient way to handle this. Would adding a duplicate to the media with an 'sout' be a better method?
Any advice would be greatly appreciated.