Skip to contentSkip to conversation

board: icorem6: Add qt5 and gst1 support

PATCH New Chakra Divi 2 participants 2 messages Sep 29, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: icorem6: Add qt5 and gst1 support

From: Jagan Teki <[email protected]>

This patch adds qt5 and steamer support for Engicam i.CoreM6 boards, test both video and audio with below formats
- MP4
- WebM
- wav

Since few audio patches still under review on Linux mailinglist, this patch is using custom kernel which is on top of linux-next.

--
Note:
This patch is created on top of icorem6 qt5 patch set, so previous qt5 patche may remove and make use this for both qt5 and gst1 if all agree.

 .gitlab-ci.yml                                   |   1 +
 DEVELOPERS                                       |   1 +
 board/engicam/icorem6/readme.txt                 |  19 ++++
 configs/engicam_imx6qdl_icore_qt5_gst1_defconfig | 122 +++++++++++++++++++++++
 4 files changed, 143 insertions(+)
 create mode 100644 configs/engicam_imx6qdl_icore_qt5_gst1_defconfig
.gitlab-ci.yml +1 -0
index 045441d..081c61e 100644
@@ -98,6 +98,7 @@ csky_gx6605s_defconfig: *defconfig
 cubieboard2_defconfig: *defconfig
 engicam_imx6qdl_icore_defconfig: *defconfig
 engicam_imx6qdl_icore_qt5_defconfig: *defconfig
+engicam_imx6qdl_icore_qt5_gst1_defconfig: *defconfig
 engicam_imx6qdl_icore_rqs_defconfig: *defconfig
 engicam_imx6ul_geam_defconfig: *defconfig
 engicam_imx6ul_isiot_defconfig: *defconfig
DEVELOPERS +1 -0
index 9d5bf30..fb6b345 100644
@@ -869,6 +869,7 @@ N:	Jagan Teki <[email protected]>
 F:	board/engicam/
 F:	configs/engicam_imx6qdl_icore_defconfig
 F:	configs/engicam_imx6qdl_icore_qt5_defconfig
+F:	configs/engicam_imx6qdl_icore_qt5_gst1_defconfig
 F:	configs/engicam_imx6qdl_icore_rqs_defconfig
 F:	configs/engicam_imx6ul_geam_defconfig
 F:	configs/engicam_imx6ul_isiot_defconfig
board/engicam/icorem6/readme.txt +19 -0
index 4fcc9fd..11327bd 100644
@@ -90,4 +90,23 @@ Running Qt5 Cinematic Demo:
 # export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap12.json
 # CinematicExperience-demo
 
+Testing VPU on i.CoreM6:
+=======================
+
+Find connector id using modetest
+# modetest -c
+
+Download video file and copy /mnt
+# wget http://media.xiph.org/mango/tears_of_steel_1080p.webm -P /mnt/
+# gst-launch-1.0 uridecodebin uri=file:///mnt/tears_of_steel_1080p.webm ! \
+> videoscale ! \
+> videoconvert ! \
+> video/x-raw,width=1280,height=800,pixel-aspect-ratio=1/1 ! \
+> kmssink connector-id=38 driver-name="imx-drm"  sync=false
+
+Play Video and Audio:
+
+# youtube-dl -f 136 https://www.youtube.com/watch?v=G6ruSHJgbPM -o Baahubali_Hamsa.mp4
+# gst-play-1.0 Baahubali_Hamsa.mp4 
+
 Enjoy!
configs/engicam_imx6qdl_icore_qt5_gst1_defconfig new file +122 -0

122 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 board: icorem6: Add qt5 and gst1 support

Hello,

Quoted 3 lines · Chakra Divi

engicam_imx6qdl_icore_defconfig: *defconfig engicam_imx6qdl_icore_qt5_defconfig: *defconfig
+engicam_imx6qdl_icore_qt5_gst1_defconfig: *defconfig

I clearly don't think we want gazillions of defconfigs for the same board. So please merge this into the qt5 defconfig, instead of adding a new one.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com