@jugg 实际测试4K 3840*2160 30fps MJPG格式没有问题。
Posts
-
RE: Ubuntu kernel upgrades
@sushruth The 6. x kernel version has been processed internally and is expected to be released in the second quarter.Thank you for your support.
-
RE: Coolpi 4B ubuntu support
@jugg 不好意思,手上目前没有4K的设备,要晚一点才能测试。你可以尝试修改如下配置:
/etc/profile.d/gst.sh
默认的最大分辨率改为你目前sensor的最大分辨率。
export GST_V4L2SRC_MAX_RESOLUTION=3840x2160 -
RE: Coolpi 4B ubuntu support
@jugg 我这边测试0306的固件也是正常的。两路1080P/25FPS。
gst-launch-1.0 v4l2src device=/dev/video20 ! image/jpeg, width=1920, height=1080, framerate=25/1 ! jpegparse ! mppjpegdec ! videoconvert ! fpsdisplaysink sync=false signal-fps-measurements=true gst-launch-1.0 v4l2src device=/dev/video22 ! image/jpeg, width=1920, height=1080, framerate=25/1 ! jpegparse ! mppjpegdec ! videoconvert ! fpsdisplaysink sync=false signal-fps-measurements=true
-
gstreamer video framework
The latest ubuntu22.04 firmware(20230303-ubuntu-22.04-preinstall-desktop-arm64) integrates ffmpeg and gstreamer video frames, and can call the hardware codec module of Rockchip, which can greatly improve the video codec performance of the device and reduce the CPU load.
-
With kmssink, the CPU utilization of 4K video playback is reduced to about 10%.The disadvantage is that it occupies one layer.
-
The following command can obtain layer information.
sudo cat /sys/kernel/debug/dri/0/state | grep "plane"
- Use the following command to play the video and replace xxx.mp4 with the actual path. 88 represents the layer, kmssink only supports the display of Esmart layer.
gst-play-1.0 xxx.mp4 --videosink='kmssink plane-id=88'
- You can also use other plug-ins, such as xvimagesink glimagesink waylandsink, etc.
-
-
RE: 双4K usb摄像头
@jugg 两路4K解码+1路编码这个从性能来讲是没有问题的。接口部分后续主要以GST为主,这个目前还有一些适配问题在处理中。等后续出稳定版本会在论坛发布。
-
RE: 音视频编解码的demo
@jugg 谢谢你的提议,最近一直在处理GST的兼容性问题,这个弄完以后会考虑上一些实例包。先上传一些底层接口的文档,你可以先看一下。
Rockchip_Developer_Guide_MPP_CN.pdf
Rockchip_Developer_Guide_MPP_EN.pdf
Rockchip_Developer_Guide_RGA_CN.pdf
Rockchip_Developer_Guide_RGA_EN.pdf
Rockchip_User_Guide_Linux_Gstreamer_CN.pdf
Rockchip_User_Guide_Linux_Gstreamer_EN.pdf -
RE: 音视频编解码的demo
@jugg 可以使用FFMPEG,解码部分已经集成硬件解码,GST部分插件也可以调用到rkmpp解码,也可以直接调用RKMPP,这个需要自行研究一下文档。关于裁剪缩放效率问题可以考虑使用RGA硬件加速模块。
-
RE: Pi4B使用realsense深度相机开机默认识别为USB2.0设备。重新插拔后才能识别为USB3.0设备。
@Mcfly 从现象看应该是UBOOT下USB驱动不够完善导致的,简单的方法关闭uboot下USB设备的注册,到内核以后再加载USB驱动。或者等我们更新UBOOT代码,这个因为手上暂时没有设备,会稍微慢一些。
-
RE: Coolpi 4b Ubuntu20.04 原生系统
@myhexb 这个是镜像没有制作成功。如果有读卡器可以先格式化一次卡,然后再制作,闪迪的卡我一直在用,没有什么问题。