Search code examples
winformsc#-4.0audiovideolibvlc

VideoLan.Net: Play media backwards / Change playback speed?


I have been given a new requirement that I make the option available to play media files in reverse, and the option to be able to increase/decrease playback speed.

The program with which I am working relies on VideoLan.Net to handle all our media playback needs, so the question I have is this:

Using VideoLan.Net, is it possible to play media backwards, and is it possible to increase/decrease the playback speed?


Solution

  • vlc can not play media in reverse.

    With LibVLC it certainly is possible to increase/decrease the playback speed: see libvlc_media_player_set_rate(float rate).

    Use e.g 0.5f for half speed, 1.0f to return to normal speed, 2.0f for double speed and so on.