java.lang.RuntimeException: No video track found in /storage/emulated/0/Android/data/com.test/files/video-2.mp4

GitHub | IvanSmolyar | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RuntimeException: No video track found in .mp4 file

    GitHub | 6 months ago | IvanSmolyar
    java.lang.RuntimeException: No video track found in /storage/emulated/0/Android/data/com.test/files/video-2.mp4

    Root Cause Analysis

    1. java.lang.RuntimeException

      No video track found in /storage/emulated/0/Android/data/com.test/files/video-2.mp4

      at com.test.grafika.MoviePlayer.<init>()
    2. com.test.grafika
      MoviePlayer.<init>
      1. com.test.grafika.MoviePlayer.<init>(MoviePlayer.java:117)
      1 frame
    3. com.test.preview
      PreviewFragment.onSurfaceTextureAvailable
      1. com.test.preview.ui.PreviewFragment.onSurfaceTextureAvailable(PreviewFragment.java:81)
      1 frame