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

GitHub | IvanSmolyar | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    RuntimeException: No video track found in .mp4 file

    GitHub | 5 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