Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top