张伟

Results 3 comments of 张伟

i use the recordPacket method to push AVPacket packets to the srs server. Avoiding the encoding and decoding process is expected to reduce the CPU occupancy rate in this way....

here is the consul log : ``` Input #0, h264, from 'java.io.BufferedInputStream@6e0ca732': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 704x576, 18 fps, 18 tbr, 1200k tbn, 36...

The main logic code is as follows: ```java public class PushTask implements Runnable { private FFmpegFrameGrabber grabber; private FFmpegFrameRecorder recorder; private PipedOutputStream pos = new PipedOutputStream(); private PipedInputStream pis =...