This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Video is not smooth due to swMs' fps setting

My first use case is as below:
case1. capture -> swMs -> display

We notice that video is not smooth if swMs fps is not matched to capture fps.
capture (60 fps) -> swMs (30 fps) -> display (60 fps)

After setting swMs to 60 fps, the video looks good.

Another use case is:
case2. capture -> swMs -> nsf -> encode

If capture fps is 50 (1080@50p), the frame dropped issue of video is very noticeable.
capture (50 fps) -> swMs (30 fps) -> nsf -> encode (30 fps)

If capture source is 60 fps, it looks better, but still has unsmooth video issue as case1.

Is there any issue about skipping frame mechanism on swMs?

p.s. We are using dvr_rdk 4.0.

Thanks.

  • 1.Use the SYSTEM_SW_MS_LINK_CMD_SET_FRAME_RATE to set the correct input and output fps rate required.

    This will result in swms dropping input frames at equal interval.

    2. When connected to display enable SwMsPrm.processTiedWithDispaly flag to TRUE.

    3. WHen Swms input is 30 and connected to display of 60 fps set swmsPrm.enableOutputDup = TRUE.

    4. There is nothing much that can be done for 50 fps input 30 fps output apart from setting SYSTEM_SW_MS_LINK_CMD_SET_FRAME_RATE param. There is bound to be noticeable frame repeat since each time delta between frames will not be equal.I suggest you encode at 50 or 25 fps which is reasonable for 50 fps capture.

    5. Disable avsync is you have enabled it in swms.