java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=100, result=-1, data=Intent { (has extras) }} to activity {orafox.videomaker/orafox.videomaker.activity.MainActivity}: java.lang.RuntimeException: Number of sync samples doesn't match the number of stills (30 vs. 4)

Stack Overflow | Himal Soni | 6 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: "Number of sync samples doesn't match the number of stills" while making video from images using mp4parser

    Stack Overflow | 6 months ago | Himal Soni
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=100, result=-1, data=Intent { (has extras) }} to activity {orafox.videomaker/orafox.videomaker.activity.MainActivity}: java.lang.RuntimeException: Number of sync samples doesn't match the number of stills (30 vs. 4)

    Root Cause Analysis

    1. java.lang.RuntimeException

      Number of sync samples doesn't match the number of stills (30 vs. 4)

      at com.googlecode.mp4parser.authoring.tracks.mjpeg.OneJpegPerIframe.<init>()
    2. com.googlecode.mp4parser
      OneJpegPerIframe.<init>
      1. com.googlecode.mp4parser.authoring.tracks.mjpeg.OneJpegPerIframe.<init>(OneJpegPerIframe.java:39)
      1 frame
    3. activity
      MainActivity.onActivityResult
      1. activity.MainActivity.onActivityResult(MainActivity.java:135)
      1 frame
    4. Android Platform
      ActivityThread.deliverResults
      1. android.app.Activity.dispatchActivityResult(Activity.java:5322)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:3363)
      2 frames