FAST AND RELIABLE PLAYBACK SPEED CALCULATOR FOR DIFFERENT MEDIA SOURCES