ncheng89

Results 30 comments of ncheng89

The problem is that it will cause video freezes and the video cannot be played at fps speed. The result of my analysis is that the speed of tbr must...

This is a demo I wrote. As long as I enable the add_video_pts_dts method and set pts and dts myself, the tbr value in the rtmp stream will be greater...

You need to modify the addresses of rtmp and rtsp in the demo ```` if __name__ == '__main__': rtsp = "rtsp://admin:abc@[email protected]:554/ch1/stream1" rtmp = 'rtmp://192.168.1.91:1935/live/6666/9944' t = TestAvLive(rtsp,rtmp) t.run()

If you enable the add_video_pts_dts method and set pts and dts yourself, it will cause tbr to become 100 instead of consistent with the value of fps, which will cause...

Yes, I tested other rtmp streams and it was the same. I tried to write the input rtmp stream to an mp4 video file and it was the same. ```...

When I turn off the custom setting pts, the output mp4 file seems to become normal, but I ``` fps = 30 video_stream = out_video.add_stream("libx264", rate=fps) video_stream.height = 1080 video_stream.width...

Thank you very much for your answer, but I just found a demo from NVIDIA, which is similar to what I wrote, and I don’t understand why the initialization fails....

OK, thank you very much for your help.

Hello, when I specify the environment variable export EGL_PLATFORM=surfaceless, I can successfully initialize egl in C++. Does moderngl do this internally?

@asong2022 如果是x86架构的系统,是支持的 docker run -itd --restart=always --name m3u8 \ -v ./downloads/:/download \ -v /etc/localtime:/etc/localtime \ -p 8001:8001 nicheng12/m3u8_webui:latest