Input Synchronization
The interface synchronization of the video encoder itself has been calibrated at the factory, and in most cases no additional adjustment is required. However, if the input and output device links are more complex, or the peripheral itself has synchronization problems, you can fine-tune the following parameters.
Since the delay of the video interface is fixed, the cost of adding additional video buffering is high, and the following adjustments are only for the audio interface.
Timestamp offset:The audio timestamp offset only affects the stream output, and adjusting this parameter is most accurate and efficient if the device is only used for encoding.
Hardware delay:Add additional buffering to the audio interface to create a delay, mainly for functions such as decoding scenes or input mixing.
Frames:Typically, an audio frame is 21.3ms long