How to reduce the quality of H264 video using libx264 library, for transmission over internet.

I want to reduce the quality, so that the frame size will become small and decreases the network latency while transferring over internet.

有帮助吗?

解决方案

X264 has many (many,many) parameters for controlling quality. What you really want to do is controll bit-rate. X264 has several rate controll mode you probably want to use X264_RC_ABR and set i_bitrate to whatever your bandwidth is. Take a look at the x264_param_t strut in x264.h for all the options.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top