<p>VLC can do this, so if the VLC people allow it to be done via the API/CLI then in theory it should be possible, but the problem in OpenSource with "Theoretically Possible" is time, knowledge and when using a 3rd party library/application, that the feature stays available in the 3rd Party system.</p>