text: import cv2
  import numpy as np
  #ffpyplayer for playing audio
  from ffpyplayer.player import MediaPlayer
  # change name here for each video after ANIM\\
  video_path="Naruto_Shippuden.mp4"   
  def PlayVideo(video_path):
      video=cv2.VideoCapture(video_path)
      player = MediaPlayer(video_path)
      while True:
          grabbed, frame=video.read()
          audio_frame, val = player.get_frame()
          if not grabbed:
              print("End of video")
              break
          if cv2.waitKey(28) & 0xFF == ord("q"):
              break
          #change name here for each video
          cv2.imshow("Naruto Shippuden", frame)     
          if val != 'eof' and audio_frame is not None:
              #audio
              img, t = audio_frame
      video.release()
      cv2.destroyAllWindows()
  PlayVideo(video_path)
  