Record of A codec problem in Ti duati

Source: Internet
Author: User

I solved a problem with Ti codec last week. record it.

The problem is that, on the omap4430 platform, the 720 p and 60framerate Avi cards are played in the JB version, and a lot of frames are lost when reading logs. In general, this situation is caused by insufficient CPU resources, however, I see that the CPU usage is not very high. After reading the code for half a day, I don't know what's going on.

The reply from Ti is that the framerate they get is 30, not 60, and it is very strange, because omxcodec does not set the framerate, and finds the code of other projects, I was surprised that I didn't find anything. However, in order to cooperate, we set the framerate-related parameters. At the beginning, we only set the inputport parameter. The outputport parameter was not set. Later, Ti helped, the parameters of the two ports are set. It is really good, but there is no code for setting framerate-related items in Google's code, so the framework should not be modified, however, TI does not need to be modified. There is no way. If the project needs to be released, the framework can only be modified.

To sum up

1. I have some knowledge about the communication methods between omxcodec and omxcodec node. I used to only read this code and know how to use it when I encountered a problem. If I find a similar problem in the future, I also know how to dumpport related parameters.

2. I have little knowledge about video, and I don't know much about it. I will read more Code and related articles at work in the future.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.