java.lang.IllegalStateException: Got non SPS NAL data.

GitHub | spiritedRunning | 8 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

    "Got non SPS NAL data" exception

    GitHub | 8 months ago | spiritedRunning
    java.lang.IllegalStateException: Got non SPS NAL data.
  2. 0

    Non-baseline AVC video profile is not supported by Android OS, actual profile_idc: 100

    GitHub | 7 months ago | sennmac
    net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: Non-baseline AVC video profile is not supported by Android OS, actual profile_idc: 100
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 103#277333475

    GitHub | 2 months ago | Redmage3555
    java.lang.IllegalStateException
  5. 0

    transcode fail every time.

    GitHub | 10 months ago | maskspy
    net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: MediaFormatStrategy returned pass-through for both video and audio. No transcoding is necessary.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Got non SPS NAL data.

      at net.ypresto.androidtranscoder.utils.AvcCsdUtils.getSpsBuffer()
    2. net.ypresto.androidtranscoder
      MediaTranscoder$4.call
      1. net.ypresto.androidtranscoder.utils.AvcCsdUtils.getSpsBuffer(AvcCsdUtils.java:57)
      2. net.ypresto.androidtranscoder.engine.MediaFormatValidator.validateVideoOutputFormat(MediaFormatValidator.java:37)
      3. net.ypresto.androidtranscoder.engine.MediaTranscoderEngine$1.onDetermineOutputFormat(MediaTranscoderEngine.java:162)
      4. net.ypresto.androidtranscoder.engine.QueuedMuxer.onSetOutputFormat(QueuedMuxer.java:66)
      5. net.ypresto.androidtranscoder.engine.QueuedMuxer.setOutputFormat(QueuedMuxer.java:61)
      6. net.ypresto.androidtranscoder.engine.VideoTrackTranscoder.drainEncoder(VideoTrackTranscoder.java:207)
      7. net.ypresto.androidtranscoder.engine.VideoTrackTranscoder.stepPipeline(VideoTrackTranscoder.java:105)
      8. net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.runPipelines(MediaTranscoderEngine.java:191)
      9. net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.transcodeVideo(MediaTranscoderEngine.java:97)
      10. net.ypresto.androidtranscoder.MediaTranscoder$4.call(MediaTranscoder.java:185)
      11. net.ypresto.androidtranscoder.MediaTranscoder$4.call(MediaTranscoder.java:167)
      11 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      4. java.lang.Thread.run(Thread.java:841)
      4 frames