当前位置:网站首页>Use gstarwmr video conversion for yocto system of i.mx8m development board
Use gstarwmr video conversion for yocto system of i.mx8m development board
2022-06-29 03:33:00 【mucheni】
iTOP-iMX8MM Provides a video conversion component : imxvideoconvert_g2d, Enter the following command to view specific information .
gst-inspect-1.0 imxvideoconvert_g2d

It supports the following functions :
Video color space conversion
Video zoom
Video rotation
Be careful : In video color space conversion , imxvideoconvert_g2d Only videos in other formats can be converted to RGB Video format .
1、 Video color space conversion
take gstreamer Self contained NV12 Format video source is converted to RGB16 Video format , Enter the following command :
gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12 ! imxvideoconvert_g2d ! \
video/x-raw,format=RGB16 ! waylandsink

take h264 After decoding the video , Reuse imxvideoconvert_g2d convert to RGB16 Video format , Enter the following command :
gst-launch-1.0 filesrc location=/gstreamer/video/1080p_60fps_h264.mp4 ! qtdemux ! queue \
! h264parse ! vpudec ! imxvideoconvert_g2d ! video/x-raw, format=RGB16, width=1920, \
height=1080 ! filesink location=H264ToRgb16_1080p.rgb16

2、 Video zoom
take gstreamer Self contained NV12 Format 1280*720 The video source of is converted to RGB16 Format 640*480 In the video , Enter the following
command :
gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12,width=1280,height=720 ! \
imxvideoconvert_g2d ! video/x-raw, format=RGB16, width=640, height=480 ! waylandsink

3、 Video rotation
take gstreamer The built-in video source rotates 90 degree , Enter the following command :
gst-launch-1.0 videotestsrc ! imxvideoconvert_g2d rotation=1 ! waylandsink

take gstreamer The built-in video source rotates 180 degree , Enter the following command :
gst-launch-1.0 videotestsrc ! imxvideoconvert_g2d rotation=2 ! waylandsink

More content can be focused “ XunWei Electronics ” official account
边栏推荐
- Input input box click with border
- [leetcode daily question] number of schemes to reconstruct a tree
- [tcapulusdb knowledge base] tcapulusdb technical support introduction
- 基于redis实现的扣减库存
- Ten commands commonly used in SVN
- 二叉树的锯齿形层序遍历[分层遍历方式之一 -> 前序遍历+level]
- Jerry's monitoring alarm clock [chapter]
- 2022-2028 global CAE engineering service industry research and trend analysis report
- Geth --- Error: authentication needed: password or unlock
- 2022-2028 global bubble CPAP system industry survey and trend analysis report
猜你喜欢

Gartner's "voice of customers" has the highest score, and the user experience has become a major breakthrough for China's database

凌晨三点学习的你,感到迷茫了吗?

2022-2028 global CAE engineering service industry research and trend analysis report

leetcode:304. 二维区域和检索 - 矩阵不可变
![恢复二叉搜索树[根据题意模拟->发现问题->分析问题->见招拆招]](/img/06/cc3c512e69455416fe81943bebacca.png)
恢复二叉搜索树[根据题意模拟->发现问题->分析问题->见招拆招]

Etcd教程 — 第六章 Etcd之核心API V3

Counter analysis of the parameter anti content in the backstage of the # yyds dry goods inventory # knife fight shop

Installation and deployment of sw-x framework

Problème - Ajouter shellerror: permissions d'instrumentation pour le périphérique: vérifier les règles udev.

VIM configuration and use
随机推荐
問題——adb shellerror: insufficient permissions for device: verify udev rules.
【若依(ruoyi)】ztree初始化
Laravel v. about laravel using the pagoda panel to connect to the cloud database (MySQL)
迅为i.MX8M开发板yocto系统使用Gstarwmr视频转换
为什么信息化 ≠ 数字化?终于有人讲明白了
go-redsync分布式锁源码解析
二叉树的锯齿形层序遍历[分层遍历方式之一 -> 前序遍历+level]
MATALB signal processing - signal transformation (7)
FPGA(七)RTL代码之三(复杂电路设计2)
【世界海洋日】TcaplusDB号召你一同保护海洋生物多样性
【TcaplusDB知识库】批量复制游戏区
Concise words tell about technical people who must master basic IT knowledge and skills. Part 1
2022-2028 global CAE engineering service industry research and trend analysis report
gcc编译器包
【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(三)
[Ubuntu] [MySQL] Ubuntu installs mysql, but the compilation error is mysql h: No such file or directory
Synchronous real-time data of Jerry's watch [chapter]
SVN常用的十个命令
PHP实现 mqtt通信
Modstart rewrite rule