bytedeco/javacv

avformat_write_header error() error -22: Could not write header to 'null'

Open

#1,501 opened on Sep 8, 2020

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
help wantedquestion

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

hello: When I deploy the service to a Linux system, the following error occurs: org.bytedeco.javacv.FrameRecorder$Exception: avformat_write_header error() error -22: Could not write header to 'null' at com.junction.entity.FFmpegFrameRecorder.startUnsafe(FFmpegFrameRecorder.java:946) at com.junction.entity.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:425) at com.junction.entity.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:420) at com.junction.entity.RtmpPush.push(RtmpPush.java:191) at com.junction.entity.RtmpPush.push(RtmpPush.java:304) at com.junction.entity.RealPlay.run(RealPlay.java:225)

Contributor guide