Segmenting encoders are required to output continuous short AVC files, say 1S in duration. Furthermore, the files size have a fixed maximum, say 1MB. The segment files are usually transferred over IP data network via HTTP to a client where the files are then decoded and played out in a smooth manner.
With this in mind, what is the proper configuration of the AVC CODEC in order that each 'fixed max size' file is of the highest quality?
I believe your best approach is to experiment with the SDK using your typical workloads to determine suitable configuration for your purposes. AVC encoder support a range of bit rate control methods such as CBR and VBR. Both CBR and VBR rate control can be configured to not exceed specified bit rate. Based on the selected bit rate you can calculate estimated max file size for the interval you have in mind. There is no SDK configuration parameter that lets you set max file size.