Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top