Video in TIB AV-Portal: Increasing and decreasing subsequences and their variants