sort out video and music resource