Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. i.MX8M VideoOuput can't play video

i.MX8M VideoOuput can't play video

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
videooutputmultimediamediaplayervideoimx8
3 Posts 2 Posters 596 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kluszon
    wrote on 9 Apr 2024, 09:51 last edited by kluszon 4 Dec 2024, 12:42
    #1

    System: Yocto (Kirkstone)
    CPU: iMX8M
    Qt Version: 5.15.3

    I'm trying to play video from QML using MediaPlayer and VideoOutput unfortunately I can hear only sound using implementation as in example 1. I tried use gst-pipeline as in example 2, but in this case I have video output in separate window without sound. Playing works perfectly directly from gstreamer.

    Gstreamer command:

    gst-launch-1.0 playbin uri=file:/home/root/samsung.mkv
    

    QML example 1:

    import QtQuick 2.15
    import QtQuick.Window 2.15
    import QtMultimedia 5.15
    
    Window {
        id: window
        visibility: Window.FullScreen
        visible: true
    
        Rectangle {
            anchors.fill: parent
            color: "black"
    
            MediaPlayer {
                id: mediaplayer
                source: "gst-pipeline: filesrc location=/home/root/samsung.mkv ! decodebin name=dec ! videoconvert ! waylandsink"
                autoPlay: true
            }
    
            VideoOutput {
                id: video
                anchors.fill: parent
                source: mediaplayer
                fillMode: VideoOutput.PreserveAspectFit
                smooth: true
            }
        }
    }
    

    QML example 2:

    import QtQuick 2.15
    import QtQuick.Window 2.15
    import QtMultimedia 5.15
    
    Window {
        id: window
        visibility: Window.FullScreen
        visible: true
    
        Rectangle {
            anchors.fill: parent
            color: "black"
    
            MediaPlayer {
                id: mediaplayer
                source: "file:///home/root/samsung.mkv"
                autoPlay: true
            }
    
            VideoOutput {
                id: video
                anchors.fill: parent
                source: mediaplayer
                fillMode: VideoOutput.PreserveAspectFit
                smooth: true
            }
        }
    }
    

    Log from QML demo - example 1:

    QML debugging is enabled. Only use this in a safe environment.
    0:00:00.073769242 36202 0xffff98004d60 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:701:gst_element_factory_make_with_properties: no such element factory "vaapisink"!
    0:00:00.081370799 36202 0xffff98004d60 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:701:gst_element_factory_make_with_properties: no such element factory "vaapisink"!
    0:00:00.106302993 36202 0xffff98004d60 WARN                 basesrc gstbasesrc.c:3688:gst_base_src_start_complete:<source> pad not activated yet
    0:00:00.107455737 36202 0xffff98004d60 WARN                 basesrc gstbasesrc.c:3688:gst_base_src_start_complete:<source> pad not activated yet
    
    ====== AIUR: 4.7.0 build on May 20 2022 06:51:21. ======
    	Core: MKVPARSER_01.08.17  build on Apr 26 2022 07:37:32
     file: /usr/lib/imx-mm/parser/lib_mkv_parser_arm_elinux.so.3.1
    ------------------------
        Track 00 [video_0] Enabled
    	Duration: 0:00:00.000000000
    	Language: und
        Mime:
    	video/x-h265, parsed=(boolean)true, alignment=(string)au, stream-format=(string)hev1, width=(int)3840, height=(int)2160, framerate=(fraction)59/1, codec_data=(buffer)01022000000090000000000099f000fcfdfafa00000f04200001001840010c01ffff022000000300900000030000030099999809210001002d420101022000000300900000030000030099a001e020021c4d96666924caf016a1220120800001f4800075300422000100074401c172b46240270002001e4e01891821349baa199608fc8a4839083d1340420098968000000301f48003ad4e0105ffffffa82ca2de09b51747dbbb55a4fe7fc2fc4e7832363520286275696c6420383129202d202b2d3a5b4c696e75785d5b47434320352e342e305d5b3634206269745d203130626974202d20482e3236352f4845564320636f646563202d20436f7079726967687420323031332d3230313520286329204d756c7469636f72657761726520496e63202d20687474703a2f2f783236352e6f7267202d206f7074696f6e733a20333834307832313630206670733d36303030302f313030312062697464657074683d313020777070206374753d3634206d696e2d63752d73697a653d38206d61782d74752d73697a653d33322074752d696e7472612d64657074683d312074752d696e7465722d64657074683d31206d653d33207375626d653d33206d6572616e67653d35372072656374206e6f2d616d70206d61782d6d657267653d332074656d706f72616c2d6d7670206e6f2d6561726c792d736b697020726470656e616c74793d30206e6f2d74736b6970206e6f2d74736b69702d66617374207374726f6e672d696e7472612d736d6f6f7468696e67206e6f2d6c6f73736c657373206e6f2d63752d6c6f73736c657373206e6f2d636f6e73747261696e65642d696e747261206e6f2d666173742d696e747261206f70656e2d676f70206e6f2d74656d706f72616c2d6c617965727320696e7465726c6163653d30206b6579696e743d323530206d696e2d6b6579696e743d3235207363656e656375743d34302072632d6c6f6f6b61686561643d3235206c6f6f6b61686561642d736c696365733d3420626672616d65733d3420626672616d652d626961733d3020622d61646170743d32207265663d34206c696d69742d726566733d33206c696d69742d6d6f6465732077656967687470206e6f2d776569676874622061712d6d6f64653d312071672d73697a653d33322061712d737472656e6774683d312e303020636271706f6666733d3020637271706f6666733d302072643d34207073792d72643d322e30302072646f712d6c6576656c3d32207073792d72646f713d312e3030206e6f2d72642d726566696e65207369676e68696465206465626c6f636b2073616f206e6f2d73616f2d6e6f6e2d6465626c6f636b20622d707972616d696420637574726565206e6f2d696e7472612d726566726573682072633d637266206372663d31382e302071636f6d703d302e36302071706d696e3d302071706d61783d3531207170737465703d34206970726174696f3d312e3430207062726174696f3d312e333080 
    ------------------------
    ------------------------
        Track 01 [audio_0] Enabled
    	Duration: 0:00:00.000000000
    	Language: und
        Mime:
    	audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)119056e500 
    ------------------------
    
    ====== BEEP: 4.7.0 build on May 20 2022 06:51:21. ======
    	Core: AAC decoder Wrapper  build on Jul 28 2020 10:45:34
     file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3
    0:00:00.415986661 36202 0xffff942c5300 WARN               aiurdemux aiurdemux.c:3403:aiurdemux_send_stream_newsegment: Timestamp unexpect, maybe a core parser bug!
    0:00:00.416073663 36202 0xffff942c5300 WARN               aiurdemux aiurdemux.c:3411:aiurdemux_send_stream_newsegment: Pad video: Send newseg 0:00:00.000000000 first buffer 0:00:01.051000000 
    0:00:00.416306348 36202 0xffff942c5300 WARN               aiurdemux aiurdemux.c:3403:aiurdemux_send_stream_newsegment: Timestamp unexpect, maybe a core parser bug!
    0:00:00.416337668 36202 0xffff942c5300 WARN               aiurdemux aiurdemux.c:3411:aiurdemux_send_stream_newsegment: Pad audio: Send newseg 0:00:00.000000000 first buffer 0:00:01.029000000 
    CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8  build on Sep 20 2017 15:02:50.
    
    ====== V4L2DEC: 1.20.0 build on Apr 24 2022 09:19:42. ======
    0:00:00.495889349 36202 0xffff942c55e0 WARN                    v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2h265dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
    0:00:00.501618027 36202 0xffff942c55e0 WARN                    v4l2 gstv4l2object.c:2349:gst_v4l2_object_get_streamparm:<v4l2h265dec0:src> VIDIOC_G_PARM failed
    0:00:00.501743070 36202 0xffff942c55e0 WARN                    v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2h265dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
    0:00:00.532765030 36202 0xffff800140c0 WARN         audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps
    0:00:00.577505673 36202 0xffff942c55e0 WARN          v4l2bufferpool gstv4l2bufferpool.c:848:gst_v4l2_buffer_pool_start:<v4l2h265dec0:pool0:src> Uncertain or not enough buffers, enabling copy threshold
    0:00:00.614024106 36202 0xffff800140c0 WARN                    alsa pcm_hw.c:1360:snd_pcm_hw_get_chmap: alsalib error: Cannot read Channel Map ctl
    : No such file or directory
    0:00:00.637875678 36202 0xffff88096360 WARN            v4l2videodec gstv4l2videodec.c:783:gst_v4l2_video_dec_loop:<v4l2h265dec0> Received resolution change
    0:00:00.647222911 36202 0xffff88096360 WARN                    v4l2 gstv4l2object.c:2349:gst_v4l2_object_get_streamparm:<v4l2h265dec0:src> VIDIOC_G_PARM failed
    0:00:00.647326353 36202 0xffff88096360 WARN                    v4l2 gstv4l2object.c:3379:gst_v4l2_object_save_format:<v4l2h265dec0:src> Driver bug detected, stride (1920) is too small for the width (3840)
    0:00:00.647480676 36202 0xffff88096360 WARN                    v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2h265dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
    0:00:00.653795686 36202 0xffff88096360 WARN                    v4l2 gstv4l2object.c:3379:gst_v4l2_object_save_format:<v4l2h265dec0:src> Driver bug detected, stride (2400) is too small for the width (3840)
    0:00:00.739514774 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739664777 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739716859 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739772180 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739818741 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739863622 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739907662 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.739985664 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.740033425 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.740082146 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.740130147 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.740177308 36202 0xffff88096360 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.817266538 36202 0xffff88096360 WARN            videodecoder gstvideodecoder.c:3167:gst_video_decoder_prepare_finish_frame:<v4l2h265dec0> decreasing timestamp (0:00:01.101000000 < 0:00:01.134000000)
    0:00:00.826548490 36202 0xffff88096360 WARN            videodecoder gstvideodecoder.c:3167:gst_video_decoder_prepare_finish_frame:<v4l2h265dec0> decreasing timestamp (0:00:01.101000000 < 0:00:01.134000000)
    0:00:00.826810335 36202 0xffff88096360 WARN            videodecoder gstvideodecoder.c:3167:gst_video_decoder_prepare_finish_frame:<v4l2h265dec0> decreasing timestamp (0:00:01.118000000 < 0:00:01.134000000)
    0:00:06.428477997 36202 0xffff88096360 WARN            videodecoder gstvideodecoder.c:3679:gst_video_decoder_clip_and_push_buf:<v4l2h265dec0> Dropping frame due to QoS. start:0:00:01.151000000 deadline:0:00:01.151000000 earliest_time:0:00:05.542949152
    0:00:06.428725682 36202 0xffff88096360 WARN            videodecoder gstvideodecoder.c:3679:gst_video_decoder_clip_and_push_buf:<v4l2h265dec0> Dropping frame due to QoS. start:0:00:01.168000000 deadline:0:00:01.168000000 earliest_time:0:00:05.542949152
    ...
    

    Log from QML demo - example 2:

    QML debugging is enabled. Only use this in a safe environment.
    0:00:00.073748483 35345 0xffff88004d60 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:701:gst_element_factory_make_with_properties: no such element factory "vaapisink"!
    0:00:00.081791529 35345 0xffff88004d60 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:701:gst_element_factory_make_with_properties: no such element factory "vaapisink"!
    0:00:00.154787956 35345 0xffff88004d60 WARN                 basesrc gstbasesrc.c:3688:gst_base_src_start_complete:<filesrc0> pad not activated yet
    
    ====== AIUR: 4.7.0 build on May 20 2022 06:51:21. ======
    	Core: MKVPARSER_01.08.17  build on Apr 26 2022 07:37:32
     file: /usr/lib/imx-mm/parser/lib_mkv_parser_arm_elinux.so.3.1
    ------------------------
        Track 00 [video_0] Enabled
    	Duration: 0:00:00.000000000
    	Language: und
        Mime:
    	video/x-h265, parsed=(boolean)true, alignment=(string)au, stream-format=(string)hev1, width=(int)3840, height=(int)2160, framerate=(fraction)59/1, codec_data=(buffer)01022000000090000000000099f000fcfdfafa00000f04200001001840010c01ffff022000000300900000030000030099999809210001002d420101022000000300900000030000030099a001e020021c4d96666924caf016a1220120800001f4800075300422000100074401c172b46240270002001e4e01891821349baa199608fc8a4839083d1340420098968000000301f48003ad4e0105ffffffa82ca2de09b51747dbbb55a4fe7fc2fc4e7832363520286275696c6420383129202d202b2d3a5b4c696e75785d5b47434320352e342e305d5b3634206269745d203130626974202d20482e3236352f4845564320636f646563202d20436f7079726967687420323031332d3230313520286329204d756c7469636f72657761726520496e63202d20687474703a2f2f783236352e6f7267202d206f7074696f6e733a20333834307832313630206670733d36303030302f313030312062697464657074683d313020777070206374753d3634206d696e2d63752d73697a653d38206d61782d74752d73697a653d33322074752d696e7472612d64657074683d312074752d696e7465722d64657074683d31206d653d33207375626d653d33206d6572616e67653d35372072656374206e6f2d616d70206d61782d6d657267653d332074656d706f72616c2d6d7670206e6f2d6561726c792d736b697020726470656e616c74793d30206e6f2d74736b6970206e6f2d74736b69702d66617374207374726f6e672d696e7472612d736d6f6f7468696e67206e6f2d6c6f73736c657373206e6f2d63752d6c6f73736c657373206e6f2d636f6e73747261696e65642d696e747261206e6f2d666173742d696e747261206f70656e2d676f70206e6f2d74656d706f72616c2d6c617965727320696e7465726c6163653d30206b6579696e743d323530206d696e2d6b6579696e743d3235207363656e656375743d34302072632d6c6f6f6b61686561643d3235206c6f6f6b61686561642d736c696365733d3420626672616d65733d3420626672616d652d626961733d3020622d61646170743d32207265663d34206c696d69742d726566733d33206c696d69742d6d6f6465732077656967687470206e6f2d776569676874622061712d6d6f64653d312071672d73697a653d33322061712d737472656e6774683d312e303020636271706f6666733d3020637271706f6666733d302072643d34207073792d72643d322e30302072646f712d6c6576656c3d32207073792d72646f713d312e3030206e6f2d72642d726566696e65207369676e68696465206465626c6f636b2073616f206e6f2d73616f2d6e6f6e2d6465626c6f636b20622d707972616d696420637574726565206e6f2d696e7472612d726566726573682072633d637266206372663d31382e302071636f6d703d302e36302071706d696e3d302071706d61783d3531207170737465703d34206970726174696f3d312e3430207062726174696f3d312e333080 
    ------------------------
    ------------------------
        Track 01 [audio_0] Enabled
    	Duration: 0:00:00.000000000
    	Language: und
        Mime:
    	audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)119056e500 
    ------------------------
    
    ====== BEEP: 4.7.0 build on May 20 2022 06:51:21. ======
    	Core: AAC decoder Wrapper  build on Jul 28 2020 10:45:34
     file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3
    0:00:00.365799353 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3403:aiurdemux_send_stream_newsegment: Timestamp unexpect, maybe a core parser bug!
    0:00:00.365933156 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3411:aiurdemux_send_stream_newsegment: Pad video: Send newseg 0:00:00.000000000 first buffer 0:00:01.051000000 
    0:00:00.366171721 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3403:aiurdemux_send_stream_newsegment: Timestamp unexpect, maybe a core parser bug!
    0:00:00.366202322 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3411:aiurdemux_send_stream_newsegment: Pad audio: Send newseg 0:00:00.000000000 first buffer 0:00:01.029000000 
    CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8  build on Sep 20 2017 15:02:50.
    
    ====== V4L2DEC: 1.20.0 build on Apr 24 2022 09:19:42. ======
    0:00:00.415865347 35345 0xffff7409f9e0 WARN                    v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2h265dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
    0:00:00.417812627 35345 0xffff7409f9e0 WARN                    v4l2 gstv4l2object.c:2349:gst_v4l2_object_get_streamparm:<v4l2h265dec0:src> VIDIOC_G_PARM failed
    0:00:00.417894589 35345 0xffff7409f9e0 WARN                    v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2h265dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
    0:00:00.419164575 35345 0xffff7409f9e0 WARN                    v4l2 gstv4l2object.c:3379:gst_v4l2_object_save_format:<v4l2h265dec0:src> Driver bug detected, stride (1920) is too small for the width (3840)
    0:00:00.422654727 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.424950855 35345 0xffff7409f9e0 WARN                    v4l2 gstv4l2object.c:5020:gst_v4l2_object_decide_allocation:<v4l2h265dec0:src> video sink can't support modifier: -1152921504606846975
    0:00:00.449376159 35345 0xffff7409f9e0 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (3840) is different from the one computed from the alignment (2400)
    0:00:00.449506842 35345 0xffff7409f9e0 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (3840) is different from the one computed from the alignment (2400)
    0:00:00.449557603 35345 0xffff7409f9e0 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (3840) is different from the one computed from the alignment (2400)
    0:00:00.449622884 35345 0xffff7409f9e0 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (3840) is different from the one computed from the alignment (2400)
    0:00:00.449678085 35345 0xffff7409f9e0 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (3840) is different from the one computed from the alignment (2400)
    0:00:00.458573869 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.458696152 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.458746433 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.458792754 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.526126504 35345 0xffff6c00f700 WARN            v4l2videodec gstv4l2videodec.c:783:gst_v4l2_video_dec_loop:<v4l2h265dec0> Received resolution change
    0:00:00.532392553 35345 0xffff6c00f700 WARN                    v4l2 gstv4l2object.c:2349:gst_v4l2_object_get_streamparm:<v4l2h265dec0:src> VIDIOC_G_PARM failed
    0:00:00.532489755 35345 0xffff6c00f700 WARN                    v4l2 gstv4l2object.c:3379:gst_v4l2_object_save_format:<v4l2h265dec0:src> Driver bug detected, stride (1920) is too small for the width (3840)
    0:00:00.532635678 35345 0xffff6c00f700 WARN                    v4l2 gstv4l2object.c:4623:gst_v4l2_object_probe_caps:<v4l2h265dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
    0:00:00.535472897 35345 0xffff6c00f700 WARN                    v4l2 gstv4l2object.c:3379:gst_v4l2_object_save_format:<v4l2h265dec0:src> Driver bug detected, stride (2400) is too small for the width (3840)
    0:00:00.537875707 35345 0xffff6c00f700 WARN                    v4l2 gstv4l2object.c:5020:gst_v4l2_object_decide_allocation:<v4l2h265dec0:src> video sink can't support modifier: -1152921504606846975
    0:00:00.612599690 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.612780533 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.612835135 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.612885176 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.612929216 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.612983338 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.613029779 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.613073459 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.613118820 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.613165141 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.613213142 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.613257783 35345 0xffff6c00f700 WARN               videometa gstvideometa.c:414:gst_video_meta_validate_alignment: Stride of plane 0 defined in meta (4800) is different from the one computed from the alignment (3008)
    0:00:00.617801077 35345 0xffff6c00f700 WARN                    v4l2 gstv4l2object.c:5020:gst_v4l2_object_decide_allocation:<v4l2h265dec0:src> video sink can't support modifier: -1152921504606846975
    0:00:00.666818969 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.666931892 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.667121616 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.667178137 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.687718841 35345 0xffff6c00f700 WARN                 default wlutils.c:152:gst_wl_init_surface_state: init surface_state to fullscreen (1920x1048) panel-height (32)
    0:00:00.716432314 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.716526276 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:00.716580037 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:01.828626319 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3167:gst_video_decoder_prepare_finish_frame:<v4l2h265dec0> decreasing timestamp (0:00:01.101000000 < 0:00:01.134000000)
    0:00:01.833499620 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3167:gst_video_decoder_prepare_finish_frame:<v4l2h265dec0> decreasing timestamp (0:00:01.101000000 < 0:00:01.134000000)
    0:00:01.833584582 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3679:gst_video_decoder_clip_and_push_buf:<v4l2h265dec0> Dropping frame due to QoS. start:0:00:01.134000000 deadline:0:00:01.134000000 earliest_time:0:00:01.156275374
    0:00:01.834921649 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3167:gst_video_decoder_prepare_finish_frame:<v4l2h265dec0> decreasing timestamp (0:00:01.118000000 < 0:00:01.134000000)
    0:00:01.834995931 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3679:gst_video_decoder_clip_and_push_buf:<v4l2h265dec0> Dropping frame due to QoS. start:0:00:01.134000000 deadline:0:00:01.134000000 earliest_time:0:00:01.156275374
    0:00:01.836372599 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3679:gst_video_decoder_clip_and_push_buf:<v4l2h265dec0> Dropping frame due to QoS. start:0:00:01.134000000 deadline:0:00:01.134000000 earliest_time:0:00:01.156275374
    0:00:01.836663365 35345 0xffff6c00f700 WARN            videodecoder gstvideodecoder.c:3679:gst_video_decoder_clip_and_push_buf:<v4l2h265dec0> Dropping frame due to QoS. start:0:00:01.151000000 deadline:0:00:01.151000000 earliest_time:0:00:01.156275374
    0:00:01.855260629 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:01.855400072 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    0:00:01.855453593 35345 0xffff7409f700 WARN               aiurdemux aiurdemux.c:3549:aiurdemux_push_pad_buffer: Pad audio push error type -1
    ...
    
    1 Reply Last reply
    0
    • Cleiton BuenoC Offline
      Cleiton BuenoC Offline
      Cleiton Bueno
      wrote on 15 Apr 2024, 00:14 last edited by
      #2

      If using gst-launch-1.0 then drivers and codecs are ok.

      The problem is probably with QtMultimedia, attach here the output of the command below to return the configuration enabled in the qtmultimedia compilation:

      bitbake -e qtmultimedia | grep ^PACKAGECONFIG
      
      
      K 1 Reply Last reply 15 Apr 2024, 08:48
      0
      • Cleiton BuenoC Cleiton Bueno
        15 Apr 2024, 00:14

        If using gst-launch-1.0 then drivers and codecs are ok.

        The problem is probably with QtMultimedia, attach here the output of the command below to return the configuration enabled in the qtmultimedia compilation:

        bitbake -e qtmultimedia | grep ^PACKAGECONFIG
        
        
        K Offline
        K Offline
        kluszon
        wrote on 15 Apr 2024, 08:48 last edited by kluszon
        #3

        @Cleiton-Bueno

        Command output:

        PACKAGECONFIG="gstreamer                    alsa                     gstreamer"
        PACKAGECONFIG_CONFARGS=" -alsa -gstreamer 1.0 -no-feature-openal -no-pulseaudio"
        PACKAGECONFIG_OPENSSL="openssl"
        

        @edit

        I also discovered that there is no "qmlgl" (qmlgloverlay, qmlglsink, qmlglsrc) in the system which should be provided by gstreamer1.0-plugins-good. I forced to build packet configurated for qt5 by add line in my local.conf:

        PACKAGECONFIG:append:pn-gstreamer1.0-plugins-good = " qt5"
        

        After that I have available qmlglsink and other. I still can't play video directly from file because effect is the same no image. I tried to build pipeline:

        source: "gst-pipeline: filesrc location=/home/root/dillama_1080p.mp4 ! decodebin name=dec ! videoconvert ! qmlglsink widget"
        

        I can't set required pointer to qml widget for qmlglsink. How do it?

        1 Reply Last reply
        0

        1/3

        9 Apr 2024, 09:51

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved