rk3568 ubuntu主板能用ffmpeg gpu硬解吗?Issuing time:2023-12-27 14:22 FFmpeg 对于Rockchipubuntu平台主板,暂时只支持通过Mpp实现硬件解码。
Mpp是Rockchip为VPU 提供的一套视频编解码的api, 并且基于mpp。gstreamer 是Rockchip提供rk的编解码插件。开发者可以根据自己的需求,基于gstreamer来做视频编解码的应用,或者直接调用mpp,来实现硬件的GPU编解码加速。 Gstreamer 测试脚本: /usr/local/bin/h264dec.sh 测试硬件 H264 解码 /usr/local/bin/h264enc.sh 测试硬件 H264 编码 测试的 MP4 文件默认放在/usr/local/test.mp4如果客户要放自已的视频文件可以在脚本中改下 循环播放: while(true); do gst-launch-1.0 filesrclocation=/usr/local/test.mp4 ! queue ! qtdemux name=dmux dmux.video_0 ! queue ! h264parse! mppvideodec ! rkximagesink dmux.audio_0 ! queue ! aacparse ! faad ! autoaudiosink; Done 想了解更多的RK3568 ubuntu主板及开发技巧,欢迎致电我们客服进一步了解,竭诚为你服务。 Declaration: This article is originally created by the editor of Guangzhou Dingchang Electronics. Some materials are from our own factory, cooperative customers and the Internet. In case of any rights issues or content errors, you can contact the editor via email (91hui@163.com) for handling and correction. Reprinting is welcome, but please indicate the source link.https://enpc.gzdcsmt.com/sys-nd/1742.html
|
Your name * WhatsApp OR WeChat ID Your company name Your email address * Phone Number Additional Messages Submit NOW! |