byorg.bytedeco.javacv.FrameRecorder$Exception: av_write_frame() error -1 while writing video frame.

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

    GitHub comment 525#252562303

    GitHub | 7 months ago | liangkuai
    byorg.bytedeco.javacv.FrameRecorder$Exception: av_write_frame() error -1 while writing video frame.

    Root Cause Analysis

    1. byorg.bytedeco.javacv.FrameRecorder$Exception

      av_write_frame() error -1 while writing video frame.

      at org.bytedeco.javacv.FFmpegFrameRecorder.recordImage()
    2. org.bytedeco.javacv
      FFmpegFrameRecorder.record
      1. org.bytedeco.javacv.FFmpegFrameRecorder.recordImage(FFmpegFrameRecorder.java:795)
      2. org.bytedeco.javacv.FFmpegFrameRecorder.record(FFmpegFrameRecorder.java:681)
      2 frames
    3. com.RtmpOperator.thread
      PushRtmp.run
      1. com.RtmpOperator.thread.PushRtmp.run(PushRtmp.java:115)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames