Loongson FFmpeg enters the 5.0 era and fully supports the LoongArch ecosystem

In January 2022, FFmpeg 5.0 was officially released , and the new version integrates support and optimization for the LoongArch ecosystem. Recently, Loongson Zhongke introduced the work and planning of Loongson FFmpeg 5.0 version systematically .

FFmpeg 5.0 is the most important version for the FFmpeg community in recent years. This version not only adds many new functions, but also has a major upgrade in API. Integrating support for LoongArch means that subsequent open source operating systems will automatically include support for the LoongArch architecture when integrating FFmpeg from the upstream community, eliminating the need for heavy code porting and testing in the past, which is crucial to the ecological construction of LoongArch.

According to reports, with the release of FFmpeg 5.0 that supports LoongArch, the Loongson 5000 desktop processor platform can better release its potential and bring a better audio and video experience to Loongson computer terminals. Specific to the user experience and technical support, there will be the following Important enhancements:

Support 4K high bit rate

The FFmpeg 5.0 version integrates the latest decoding optimizations for video formats such as H264, H265, VP8, VP9, ​​MPEG4, and WMV3. Taking the H264 format as an example, combined with the LoongArch 3A5000 platform test, the performance is more than 75% higher than that of the Loongson 3A4000 platform , and pure software decoding and playback of 4K  H264 video can support a high bit rate of 50Mbps .

Support multi-person smooth video and screen recording

FFmpeg version 5.0 is not only optimized for the encoding and decoding avcodec module, but also for the pixel processing swscale module. Combined with the encoding optimization of the Loongson team on the X264 project and the rendering optimization of mesa, it can realize the video conference system and screen recording. Good support for the app . Taking online video conferencing as an example, when multi-person video conferencing and local desktop sharing are smoothly supported , Loongson's CPU usage is maintained at about 40% .

More comprehensive and timely community support efforts

The Loongson team will interact more closely with community developers and more comprehensively support the LoongArch ecosystem and FFmpeg community construction . The Loongson team will continue to provide the FFmpeg community with the patchwork real-time testing service based on the LoongArch architecture and the regular update service of FATE status. I hope more community enthusiasts can pay attention to support and join in the construction of LoongArch ecology.

Godson FFmpeg Outlook

In the next stage, the Loongson team will continue to optimize the software and hardware cooperation of the video codec of the Loongson 5000 desktop platform, stably guarantee the support of the FFmpeg community , increase the support of the LoongArch architecture for the filter module, and make unremitting efforts for a better LoongArch ecological audio-visual experience.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324364522&siteId=291194637