摘要:
一、基础概念 fps = AVStream->avg_frame_rate,30/1,平均帧率。 tbr: tbr is guessed from the video stream and is the value users want to see when they look for the v 阅读全文
摘要:
1. epoll基础 epoll - I/O event notification facility epoll是一种I/O事件通知机制,这句话基本上包含了所有需要理解的要点: I/O事件 基于file descriptor,支持file, socket, pipe等各种I/O方式。 当文件描述符关 阅读全文
摘要:
一、select #include <sys/select.h> void FD_CLR(int fd, fd_set *set); int FD_ISSET(int fd, fd_set *set); void FD_SET(int fd, fd_set *set); void FD_ZERO(f 阅读全文