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

GitHub | liangkuai | 4 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 | 4 months ago | liangkuai
    org.bytedeco.javacv.FrameRecorder$Exception: av_write_frame() error -1 while writing video frame.
  2. 0

    FFmpegFrameGrabber and FFmpegFrameRecorder upload local video to rtmp server

    GitHub | 4 months ago | liangkuai
    org.bytedeco.javacv.FrameRecorder$Exception: av_write_frame() error -1 while writing video frame.
  3. 0

    avcodec_encode_video2() error -1: Could not encode video packet

    GitHub | 2 years ago | soundcat
    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_encode_video2() error -1: Could not encode video packet.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 128#94124074

    GitHub | 2 years ago | johnestep
    org.bytedeco.javacv.FrameRecorder$Exception: av_interleaved_write_frame() error -22 while writing interleaved video frame.
  6. 0

    GitHub comment 235#143675267

    GitHub | 1 year ago | The-Crocop
    org.bytedeco.javacv.FrameRecorder$Exception: No video output stream (Is imageWidth > 0 && imageHeight > 0 and has start() been called?)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.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