avformat_write_header error() error -22: Could not write header to 'null'
#1,501 opened on Sep 8, 2020
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)