Unable to play videos through qtmultimedia using gstreamer-1.0 for imx6 by yocto build image. Showing No m_videoSink available!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to play videos through qtmultimedia using gstreamer-1.0 for imx6 by yocto build image. Showing No m_videoSink available!

2,753 Views
madhureddy
Contributor I

Hello All,

 

I am unable to play videos through qtmultimedia gstreamer-1.0 for imx6.

meta-qt5: dizzy

from HMI, i am trying to play video, it showing the below message.

 

root@nitrogen6x:~# ./HMI_IVI_APP_2.2/HMI_IVI_APP/HMI_IVI_APP --platform eglfs &

[1] 318

root@nitrogen6x:~# QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.

If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1

Unable to query physical screen size, defaulting to 100 dpi.

To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

qml: disabling the mouse area

qml: @ normal screen

qml: From JS file To 1

qml: Current index = 1

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: 3

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: [file:///home/root/HMI_IVI_APP_2.2/HMI_IVI_APP/C++ Qt 40 - QMap.mp4]

qml: @ Before loading Global.filename file:///home/root/HMI_IVI_APP_2.2/HMI_IVI_APP/C++ Qt 40 - QMap.mp4

No m_videoSink available!

libpng warning: iCCP: known incorrect sRGB profile

Could not resolve property : Polkadots-largewhite

qml: @ full screen

 

====== AIUR: 4.0.3 build on Jan 20 2016 23:33:57. ======

Core: MPEG4PARSER_06.09.00 build on Apr 16 2014 02:20:23

file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2

 

[1]+ Done(1) ./HMI_IVI_APP_2.2/HMI_IVI_APP/HMI_IVI_APP --platform eglfs

root@nitrogen6x:~# ./HMI_IVI_APP_2.2/HMI_IVI_APP/HMI_IVI_APP --platform eglfs &

Original Attachment has been moved to: m_videoSink_not_available_log.txt.zip

0 Kudos
Reply
4 Replies

1,559 Views
igorpadykov
NXP Employee
NXP Employee

Hi Madhu

please try demo applications (only available in platforms that have

hardware video codec) on X11 as described in sect.6.4 "Freescale Qt

Applications"  attached Release Notes. Below NXP BSP

Board Support Packages (32)

L3.14.52_1.1.0_MX6QDLSOLO (REV L3.14.52_1.1.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

regarding nitrogen6x BSPs please post on meta-fsl-arm mailing list,

so that someone familiar with these boards could try to assist you.

https://lists.yoctoproject.org/listinfo/meta-freescale

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,559 Views
madhureddy
Contributor I

Hi igorpadykov,

Thanks for your answer.

But I am working for nitrogen6x board.

through qtgstreamer on wayland trying to play videos, showing the below message.

root@nitrogen6x:~# ./HMI_IVI_APP_2.2/HMI_IVI_APP/HMI_IVI_APP --platform eglfs &

[1] 318

root@nitrogen6x:~# QEglFSImx6Hooks will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.

If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1

Unable to query physical screen size, defaulting to 100 dpi.

To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: known incorrect sRGB profile

qml: disabling the mouse area

qml: @ normal screen

qml: From JS file To 1

qml: Current index = 1

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: enabling the mouse area

qml: 3

qml: @ normal screen

qml: enabling the mouse area

qml: @ normal screen

qml: [file:///home/root/HMI_IVI_APP_2.2/HMI_IVI_APP/C++ Qt 40 - QMap.mp4]

qml: @ Before loading Global.filename file:///home/root/HMI_IVI_APP_2.2/HMI_IVI_APP/C++ Qt 40 - QMap.mp4

No m_videoSink available!

libpng warning: iCCP: known incorrect sRGB profile

Could not resolve property : Polkadots-largewhite

qml: @ full screen

====== AIUR: 4.0.3 build on Jan 20 2016 23:33:57. ======

Core: MPEG4PARSER_06.09.00 build on Apr 16 2014 02:20:23

file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2

[1]+ Done(1) ./HMI_IVI_APP_2.2/HMI_IVI_APP/HMI_IVI_APP --platform eglfs

root@nitrogen6x:~# ./HMI_IVI_APP_2.2/HMI_IVI_APP/HMI_IVI_APP --platform eglfs &

0 Kudos
Reply

1,559 Views
gary_bisson
Senior Contributor III

Hi Madhu,

I looks like the QtMultimedia component doesn't really take eglfs into account:

[Development]  The dark side of QtMultimedia - strikes back

Maybe you can try modifying the component to force the use of the video sink of your choice.

Also, another test would be to make sure a camerabin pipeline works fine:

$  gst-launch-1.0 camerabin

Regards,

Gary

0 Kudos
Reply

1,559 Views
igorpadykov
NXP Employee
NXP Employee

Hi Madhu

please try nxp release with sabre reference board,

regarding nitrogen6x BSPs please post on meta-fsl-arm mailing list,

so that someone familiar with these boards could try to assist you.

https://lists.yoctoproject.org/listinfo/meta-freescale

Best regards

igor

0 Kudos
Reply