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.

DM6467 Codec performance Unstable

Hello All,

When a customer use the H.264 codec provided for DM6467 (DVSDK_2_00_00_18) to process a static video stream , the performance of the codec seems to be not so 'static'.
There can be some 23fps or 15 fps displayed among lots of 30 fps , even if there is no change to the input.  And the timeval can jump from 128 to 349.
The information printed  in the terminal are as follows.

Encode demo ARM Load: 1% DSP Load: 60% Display Type: 720P 50Hz Video Codec: H.264 BP Video fps: 30 fps Video bit rate: 299 kbps Video resolution: 1280x720 Sound codec: N/A Sound bit rate: 31 kbps Sampling freq: 16000 Time: 00:01:43
timeval = 128
timeval = 128
timeval = 128
timeval = 128
timeval = 128
timeval = 128
timeval = 128
timeval = 128
timeval = 127

Encode demo ARM Load: 4% DSP Load: 59% Display Type: 720P 50Hz Video Codec: H.264 BP Video fps: 30 fps Video bit rate: 423 kbps Video resolution: 1280x720 Sound codec: N/A Sound bit rate: 31 kbps Sampling freq: 16000 Time: 00:01:44
timeval = 129
timeval = 349
timeval = 6
timeval = 27
timeval = 128
timeval = 127
timeval = 128
timeval = 127
timeval = 129
timeval = 128
Encode demo ARM Load: 5% DSP Load: 56% Display Type: 720P 50Hz Video Codec: H.264 BP Video fps: 23 fps Video bit rate: 237 kbps Video resolution: 1280x720 Sound codec: N/A Sound bit rate: 34 kbps Sampling

Is it normal? Or what can lead to such a unregular performance?

Thanks in advance!

Willian

  • Hi,

    I have seen issues like this when the filesystem is in NFS. So, where is the filsystem in this case?

    I don't recall the encode demo output "timeval = ???" information, could you please provide some more detail on this? Is this their own demo?

  • Hi,Paul.Yin,

       The output "timeval =" is added by me to the encode demo to caculate the time interval of the audio encoder calling audio process function  and apart from this  the encode demo is the orginal one .From "timval =" I added, we can see  when the framerate of the video encoder  drops , it seems this also influences the audio encoder's performance.

       The filesystem is in NFS. As you mentioned above, the filesystem in NFS may  cause the problem.Does that mean I have to burn the filesystem to the nand? Or there are other options?