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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by liangkuai
, 1 year ago
av_write_frame() error -1 while writing video frame.
via GitHub by edukun
, 2 months ago
avcodec_encode_video2() error -542398533: Could not encode video packet.
via GitHub by The-Crocop
, 2 years ago
No video output stream (Is imageWidth > 0 && imageHeight > 0 and has start() been called?)
via GitHub by johnestep
, 2 years ago
av_interleaved_write_frame() error -22 while writing interleaved video frame.
via GitHub by soundcat
, 2 years ago
avcodec_encode_video2() error -1: Could not encode video packet.
org.bytedeco.javacv.FrameRecorder$Exception: av_write_frame() error -1 while writing video frame.
at org.bytedeco.javacv.FFmpegFrameRecorder.recordImage(FFmpegFrameRecorder.java:795)
at org.bytedeco.javacv.FFmpegFrameRecorder.record(FFmpegFrameRecorder.java:681)
at com.RtmpOperator.thread.PushRtmp.run(PushRtmp.java:115)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.