This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/DRA745: Multistream video decoder

Part Number: DRA745
Other Parts Discussed in Thread: DRA746, SYSBIOS

Tool/software: TI C/C++ Compiler

Hi

Using sdk 3.06 distribution for Jacinto 6

It's possible to play with geastreamer command line a simultaneous 3 mpeg4 videos

With ti hardware accelerator ?

Regards

  • Hi Taha,

    Yes, it possible to playback 4 1280x720p with gstreamer but all different processes and video-sink needs to be waylandsink.

    You can try this.

    gst-launch-1.0 playbin uri=file:///home/root/stream1.mp4 video-sink=waylandsink &

    gst-launch-1.0 playbin uri=file:///home/root/stream2.mp4 video-sink=waylandsink &

    gst-launch-1.0 playbin uri=file:///home/root/stream3.mp4 video-sink=waylandsink &

    Is this what looking for? or with one gstremer process, you want to decode 3 streams?

    Thanks

    RamPrasad

  • Hi Mr RamPrasad

    Thanks for your reply

    But I would like to  run simultaneously two videos  side by side ( for example inside the same videobox)

    Thanks

  • Hi Taha,

    For such a usecase, you may have to use a gstreamer based compositor plugin.

    There are opensource software plugins to do this  and currently TI doesn't have any hardware based gstreamer plugin(using IPs like GC320, SGX etc).

    RamPrasad

  • Hi Mr RamPrasad

    I want to decode 2 streams with one gstremer process.

    I tried with the ducati hardware accelerator and video mxing plugins , as follows:

    gst-launch-1.0 \
        videomixer name=mix ! waylandsink \
           filesrc location=/run/media/mmcblk2p2/test1.mp4 ! qtdemux !  h264parse ! ducatih264dec ! vpe ! 'video/x-raw, format=(string)YUY2, width=(int)960, height=(int)540' ! alpha alpha=1.0  ! videobox  left=-960 bottom=-540 ! mix. \
          filesrc location=/run/media/mmcblk2p2/test1.mp4 ! qtdemux !  h264parse ! ducatih264dec ! vpe ! 'video/x-raw, format=(string)YUY2, width=(int)960, height=(int)540' ! alpha alpha=1.0  ! videobox  left=-960 bottom=-540 ! mix.


    But the playback is too slow :

    Pipeline is PREROLLING ...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: A lot of buffers are being dropped.
    Additional debug info:
    ../../../../gstreamer-1.14.4/libs/gst/base/gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0:
    There may be a timestamping problem, or this computer is too slow.

    Thanks

  • Hi Taha,

    WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: A lot of buffers are being dropped.

    This warning is expected as videomixer is a software based mixer. 

    Are you able to see the video on waylandsink?

    Please add use-drm=true property to waylandsink.

    RamPrasad

  • Hi RamPrasad

    In the pipeline i mixed  two videos, and only one of them  is displayed and the playback is too slow.

    I try with  use-drm=true but the result is the same (the playback is too slow) .

    I think the problem is related to the use of videobox plugin,

    thanks,

    Taha

  • Hi Taha,

    Yes, your understanding is correct. Videobox and videomixer are software based plugins. Real time performance is not guaranteed for high resolution streams.

    You can try with smaller resolution streams(352x288).

    As there is no hardware based plugins available in gstreamer, this will remain a known issue.

    Thanks

    Ram

  • Hi RamPrasad

    Thanks  a lot  for your reply

    I have another question about 4k vide decoding (  3840x2160),

    With dra746 ti, it's possible to display this type of video?

    I try with this gstreamer pipeline command but the result is not OK ( I can't play the video)

    Gst-launch-1.0 filesrc location= bbb_sunflower_2160p_39ps_normal.mp4 ! qtdemux !  h264parser  !  ducatih264dec  !  wayladsink

    Regardes

    Taha

  • Hi Taha,

    IVAHD Hardware accelerator does support 4K decoding at 15fps, but currently it is not supported by gstreamer.

    If you do "gst-inspect-1.0 ducatih264dec" on your target, it shows 2048 as the maximum width and height.

    Higher resolution means , higher memory requirements.

    IPUMM which is the firmware running on IPU2 for encoding/decoding usecase, reserves 41MB of memory for heap. This is arrived for 2 1080p MPEG4 decoding + 1 1080 encoding/decoding
    simultaneously. Total memory reserved is 56MB.
    Please refer section 5.3 in


    on how this number is arrived based on the datasheets of decoder and encoder.


    Please refer the datasheets of H264encoder and H264decoder

    git clone git://git.ti.com/ivimm/ipumm.git

    You can get the datasheets for all the codecs in extrel/ti/ivahd_codecs/packages/ti/sdo/codecs

    H264Decoder datasheet says for 4K decoding memory requirment for one instance is ~40MB.

    If your usecase is one 4K decoding, then exising 41MB may be sufficient and no memory map changes are needed.

    But you will come to know this only after trying to decode 4K, then memory allocation fails means, it is sufficient.

    Gstreamer plugin needs changes to support 4096 as the max width and height.

    Ram

  • Hi  RamPrasad

    It's possible to playback an mpeg4/h264 video with resolution 1920x1080  in clone mode (lcd and hdmi) using the viddec3test application ?

    I try with this command:

    viddec3test -s 57:1920x1200 -s 54:1920:1080 test_video. Mpeg4

    But the play start and crush immediately.

    Lcd with connector id=57 and hdmi with connector id=54.

    Have you any idea about this problem.

    Regards

    Faidi.

  • Hi Faidi,

    Are you trying this with vision-sdk 3.06 filesystem? We haven't tried running kms applications with vDRM

    but with PSDKLA, this should work without any issue.

    What is the issue you are seeing? Can you share the logs?

    Thanks

    RamPrasad

  • Hi RamPrasad

    Sorry i'm using 6.00.00.03 Processor SDK Linux Automotive Release version with 4.19 Kernel Version.

    And before running viddec3test, i stop the weston with this command:
    /etc/init.d/weston stop

    viddec3test --debug /run/media/mmcblk2p2/bbb_sunflower_1080p_30fps_normal.mp4 -s 54:1920x1080  -s 57:1920x1080

    logs:

    root@dra7xx-evm:~# viddec3test --debug /run/media/mmcblk2p2/bbb_sunflower_1080p_30fps_normal.mp4 -s 54:1920x1080  -s 57:1920x1080
    0x2c150: Opening Display..
    Enabling dynamic debug.
    using 2 connectors, 3840x1200 display, multiplanar: 1
    Setting mode 1920x1080 on connector 54, crtc 56
    Setting mode 1920x1080 on connector 57, crtc 58
    0x2c150: Opening Demuxer..
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/run/media/mmcblk2p2/bbb_sunflower_1080p_30fps_normal.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2013-12-16T17:44:39.000000Z
        title           : Big Buck Bunny, Sunflower version
        artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
        comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
        genre           : Animation
        composer        : Sacha Goedegebure
      Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
        Metadata:
          creation_time   : 2013-12-16T17:44:39.000000Z
          handler_name    : GPAC ISO Video Handler
        Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
        Metadata:
          creation_time   : 2013-12-16T17:44:42.000000Z
          handler_name    : GPAC ISO Audio Handler
        Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
        Metadata:
          creation_time   : 2013-12-16T17:44:42.000000Z
          handler_name    : GPAC ISO Audio Handler
        Side data:
          audio service type: main
    initializing bitstream filter
    0x2c150: infile=/run/media/mmcblk2p2/bbb_sunflower_1080p_30fps_normal.mp4, width=1920, height=1080
    0x2c150: padded_width=2048, padded_height=1184, num_buffers=7
    Page flip: frame=1728, sec=174, usec=395595, r[  174.404335] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    emaining=1
    Page flip: frame=1719, sec=174, usec=400847, remaining=0
    0x2c150: Opening Engine..
    displayBufsMode: 1
    0x2c150: push: 1156 bytes (0x63238)
    0x2c150: processed returned in: 12325us
    0x2c150: push: 12284 bytes (0xca140)
    0x2c150: processed returned in: 11740us
    0x2c150: push: 12109 bytes (0x581d0)
    0x2c150: processed returned in: 11152us
    0x2c150: push: 15327 bytes (0x34ca0)
    0x2c150: processed returned in: 11173us
    0x2c150: push: 310 bytes (0xf8bc0)
    0x2c150: processed returned in: 15281us
    0x2c150: push: 8658 bytes (0x63960)
    0x2c150: processed returned in: 11385us
    0x2c150: push: 1837 bytes (0xaf678)
    0x2c150: processed returned in: 11903us
    0x2c150: push: 1268 bytes (0x63238)
    0x2c150: processed returned in: 16157us
    0x2c150: push: 161 bytes (0xca140)
    0x2c150: processed returned in: 15823us
    0x2c150: push: 311 bytes (0xf8bc0)
    0x2c150: processed returned in: 15475us
    0x2c150: push: 448 bytes (0x581d0)
    0x2c150: processed returned in: 16168us
    0x2c150: push: 362 bytes (0x34ca0)
    0x2c150: processed returned in: 15982us
    0x2c150: push: 388 bytes (0xca140)
    0x2c150: processed returned in: 15502us
    0x2c150: push: 308 bytes (0xf8bc0)
    0x2c150: processed returned in: 16150us
    0x2c150: push: 437 bytes (0x581d0)
    0x2c150: processed returned in: 15831us
    0x2c150: push: 389 bytes (0x34ca0)
    0x2c150: processed returned in: 15471us
    0x2c150: push: 394 bytes (0xca140)
    0x2c150: processed returned in: 16088us
    0x2c150: push: 397 bytes (0xf8bc0)
    0x2c150: processed returned in: 15794us
    0x2c150: push: 442 bytes (0x581d0)
    0x2c150: processed returned in: 15793us
    0x2c150: push: 343 bytes (0x34ca0)
    0x2c150: processed returned in: 15460us
    0x2c150: push: 1132 bytes (0xca140)
    0x2c150: processed returned in: 12086us
    0x2c150: push: 371 bytes (0xf8bc0)
    0x2c150: processed returned in: 15637us
    0x2c150: push: 1178 bytes (0x63960)
    0x2c150: processed returned in: 11302us
    0x2c150: push: 411 bytes (0x581d0)
    0x2c150: processed returned in: 15785us
    0x2c150: push: 270 bytes (0x34ca0)
    0x2c150: processed returned in: 15486us
    0x2c150: push: 1170 bytes (0xaf678)
    0x2c150: processed returned in: 12130us
    0x2c150: push: 367 bytes (0xf8bc0)
    0x2c150: processed returned in: 15636us
    0x2c150: push: 208 bytes (0x63238)
    0x2c150: processed returned in: 15482us
    0x2c150: push: 228 bytes (0x34ca0)
    0x2c150: processed returned in: 16115us
    0x2c150: push: 903 bytes (0xca140)
    0x2c150: processed returned in: 11816us
    0x2c150: push: 516 bytes (0x581d0)
    0x2c150: processed returned in: 15612us
    0x2c150: push: 340 bytes (0x63238)
    0x2c150: processed returned in: 15915us
    0x2c150: push: 1004 bytes (0x63960)
    0x2c150: processed returned in: 11961us
    0x2c150: push: 454 bytes (0x34ca0)
    0x2c150: processed returned in: 15457us
    0x2c150: push: 230 bytes (0xaf678)
    0x2c150: processed returned in: 16024us
    0x2c150: push: 310 bytes (0x63238)
    0x2c150: processed returned in: 15804us
    0x2c150: push: 896 bytes (0xf8bc0)
    0x2c150: processed returned in: 11482us
    0x2c150: push: 1343 bytes (0x581d0)
    0x2c150: processed returned in: 11244us
    0x2c150: push: 686 bytes (0xaf678)
    0x2c150: processed returned in: 15681us
    0x2c150: push: 382 bytes (0xca140)
    0x2c150: processed returned in: 15479us
    0x2c150: push: 405 bytes (0x63238)
    0x2c150: processed returned in: 16127us
    0x2c150: push: 1818 bytes (0x34ca0)
    0x2c150: processed returned in: 11832us
    0x2c150: push: 375 bytes (0x63960)
    0x2c150: processed returned in: 15430us
    0x2c150: push: 1836 bytes (0xca140)
    0x2c150: processed returned in: 12162us
    0x2c150: push: 382 bytes (0xf8bc0)
    0x2c150: processed returned in: 15912us
    0x2c150: push: 273 bytes (0x63238)
    0x2c150: processed returned in: 15256us
    0x2c150: push: 202 bytes (0xaf678)
    0x2c150: processed returned in: 15274us
    0x2c150: push: 861 bytes (0x63960)
    0x2c150: processed returned in: 11795us
    0x2c150: push: 130 bytes (0x63238)
    0x2c150: processed returned in: 16743us
    0x2c150: push: 169 bytes (0x581d0)
    0x2c150: processed returned in: 16153us
    0x2c150: push: 142 bytes (0x34ca0)
    0x2c150: processed returned in: 15941us
    0x2c150: push: 80 bytes (0xaf678)
    0x2c150: processed returned in: 15502us
    0x2c150: push: 648 bytes (0x581d0)
    0x2c150: processed returned in: 11450us
    0x2c150: push: 212 bytes (0x34ca0)
    0x2c150: processed returned in: 15919us
    0x2c150: push: 90 bytes (0xf8bc0)
    0x2c150: processed returned in: 15494us
    0x2c150: push: 82 bytes (0xca140)
    0x2c150: processed returned in: 16267us
    0x2c150: push: 88 bytes (0xaf678)
    0x2c150: processed returned in: 15817us
    0x2c150: push: 111 bytes (0xf8bc0)
    0x2c150: processed returned in: 15799us
    0x2c150: push: 1399 bytes (0xca140)
    0x2c150: processed returned in: 11441us
    0x2c150: push: 417 bytes (0x63238)
    0x2c150: processed returned in: 15821us
    0x2c150: push: 289 bytes (0xaf678)
    0x2c150: processed returned in: 16208us
    0x2c150: push: 231 bytes (0x63960)
    0x2c150: processed returned in: 15284us
    0x2c150: push: 1441 bytes (0xf8bc0)
    0x2c150: processed returned in: 11792us
    0x2c150: push: 272 bytes (0xaf678)
    0x2c150: processed returned in: 15641us
    0x2c150: push: 229 bytes (0x34ca0)
    0x2c150: processed returned in: 16118us
    0x2c150: push: 1696 bytes (0x581d0)
    0x2c150: processed returned in: 11893us
    0x2c150: push: 462 bytes (0x63960)
    0x2c150: processed returned in: 15489us
    0x2c150: push: 272 bytes (0xca140)
    0x2c150: processed returned in: 15993us
    0x2c150: push: 293 bytes (0x34ca0)
    0x2c150: processed returned in: 15781us
    0x2c150: push: 249 bytes (0x63238)
    0x2c150: processed returned in: 15484us
    0x2c150: push: 209 bytes (0xaf678)
    0x2c150: processed returned in: 16283us
    0x2c150: push: 1007 bytes (0xca140)
    0x2c150: processed returned in: 11806us
    0x2c150: push: 137 bytes (0x34ca0)
    0x2c150: processed returned in: 15294us
    0x2c150: push: 1243 bytes (0xf8bc0)
    0x2c150: processed returned in: 11299us
    0x2c150: push: 214 bytes (0x63238)
    0x2c150: processed returned in: 15704us
    0x2c150: push: 115 bytes (0xaf678)
    0x2c150: processed returned in: 15323us
    0x2c150: push: 92 bytes (0x63960)
    0x2c150: processed returned in: 15307us
    0x2c150: push: 869 bytes (0x34ca0)
    0x2c150: processed returned in: 11756us
    0x2c150: push: 83 bytes (0xaf678)
    0x2c150: processed returned in: 15613us
    0x2c150: push: 80 bytes (0x581d0)
    0x2c150: processed returned in: 16160us
    0x2c150: push: 695 bytes (0xca140)
    0x2c150: processed returned in: 11949us
    0x2c150: push: 89 bytes (0x63960)
    0x2c150: processed returned in: 15466us
    0x2c150: push: 71 bytes (0xf8bc0)
    0x2c150: processed returned in: 16008us
    0x2c150: push: 70 bytes (0x581d0)
    0x2c150: processed returned in: 15804us
    0x2c150: push: 344 bytes (0x63238)
    0x2c150: processed returned in: 11488us
    0x2c150: push: 92 bytes (0xaf678)
    0x2c150: processed returned in: 16256us
    0x2c150: push: 79 bytes (0xf8bc0)
    0x2c150: processed returned in: 15678us
    0x2c150: push: 68 bytes (0x34ca0)
    0x2c150: processed returned in: 15610us
    0x2c150: push: 67 bytes (0x581d0)
    0x2c150: processed returned in: 16173us
    0x2c150: push: 73 bytes (0xf8bc0)
    0x2c150: processed returned in: 16061us
    0x2c150: push: 247 bytes (0x34ca0)
    0x2c150: processed returned in: 11793us
    0x2c150: push: 233 bytes (0x63960)
    0x2c150: processed returned in: 12135us
    0x2c150: push: 611 bytes (0x581d0)
    0x2c150: processed returned in: 11848us
    0x2c150: push: 119 bytes (0xca140)
    0x2c150: processed returned in: 15649us
    0x2c150: push: 73 bytes (0xf8bc0)
    0x2c150: processed returned in: 15966us
    0x2c150: push: 67 bytes (0x63238)
    0x2c150: processed returned in: 15797us
    0x2c150: push: 89 bytes (0xaf678)
    0x2c150: processed returned in: 15465us
    0x2c150: push: 113 bytes (0x34ca0)
    0x2c150: processed returned in: 15308us
    0x2c150: push: 996 bytes (0xf8bc0)
    0x2c150: processed returned in: 11780us
    0x2c150: push: 364 bytes (0x63238)
    0x2c150: processed returned in: 15484us
    0x2c150: push: 185 bytes (0xaf678)
    0x2c150: processed returned in: 15270us
    0x2c150: push: 187 bytes (0x63960)
    0x2c150: processed returned in: 15943us
    0x2c150: push: 1045 bytes (0x34ca0)
    0x2c150: processed returned in: 11453us
    0x2c150: push: 378 bytes (0xaf678)
    0x2c150: processed returned in: 16227us
    0x2c150: push: 223 bytes (0xca140)
    0x2c150: processed returned in: 15737us
    0x2c150: push: 205 bytes (0x581d0)
    0x2c150: processed returned in: 15608us
    0x2c150: push: 1986 bytes (0x63960)
    0x2c150: processed returned in: 12120us
    0x2c150: push: 2884 bytes (0xca140)
    0x2c150: processed returned in: 13941us
    0x2c150: push: 667 bytes (0x63238)
    0x2c150: processed returned in: 16199us
    0x2c150: push: 2745 bytes (0xf8bc0)
    0x2c150: processed returned in: 13965us
    0x2c150: push: 743 bytes (0x581d0)
    0x2c150: processed returned in: 11174us
    0x2c150: push: 3987 bytes (0x63238)
    0x2c150: processed returned in: 12587us
    0x2c150: push: 3757 bytes (0xaf678)
    0x2c150: processed returned in: 11823us
    0x2c150: push: 1851 bytes (0x34ca0)
    0x2c150: processed returned in: 15272us
    0x2c150: push: 300 bytes (0xf8bc0)
    0x2c150: processed returned in: 16049us
    0x2c150: push: 2751 bytes (0xaf678)
    0x2c150: processed returned in: 13458us
    0x2c150: push: 3378 bytes (0x34ca0)
    0x2c150: processed returned in: 11799us
    0x2c150: push: 2587 bytes (0xf8bc0)
    0x2c150: processed returned in: 14730us
    0x2c150: push: 3639 bytes (0xaf678)
    0x2c150: processed returned in: 12463us
    ERROR:decoder_process:349: 0x2c150: fail: out of buffers

    Thanks,

    Faidi

  • Hi Faidi,

    I suspect this is some issue with the stream you are using.

    Can you confirm the playback works fine for a single connector?

    or you can check the clone mode for a different stream. Some streams are available in /usr/share/ti/video

    Thanks

    RamPrasad

  • Hi RamPrasad

    The playback does not works  even for a single connector (LCD or HDMI)

    May be the problem is related to the video resolution  (1920x1080), for example this resolution is not supported by the viddec3test application.

    I tried with the available videos (TearOfSteel-Short-1280x540.h264 max resolution) in  /usr/share/ti/video , and not problem, the video is played correctly in the two screens.

    Thanks,

    Faidi

  • Hi Faidi,

    We have tested many 1920x1080 streams but did not observe any issues.

    You can generate 1920x1080 with this command

    gst-launch-1.0 videotestsrc num-buffers=100 ! 'video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080' ! ducatih264enc inter-interval=1 ! h264parse ! mp4mux ! filesink location=out.mp4

    and test with viddec3test. This is working fine on my HDMI connector  with 1920x1080 resolution.

    I suspect issue is happening for your specific stream. If possible please share the stream.

    Thanks

    RamPrasad

  • Hi RamPrasad,

    I tried with this stream video  bbb_sunflower_1080p_30fps_normal.mp4

    I get it from this link:

    download.blender.org/.../bbb_sunflower_1080p_30fps_normal.mp4

    Thanks,

    Faidi

  • Hi Faidi,

    I am downloading this stream. Will check if there is any issue with viddec3test.

    Thanks

    RamPrasad

  • Hi Faidi,

    I downloaded the stream and issue was reproduced with viddec3test. 

    Viddec3test exits with the error ""fail: out of buffers".

    This is due viddec3test not allocating enough buffers for playback of this stream. Application allocates the buffers based on this calculations.

    decoder->num_outBuf = MIN(16, 32768 / ((width/16) * (height/16))) + 3;

    Here, as per H264 standard, number of outputbuffers requirement is related to width and height of the stream and + 3 is also added as a buffer.

    but this is not enough for this stream. Gstreamer is allocating 9 output buffers hence issue is not seen.

    Please make this change in viddec3test and test, it should work now.

    - decoder->num_outBuf = MIN(16, 32768 / ((width/16) * (height/16))) + 3;
    + decoder->num_outBuf = MIN(16, 32768 / ((width/16) * (height/16))) + 6;

     

    Thanks

    RamPrasad

  • Hi RamPrasad

    Thanks a lot for your response

    I have a question a bout the capability of the jacinto 6 board with PROCESSOR-SDK-LINUX-AUTOMOTIVE  6_00_00_03.

    it's possible to play four videos (bbb_sunflower_1080p_30fps_normal.mp4 (resolution= 1920x1080) side by side specifying output window coordinates:

    • Video 1: (x=0, y=0, width=960, height=540).
    • Video 2: (x=960, y=0, width=960, height=540).

    • Video 3: (x=0, y=540, width=960, height=540).

    • Video 4: (x=960, y=540, width=960, height=540).

    I try to playback them (four videos) by using the gstreamer plugins (gst-launch-1.0 -v filesrc location=/run/media/mmcblk2p2/bbb_sunflower_1080p_60fps_normal.mp4 !  qtdemux !  h264parse ! ducatih264dec ! waylandsink use-drm=true )  without specifying output window coordinates and by running of four independents process, but i think this board does not support the decoding of more than two Fullhd videos (1920x1080).

     

    Regards,

    FAIDI

  • Hi Faidi,

    IVAHD is capable of decoding 2 instances of 1080p@30 or one instance of 108p@60 fps stream.

    Four 1080@30 is not possible in real time. 

    Thanks

    RamPrasad

  • Hi RamPrasad

    I'm trying to integrate the Qtwebbrowser in the dra7xx  sdk yocto image (PROCESSOR-SDK-LINUX-AUTOMOTIVE  6_00_00_03).

    The qtwebbrowser is successfully integrated in the sdk image, but when i run it , i get this error:

    1447:1469:0312/182406.754191:ERROR:gl_surface_qt.cpp(296)] eglCreatePbufferSurface failed and surfaceless context not available
    [1447:1469:0312/182406.754226:ERROR:gl_surface_qt.cpp(303)] Requested OpenGL implementation is not supported. Implementation: 0

    have you any idea about this error.

    Regards,

    Faidi,
     

  • Hi Faidi,

    Can you create a new thread for this new issue?

    Ram

  • Hi Ramprasad

    About the IVAHD Hardware accelerator capability to decode 4K video at 15fps, but currently it is not supported by gstreamer.

    have you any idea how can i change the gstreamer plugin to support 4096 as the max width and height, for example the change is at the level of the ducati decoder or no.

    Regards

    Faidi

  • Hi Faidi,

    IPUMM which is multimedia firmware for gstreamer reserves 56MB of memory out of which 40MB is heap. 

    this could be sufficient to execute one instance of 4K decoding but not tried.

    You need to make this change in gstducati.https://git.ti.com/cgit/glsdk/gst-plugin-ducati/tree/src/gstducatih264dec.c#n105

    Here change width and height from 2048 to 4096. that could be sufficient.

    Try this out first.

    Thanks

    RamPrasad

  • HI RamPrasad,

    I have changed the width and height from 2048 to 4096 in the   gstducatih264dec.c line 105 and 106, as you mentioned in your response (proposition)

    "width = (int)[ 16, 4096 ], "

    "height = (int)[ 16, 4096 ], "

    Then i generated a new sdk version, and i try to playback a 4k video with 15 fps but  i had the following error:

    root@dra7xx-evm:~# gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! waylandsink use-drm=true
    Setting pipeline to PAUSED ...
    [  145.785395] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b676401
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drme
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.
    Additional debug info:
    ../../../gst-plugins-good-1.14.4/gst/isomp4/qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
    streaming stopped, reason error (-5)
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Freeing pipeline ...

    Regards,

    Faidi,

  • Hi Faidi,

    Can you please add --gst-debug=4 and check what is causing the error?

    Please replace waylandsink with fakesink.

    Thanks

    Ram

  • HI RamPrasad,

    Thank you for your reply.

    by running this pipeline: gst-launch-1.0 -v --gst-debug=4 filesrc location=/home/recording.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! fakesink

    I got these error messages, with more details:

    =====================================

    0:00:00.001794701  1387    0x38a80 INFO                GST_INIT gstmessage.c:127:_priv_gst_message_initialize: init messages
    0:00:00.003882365  1387    0x38a80 INFO                GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
    0:00:00.004562312  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
    0:00:00.004987035  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
    0:00:00.005030629  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
    0:00:00.005136851  1387    0x38a80 INFO            GST_REGISTRY gstregistry.c:1727:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.arm.bin
    0:00:00.062486610  1387    0x38a80 INFO            GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.arm.bin in 0.057261 seconds
    0:00:00.062647488  1387    0x38a80 INFO            GST_REGISTRY gstregistry.c:1583:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.arm.bin
    0:00:00.065208837  1387    0x38a80 INFO            GST_REGISTRY gstregistry.c:1685:scan_and_update_registry: Registry cache has not changed
    0:00:00.065241858  1387    0x38a80 INFO            GST_REGISTRY gstregistry.c:1762:ensure_current_registry: registry reading and updating done, result = 1
    0:00:00.065265120  1387    0x38a80 INFO                GST_INIT gst.c:807:init_post: GLib runtime version: 2.58.0
    0:00:00.065288706  1387    0x38a80 INFO                GST_INIT gst.c:809:init_post: GLib headers version: 2.58.0
    0:00:00.065306925  1387    0x38a80 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
    0:00:00.065364346  1387    0x38a80 INFO            GST_PIPELINE gstparse.c:337:gst_parse_launch_full: parsing pipeline description 'filesrc location=/home/recording.mp4 ! qtdemux ! queue ! h264parse ! du'
    0:00:00.067317485  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded
    0:00:00.067360754  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "filesrc"
    0:00:00.067662989  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSrc@0x1922c0> adding pad 'src'
    0:00:00.067730821  1387    0x38a80 INFO                 filesrc gstfilesrc.c:261:gst_file_src_set_location: filename : /home/recording.mp4
    0:00:00.067751642  1387    0x38a80 INFO                 filesrc gstfilesrc.c:262:gst_file_src_set_location: uri      : file:///home/recording.mp4
    0:00:00.072588698  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstisomp4.so" loaded
    0:00:00.072626925  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "qtdemux"
    0:00:00.072987882  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstQTDemux@0x19a018> adding pad 'sink'
    0:00:00.073097032  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "queue"
    0:00:00.073401706  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstQueue@0x19c1d0> adding pad 'sink'
    0:00:00.073475394  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstQueue@0x19c1d0> adding pad 'src'
    0:00:00.074662048  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideoparsersbad.so" loaded
    0:00:00.074692466  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "h264parse"
    0:00:00.410117639  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseParse@0x1a0210> adding pad 'sink'
    0:00:00.410198972  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseParse@0x1a0210> adding pad 'src'
    0:00:00.410269407  1387    0x38a80 INFO               baseparse gstbaseparse.c:3961:gst_base_parse_set_pts_interpolation:<GstH264Parse@0x1a0210> PTS interpolation: yes
    0:00:00.413164711  1387    0x38a80 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstducati.so" loaded
    0:00:00.413209932  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "ducatih264dec"
    0:00:00.413821884  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstDucatiVidDec@0x1a7000> adding pad 'sink'
    0:00:00.413874425  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstDucatiVidDec@0x1a7000> adding pad 'src'
    0:00:00.413948764  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "fakesink"
    0:00:00.414489305  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSink@0x1aa3f0> adding pad 'sink'
    0:00:00.414565759  1387    0x38a80 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "pipeline"
    0:00:00.414965756  1387    0x38a80 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstFileSrc named filesrc0 to some pad of GstQTDemux named qtdemux0 (0/0) with cap"
    0:00:00.415012279  1387    0x38a80 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element filesrc0:(any) to element qtdemux0:(any)
    0:00:00.415057988  1387    0x38a80 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link filesrc0:src and qtdemux0:sink
    0:00:00.415131676  1387    0x38a80 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: filesrc0 and qtdemux0 in same bin, no need for ghost pads
    0:00:00.415189585  1387    0x38a80 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link filesrc0:src and qtdemux0:sink
    0:00:00.415251724  1387    0x38a80 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked filesrc0:src and qtdemux0:sink, successful
    0:00:00.415280353  1387    0x38a80 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:00.415311911  1387    0x38a80 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<filesrc0:src> Received event on flushing pad. Discarding
    0:00:00.415387551  1387    0x38a80 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstQTDemux named qtdemux0 to some pad of GstQueue named queue0 (0/0) with caps "("
    0:00:00.415427729  1387    0x38a80 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element qtdemux0:(any) to element queue0:(any)
    0:00:00.750718865  1387    0x38a80 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:src> pad has no peer
    0:00:00.750823297  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:917:gst_element_get_static_pad: no such pad 'video_%u' in element "qtdemux0"
    0:00:00.750876651  1387    0x38a80 INFO        GST_ELEMENT_PADS gstutils.c:1227:gst_element_get_compatible_pad:<qtdemux0> Could not find a compatible pad to link to queue0:sink
    0:00:00.750918131  1387    0x38a80 INFO                 default gstutils.c:2162:gst_element_link_pads_filtered: Could not link pads: qtdemux0:(null) - queue0:(null)
    0:00:00.750991657  1387    0x38a80 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstQueue named queue0 to some pad of GstH264Parse named h264parse0 (0/0) with cap"
    0:00:00.751031835  1387    0x38a80 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element queue0:(any) to element h264parse0:(any)
    0:00:00.751074942  1387    0x38a80 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link queue0:src and h264parse0:sink
    0:00:00.751117561  1387    0x38a80 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:sink> pad has no peer
    0:00:00.751168638  1387    0x38a80 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<h264parse0:src> pad has no peer
    0:00:00.751228987  1387    0x38a80 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: queue0 and h264parse0 in same bin, no need for ghost pads
    0:00:00.751281854  1387    0x38a80 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link queue0:src and h264parse0:sink
    0:00:00.751323659  1387    0x38a80 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:sink> pad has no peer
    0:00:00.751371321  1387    0x38a80 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<h264parse0:src> pad has no peer
    0:00:00.751428742  1387    0x38a80 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked queue0:src and h264parse0:sink, successful
    0:00:00.751485838  1387    0x38a80 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:00.751515606  1387    0x38a80 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<queue0:src> Received event on flushing pad. Discarding
    0:00:00.751589782  1387    0x38a80 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstH264Parse named h264parse0 to some pad of GstDucatiH264Dec named ducatih264dec"
    0:00:00.751629473  1387    0x38a80 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element h264parse0:(any) to element ducatih264dec0:(any)
    0:00:00.751672254  1387    0x38a80 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link h264parse0:src and ducatih264dec0:sink
    0:00:01.086003656  1387    0x38a80 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: h264parse0 and ducatih264dec0 in same bin, no need for ghost pads
    0:00:01.086059450  1387    0x38a80 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link h264parse0:src and ducatih264dec0:sink
    0:00:01.086125005  1387    0x38a80 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked h264parse0:src and ducatih264dec0:sink, successful
    0:00:01.086153797  1387    0x38a80 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:01.086184216  1387    0x38a80 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<h264parse0:src> Received event on flushing pad. Discarding
    0:00:01.086257416  1387    0x38a80 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstDucatiH264Dec named ducatih264dec0 to some pad of GstFakeSink named fakesink0 "
    0:00:01.086297269  1387    0x38a80 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element ducatih264dec0:(any) to element fakesink0:(any)
    0:00:01.086340376  1387    0x38a80 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link ducatih264dec0:src and fakesink0:sink
    0:00:01.086402352  1387    0x38a80 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: ducatih264dec0 and fakesink0 in same bin, no need for ghost pads
    0:00:01.086452941  1387    0x38a80 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link ducatih264dec0:src and fakesink0:sink
    0:00:01.086514266  1387    0x38a80 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked ducatih264dec0:src and fakesink0:sink, successful
    0:00:01.086542408  1387    0x38a80 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:01.086571525  1387    0x38a80 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<ducatih264dec0:src> Received event on flushing pad. Discarding
    Setting pipeline to PAUSED ...
    0:00:01.086801698  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<fakesink0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.086846106  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<fakesink0> completed state change to READY
    0:00:01.086883845  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<fakesink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.086958509  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'fakes[  561.070358] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    ink0' changed state to 2(READY) successfully
    0:00:01.087008122  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.472735033  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<ducatih264dec0> completed state change to READY
    0:00:01.472816041  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.472881921  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 2(READY) successfully
    0:00:01.472942596  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.472982124  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state change to READY
    0:00:01.473018399  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.473070127  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 2(READY) successfully
    0:00:01.473115348  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.473151297  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<queue0> completed state change to READY
    0:00:01.473185945  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.473236209  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 2(READY) successfully
    0:00:01.473285823  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.473322423  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<qtdemux0> completed state change to READY
    0:00:01.473356420  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.473404895  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 2(READY) successfully
    0:00:01.473446863  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<filesrc0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.473481999  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state change to READY
    0:00:01.473516484  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.473565772  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 2(READY) successfully
    0:00:01.473624169  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
    0:00:01.808118238  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
    0:00:01.808242678  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
    0:00:01.808338814  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<fakesink0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.808406808  1387    0x38a80 INFO              GST_STATES gstbin.c:2960:gst_bin_change_state_func:<pipeline0> child 'fakesink0' is changing state asynchronously to PAUSED
    0:00:01.808455934  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.808509451  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<ducatih264dec0> completed state change to PAUSED
    0:00:01.808545238  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:01.808595176  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 3(PAUSED) successfully
    0:00:01.808643651  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.809441206  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state change to PAUSED
    0:00:01.809485614  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:01.809539456  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 3(PAUSED) successfully
    0:00:01.809585003  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.809676259  1387    0x38a80 INFO                    task gsttask.c:457:gst_task_set_lock: setting stream lock 0x1864bc on task 0x1b2028
    0:00:01.809711232  1387    0x38a80 INFO                GST_PADS gstpad.c:6154:gst_pad_start_task:<queue0:src> created task 0x1b2028
    0:00:01.809942056  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<queue0> completed state change to PAUSED
    0:00:01.809988091  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:01.810043886  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 3(PAUSED) successfully
    0:00:01.810099355  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:02.143402378  1387    0x38a80 INFO                 filesrc gstfilesrc.c:468:gst_file_src_start:<filesrc0> opening file /home/recording.mp4
    0:00:02.143488266  1387    0x38a80 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated yet
    0:00:02.143549917  1387    0x38a80 INFO                 filesrc gstfilesrc.c:468:gst_file_src_start:<filesrc0> opening file /home/recording.mp4
    0:00:02.143640685  1387    0x38a80 INFO                    task gsttask.c:457:gst_task_set_lock: setting stream lock 0x18620c on task 0x1b20d0
    0:00:02.143675495  1387    0x38a80 INFO                GST_PADS gstpad.c:6154:gst_pad_start_task:<qtdemux0:sink> created task 0x1b20d0
    0:00:02.143829053  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<qtdemux0> completed state change to PAUSED
    0:00:02.143873461  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:02.143932997  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 3(PAUSED) successfully
    0:00:02.143988466  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<filesrc0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:02.144056135  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state change to PAUSED
    0:00:02.144105261  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:02.144212458  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 3(PAUSED) successfully
    Pipeline is PREROLLING ...
    0:00:02.149997047  1387   0x1881b0 INFO                 qtdemux qtdemux.c:13222:qtdemux_parse_tree:<qtdemux0> timescale: 1800
    0:00:02.150061463  1387   0x1881b0 INFO                 qtdemux qtdemux.c:13223:qtdemux_parse_tree:<qtdemux0> duration: 18000
    0:00:02.150128970  1387   0x1881b0 WARN                 qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
    0:00:02.150386146  1387   0x1881b0 INFO                 qtdemux qtdemux.c:10799:qtdemux_parse_trak:<qtdemux0> type avc1 caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5c
    0:00:02.150512213  1387   0x1881b0 WARN                 basesrc gstbasesrc.c:2445:gst_base_src_update_length:<filesrc0> processing at or past EOS
    0:00:02.150549463  1387   0x1881b0 INFO          GST_SCHEDULING gstpad.c:4895:gst_pad_get_range_unchecked:<filesrc0:src> getrange failed, flow: eos
    0:00:02.150584437  1387   0x1881b0 INFO          GST_SCHEDULING gstpad.c:5110:gst_pad_pull_range:<qtdemux0:sink> pullrange failed, flow: eos
    0:00:02.484467692  1387   0x1881b0 INFO        GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad qtdemux0:sink
    0:00:02.484668585  1387   0x1881b0 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, pr1
    0:00:02.484727145  1387   0x1881b0 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<qtdemux0> adding pad 'video_0'
    0:00:02.484794001  1387   0x1881b0 INFO            GST_PIPELINE grammar.y:524:gst_parse_found_pad: trying delayed linking one pad some pad of GstQTDemux named qtdemux0 to some pad of GstQueue named queue0
    0:00:02.484836294  1387   0x1881b0 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element qtdemux0:(any) to element queue0:(any)
    0:00:02.484897945  1387   0x1881b0 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link qtdemux0:video_0 and queue0:sink
    0:00:02.485204409  1387   0x1881b0 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: qtdemux0 and queue0 in same bin, no need for ghost pads
    0:00:02.485263132  1387   0x1881b0 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link qtdemux0:video_0 and queue0:sink
    0:00:02.485567156  1387   0x1881b0 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked qtdemux0:video_0 and queue0:sink, successful
    0:00:02.485599364  1387   0x1881b0 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:02.485755524  1387   0x1881b0 INFO               GST_EVENT gstevent.c:895:gst_event_new_segment: creating segment event time segment start=0:00:00.200000000, offset=0:00:00.000000000, stop=0:00:10.29
    0:00:02.486415625  1387   0x188150 INFO               baseparse gstbaseparse.c:4777:gst_base_parse_set_upstream_tags:<h264parse0> upstream tags: taglist, video-codec=(string)"H.264\ /\ AVC", maximum-bitr;
    0:00:02.486629532  1387   0x188150 INFO               h264parse gsth264parse.c:783:gst_h264_parse_process_nal:<h264parse0> have SPS/PPS in stream
    0:00:02.486811230  1387   0x188150 INFO               h264parse gsth264parse.c:1812:gst_h264_parse_update_src_caps:<h264parse0> pixel aspect ratio has been changed 1/1
    0:00:02.486896142  1387   0x188150 INFO               baseparse gstbaseparse.c:4004:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.100000000, 0:00:00.100000000
    0:00:02.487137865  1387   0x188150 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(stringe
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001a676401
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001a6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    0:00:02.820340360  1387   0x188150 INFO                  ducati gstducatividdec.c:1200:gst_ducati_viddec_sink_setcaps:<ducatih264dec0> setcaps (sink): video/x-h264, stream-format=(string)byte-stream, alie
    0:00:02.820417952  1387   0x188150 INFO                  ducati gstducatividdec.c:1103:gst_ducati_viddec_set_sink_caps:<ducatih264dec0> set_caps (sink): video/x-h264, stream-format=(string)byte-stream, ae
    0:00:02.820539952  1387   0x188150 INFO                  ducati gstducatividdec.c:1161:gst_ducati_viddec_set_sink_caps:<ducatih264dec0> outsize 13427712 stride 3968 outcaps: video/x-raw, format=(string)Ne
    0:00:02.820594120  1387   0x188150 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(frace
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1, drm_mem=(e
    0:00:02.821117093  1387   0x188150 INFO                  ducati gstducatividdec.c:1175:gst_ducati_viddec_set_sink_caps:<ducatih264dec0> set caps done 1, video/x-raw, format=(string)NV12, width=(int)3968,e
    0:00:03.155023284  1387   0x188150 WARN                  ducati gstducatih264dec.c:416:gst_ducati_h264dec_set_sink_caps:<ducatih264dec0> num-reorder-frames not found on caps, calculation from stream para6
    0:00:03.155061186  1387   0x188150 WARN                  ducati gstducatih264dec.c:424:gst_ducati_h264dec_set_sink_caps:<ducatih264dec0> Using 6 frames for reordering
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    0:00:03.159345012  1387   0x188150 ERROR                 ducati gstducatividdec.c:1416:gst_ducati_viddec_chain:<ducatih264dec0> could not create codec
    0:00:03.159422767  1387   0x188150 INFO                    task gsttask.c:316:gst_task_func:<queue0:src> Task going to paused
    0:00:03.159471892  1387   0x1881b0 WARN                 qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: Internal data stream error.
    0:00:03.159511908  1387   0x1881b0 WARN                 qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason error (-5)
    0:00:03.159572095  1387   0x1881b0 INFO        GST_ERROR_SYSTEM gstelement.c:2145:gst_element_message_full_with_details:<qtdemux0> posting message: Internal data stream error.
    0:00:03.159672948  1387   0x1881b0 INFO        GST_ERROR_SYSTEM gstelement.c:2172:gst_element_message_full_with_details:<qtdemux0> posted error message: Internal data stream error.
    0:00:03.159737852  1387   0x1881b0 WARN                   queue gstqueue.c:988:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.
    ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.
    Additional debug info:
    ../../../gst-plugins-good-1.14.4/gst/isomp4/qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
    streaming stopped, reason error (-5)
    0:00:03.159774127  1387   0x1881b0 WARN                   queue gstqueue.c:988:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason error (-5)
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    0:00:03.159900356  1387   0x1881b0 INFO        GST_ERROR_SYSTEM gstelement.c:2145:gst_element_message_full_with_details:<queue0> posting message: Internal data stream error.
    0:00:03.159986244  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<fakesink0> current READY pending PAUSED, desired next NULL
    0:00:03.160006090  1387   0x1881b0 INFO        GST_ERROR_SYSTEM gstelement.c:2172:gst_element_message_full_with_details:<queue0> posted error message: Internal data stream error.
    0:00:03.160053914  1387   0x1881b0 INFO                    task gsttask.c:316:gst_task_func:<qtdemux0:sink> Task going to paused
    0:00:03.160123372  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<fakesink0> committing state from READY to READY, pending NULL, next NULL
    0:00:03.490116780  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<fakesink0> notifying about state-changed READY to READY (NULL pending)
    0:00:03.490171924  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<fakesink0> continue state change READY to NULL, final NULL
    0:00:03.490219097  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<fakesink0> completed state change to NULL
    0:00:03.490256673  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<fakesink0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    0:00:03.490310353  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'fakesink0' changed state to 1(NULL) successfully
    0:00:03.490361756  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current PAUSED pending VOID_PENDING, desired next NULL
    0:00:03.490502625  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<ducatih264dec0> committing state from PAUSED to READY, pending NULL, next NULL
    0:00:03.490544430  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed PAUSED to READY (NULL pending)
    0:00:03.490592417  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<ducatih264dec0> continue state change READY to NULL, final NULL
    0:00:03.492647873  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<ducatih264dec0> completed state change to NULL
    0:00:03.492695372  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    0:00:03.492752305  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 1(NULL) successfully
    0:00:03.492806636  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current PAUSED pending VOID_PENDING, desired next NULL
    0:00:03.493085609  1387    0x38a80 INFO               baseparse gstbaseparse.c:4777:gst_base_parse_set_upstream_tags:<h264parse0> upstream tags: (NULL)
    0:00:03.493137012  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<h264parse0> committing state from PAUSED to READY, pending NULL, next NULL
    0:00:03.493176052  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed PAUSED to READY (NULL pending)
    0:00:03.493224364  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<h264parse0> continue state change READY to NULL, final NULL
    0:00:03.825358464  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state change to NULL
    0:00:03.825401408  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    0:00:03.825455413  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 1(NULL) successfully
    0:00:03.825508605  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current PAUSED pending VOID_PENDING, desired next NULL
    0:00:03.825577576  1387   0x188150 INFO                    task gsttask.c:318:gst_task_func:<queue0:src> Task resume from paused
    0:00:03.825771637  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<queue0> committing state from PAUSED to READY, pending NULL, next NULL
    0:00:03.825813443  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed PAUSED to READY (NULL pending)
    0:00:03.825861592  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<queue0> continue state change READY to NULL, final NULL
    0:00:03.825905024  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<queue0> completed state change to NULL
    0:00:03.825942112  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    0:00:03.825992539  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 1(NULL) successfully
    0:00:03.826042965  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current PAUSED pending VOID_PENDING, desired next NULL
    0:00:03.826182696  1387   0x1881b0 INFO                    task gsttask.c:318:gst_task_func:<qtdemux0:sink> Task resume from paused
    0:00:03.826296563  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<qtdemux0> removing pad 'video_0'
    0:00:03.826345200  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking qtdemux0:video_0(0x1ac1e8) and queue0:sink(0x186318)
    0:00:03.826407339  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked qtdemux0:video_0 and queue0:sink
    0:00:03.826483792  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<qtdemux0> committing state from PAUSED to READY, pending NULL, next NULL
    0:00:03.826524947  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed PAUSED to READY (NULL pending)
    0:00:03.826574560  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<qtdemux0> continue state change READY to NULL, final NULL
    0:00:04.160628778  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<qtdemux0> completed state change to NULL
    0:00:04.160669607  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    0:00:04.160724263  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 1(NULL) successfully
    0:00:04.160792258  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<fakesink0> current NULL pending VOID_PENDING, desired next NULL
    0:00:04.160828044  1387    0x38a80 INFO              GST_STATES gstbin.c:2623:gst_bin_element_set_state:<fakesink0> skipping transition from NULL to  NULL
    0:00:04.160866108  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'fakesink0' changed state to 1(NULL) successfully
    0:00:04.160914420  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current NULL pending VOID_PENDING, desired next NULL
    0:00:04.160949394  1387    0x38a80 INFO              GST_STATES gstbin.c:2623:gst_bin_element_set_state:<ducatih264dec0> skipping transition from NULL to  NULL
    0:00:04.160987620  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 1(NULL) successfully
    0:00:04.161035770  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current NULL pending VOID_PENDING, desired next NULL
    0:00:04.161071068  1387    0x38a80 INFO              GST_STATES gstbin.c:2623:gst_bin_element_set_state:<h264parse0> skipping transition from NULL to  NULL
    0:00:04.161109458  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 1(NULL) successfully
    0:00:04.161153215  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current NULL pending VOID_PENDING, desired next NULL
    0:00:04.161188026  1387    0x38a80 INFO              GST_STATES gstbin.c:2623:gst_bin_element_set_state:<queue0> skipping transition from NULL to  NULL
    0:00:04.161225439  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 1(NULL) successfully
    0:00:04.161273751  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current NULL pending VOID_PENDING, desired next NULL
    0:00:04.161308562  1387    0x38a80 INFO              GST_STATES gstbin.c:2623:gst_bin_element_set_state:<qtdemux0> skipping transition from NULL to  NULL
    0:00:04.161345975  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 1(NULL) successfully
    0:00:04.495889982  1387    0x38a80 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<filesrc0> current PAUSED pending VOID_PENDING, desired next NULL
    0:00:04.495954886  1387    0x38a80 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<filesrc0> committing state from PAUSED to READY, pending NULL, next NULL
    0:00:04.495994251  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed PAUSED to READY (NULL pending)
    0:00:04.496042889  1387    0x38a80 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<filesrc0> continue state change READY to NULL, final NULL
    0:00:04.496085833  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state change to NULL
    0:00:04.496123409  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    0:00:04.496173510  1387    0x38a80 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 1(NULL) successfully
    0:00:04.496367897  1387    0x38a80 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<pipeline0> completed state change to NULL
    0:00:04.496407262  1387    0x38a80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to NULL (VOID_PENDING pending)
    Freeing pipeline ...
    0:00:04.496508441  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking ducatih264dec0:src(0x1869d0) and fakesink0:sink(0x186b28)
    0:00:04.496566513  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked ducatih264dec0:src and fakesink0:sink
    0:00:04.496622795  1387    0x38a80 INFO           GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "fakesink0"
    0:00:04.496683795  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<fakesink0> 0x1aa3f0 dispose
    0:00:04.496718281  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<fakesink0> removing pad 'sink'
    0:00:04.496765942  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<fakesink0> 0x1aa3f0 parent class dispose
    0:00:04.496805307  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<fakesink0> 0x1aa3f0 finalize
    0:00:04.496839305  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<fakesink0> 0x1aa3f0 finalize parent
    0:00:04.496892171  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking h264parse0:src(0x186720) and ducatih264dec0:sink(0x186878)
    0:00:04.496945363  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked h264parse0:src and ducatih264dec0:sink
    0:00:04.497003273  1387    0x38a80 INFO           GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "ducatih264dec0"
    0:00:04.831193805  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<ducatih264dec0> 0x1a7000 dispose
    0:00:04.831233658  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<ducatih264dec0> removing pad 'sink'
    0:00:04.831282296  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<ducatih264dec0> removing pad 'src'
    0:00:04.831335325  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<ducatih264dec0> 0x1a7000 parent class dispose
    0:00:04.831529712  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<ducatih264dec0> 0x1a7000 finalize
    0:00:04.831568752  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<ducatih264dec0> 0x1a7000 finalize parent
    0:00:04.831626010  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking queue0:src(0x186470) and h264parse0:sink(0x1865c8)
    0:00:04.831680666  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked queue0:src and h264parse0:sink
    0:00:04.831739064  1387    0x38a80 INFO           GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "h264parse0"
    0:00:04.831794208  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<h264parse0> 0x1a0210 dispose
    0:00:04.831829344  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<h264parse0> removing pad 'sink'
    0:00:04.831877493  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<h264parse0> removing pad 'src'
    0:00:04.831924504  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<h264parse0> 0x1a0210 parent class dispose
    0:00:04.831991034  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<h264parse0> 0x1a0210 finalize
    0:00:04.832026984  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<h264parse0> 0x1a0210 finalize parent
    0:00:04.832074645  1387    0x38a80 INFO           GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "queue0"
    0:00:04.832128488  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<queue0> 0x19c1d0 dispose
    0:00:04.832162810  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<queue0> removing pad 'sink'
    0:00:04.832213074  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<queue0> removing pad 'src'
    0:00:04.832264640  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<queue0> 0x19c1d0 parent class dispose
    0:00:04.832304656  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<queue0> 0x19c1d0 finalize
    0:00:05.166431585  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<queue0> 0x19c1d0 finalize parent
    0:00:05.166491121  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking filesrc0:src(0x186068) and qtdemux0:sink(0x1861c0)
    0:00:05.166546753  1387    0x38a80 INFO        GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked filesrc0:src and qtdemux0:sink
    0:00:05.166604500  1387    0x38a80 INFO           GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "qtdemux0"
    0:00:05.166670055  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<qtdemux0> 0x19a018 dispose
    0:00:05.166704215  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<qtdemux0> removing pad 'sink'
    0:00:05.166759033  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<qtdemux0> 0x19a018 parent class dispose
    0:00:05.166796447  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<qtdemux0> 0x19a018 finalize
    0:00:05.166829793  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<qtdemux0> 0x19a018 finalize parent
    0:00:05.166880220  1387    0x38a80 INFO           GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "filesrc0"
    0:00:05.166932761  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<filesrc0> 0x1922c0 dispose
    0:00:05.166965945  1387    0x38a80 INFO        GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<filesrc0> removing pad 'src'
    0:00:05.167012793  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<filesrc0> 0x1922c0 parent class dispose
    0:00:05.167051508  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<filesrc0> 0x1922c0 finalize
    0:00:05.167084855  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<filesrc0> 0x1922c0 finalize parent
    0:00:05.167120153  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<pipeline0> 0x1ae070 dispose
    0:00:05.167203601  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<pipeline0> 0x1ae070 parent class dispose
    0:00:05.167244431  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<pipeline0> 0x1ae070 finalize
    0:00:05.167278103  1387    0x38a80 INFO         GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<pipeline0> 0x1ae070 finalize parent
    0:00:05.167312913  1387    0x38a80 INFO                GST_INIT gst.c:1083:gst_deinit: deinitializing GStreamer
    0:00:05.181138441  1387    0x38a80 INFO                GST_INIT gst.c:1231:gst_deinit: deinitialized GStreamer

    ====================================

    Thanks,

    Faidi,

  • Hi Faidi,

    :00:03.159345012  1387   0x188150 ERROR                 ducati gstducatividdec.c:1416:gst_ducati_viddec_chain:<ducatih264dec0> could not create codec

    This error indicates that decoder instance is not created . There could be two reasons for this failure 1) There is not enough memory or 2) Decoder paramter setting for 4k is wrong.

    As I mentioned , IPUMM reserves 56MB of memory and not sure if this is sufficient. You can check this trace and confirm if you see any memory allocation failure log

    cat /sys/kernel/debug/remoteproc/remoteproc1/trace0

    If you don't see any issue here, memory would be sufficient here.

    On parameter setting, you need one more change.

    Please change

    params->presetLevelIdc = IH264VDEC_LEVEL41;

    to 

    params->presetLevelIdc = IH264VDEC_LEVEL51;

    and then give a try.

    I don't have a higher resolution stream, please share me a small stream, I can check what else settings needed.

    Thanks

    Ram

  • Hi Ramprasad

    yes it's a memory related problem: There is not enough memory.


    root@dra7xx-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
    [0][      0.000] 17 Resource entries at 0x3000
    [0][      0.000] Watchdog enabled: TimerBase = 0x6803e000 SMP-Core = 0 Freq = 20000000
    [0][      0.000] Watchdog enabled: TimerBase = 0x68036000 SMP-Core = 1 Freq = 20000000
    [0][      0.000] Watchdog_restore registered as a resume callback
    [0][      0.000] IPU2 starting..
    [0][      0.000]
    [0][      0.000]
    [0][      0.000]  **** IPUMM VERSION INFO ****
    [0][      0.000]
    [0][      0.000] Compile DATE Mar  9 2020 TIME 16:24:35
    [0][      0.000] GIT IPUMM
    [0][      0.000]        BRANCH : master
    [0][      0.000]        TAG : IPUMM commit e4872a8 version MMIP 3_00_15_00  IPC 3_50_01_00  
    [0][      0.000]        COMMIT-ID : e4872a8
    [0][      0.000] CODEC-VER BEGIN:
    [0][      0.000]        H264D-02.00.22.01
    [0][      0.000]        MPEG4D-01.00.17.01
    [0][      0.000]        MPEG2D-01.00.18.01
    [0][      0.000]        VC1D-01.00.02.08
    [0][      0.000]        MJPEGD-01.00.16.01
    [0][      0.000]  
    [0][      0.000]        H264E-02.00.09.01
    [0][      0.000]        MPEG4E-01.00.02.01
    [0][      0.000]        MJPEGE-01.00.17.01
    [0][      0.000] CODEC-VER END:
    [0][      0.000]
    [0][      0.000] ** IPUMM VERSION INFO END **
    [0][      0.000] Trace level PA 0x95f53320 Trace Level 0                   
    [0][      0.000] Trace Usage: level:[0-4: 0-no trace, 1-err, 2-debug, 3-info, 4-CE,FC,IPC traces]
    [0][      0.000]
    [0][      0.000] Trace Buffer PA 0x98a00000 kpi_control (PA 0x95f4f7b4 value 0x0)
    [1][      0.000] OMAPRPC: registered channel: dce-callback
    [1][      0.000] OMAPRPC: Returning Object @80209388
    [1][      0.000] loadTask: started
    [1][      0.000]   SLEEP_TICKS: 1000
    [1][      0.000]   Load_hwiEnabled: 0
    [1][      0.000]   Load_swiEnabled: 0
    [1][      0.000]   Load_taskEnabled: 1
    [1][      0.000]   Load_updateInIdle: 1
    [1][      0.000]   Load_windowInMs: 11
    [1][      0.001] OMAPRPC: connecting from local endpoint 101 to port 101
    [1][      0.001] registering rpmsg-rpc:dce-callback service on 101 with HOST
    [1][      0.001] OMAPRPC: started channel dce-callback on port: 101
    [0][      0.001] OMAPRPC: registered channel: rpmsg-dce
    [0][      0.002] OMAPRPC: Returning Object @8020c440
    [1][      0.002] OMAPRPC: connecting from local endpoint 102 to port 102
    [1][      0.002] registering rpmsg-rpc:rpmsg-dce service on 102 with HOST
    [1][      0.002] OMAPRPC: started channel rpmsg-dce on port: 102
    [0][      3.228] OMAPRPC: received msg type: 0 len: 8 from addr: 1024
    [0][      3.228] OMAPRPC: channel info query - name dce-callback fxns 4
    [0][      3.228] OMAPRPC: Replying with msg type: 1 to addr: 1024  from: 101 len: 12
    [0][      3.277] OMAPRPC: received msg type: 0 len: 8 from addr: 1025
    [0][      3.277] OMAPRPC: channel info query - name rpmsg-dce fxns 9
    [0][      3.277] OMAPRPC: Replying with msg type: 1 to addr: 1025  from: 102 len: 12
    [0][      3.339] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.339] OMAPRPC: function query of type 1
    [0][      3.339] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.420] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [1][      3.420] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.420] OMAPRPC: function query of type 1
    [1][      3.421] OMAPRPC: function query of type 1
    [0][      3.421] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [1][      3.421] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.477] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [1][      3.477] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.477] OMAPRPC: function query of type 1
    [1][      3.477] OMAPRPC: function query of type 1
    [0][      3.477] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [1][      3.477] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.478] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [1][      3.478] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.478] OMAPRPC: function query of type 1
    [1][      3.478] OMAPRPC: function query of type 1
    [0][      3.479] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [1][      3.479] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.486] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.486] OMAPRPC: function query of type 1
    [0][      3.486] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.518] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.518] OMAPRPC: function query of type 1
    [0][      3.518] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.521] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.521] OMAPRPC: function query of type 1
    [0][      3.521] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.522] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.522] OMAPRPC: function query of type 1
    [0][      3.522] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.523] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.523] OMAPRPC: function query of type 1
    [0][      3.523] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.524] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.524] OMAPRPC: function query of type 1
    [0][      3.524] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      4.000] loadTask: cpu load = 16%
    [0][      5.000] loadTask: cpu load = 0%
    [0][     13.797] OMAPRPC: received msg type: 6 len: 56 from addr: 1026
    [0][     13.797] createService: new OMX Service at endpoint: 103
    [0][     13.797] OMAPRPC: created service instance named: rpmsg-dce (status=0) addr: 103
    [0][     13.797] OMAPRPC: Replying with msg type: 8 to addr: 1026  from: 102 len: 16
    [0][     14.000] loadTask: cpu load = 100%
    [0][     15.000] loadTask: cpu load = 17%
    [0][     15.489] [t=0x00cd7b3e] ti.sysbios.heaps.HeapMem: ERROR: line 221: out of memory: handle=0x800589e0, size=45077792
    [0][     15.489] ti.sysbios.heaps.HeapMem: line 221: out of memory: handle=0x800589e0, size=45077792
    [0][     15.490] [t=0x00d0409c] xdc.runtime.Memory: ERROR: line 52: out of memory: heap=0x0, size=45077792
    [0][     15.490] xdc.runtime.Memory: line 52: out of memory: heap=0x0, size=45077792
    [0][     15.824] OMAPRPC: received msg type: 4 len: 12 from addr: 1026
    [0][     15.824] OMAPRPC: destroying instance addr: 103
    [1][     15.824] RcmServer_serverThrFxn_P: Exiting thread.
    [0][     15.824] deleteService: removed RcmServer at endpoint: 103
    [0][     15.824] OMAPRPC: Replying with msg type: 7 to addr: 1026  from: 102 len: 16
    [0][     17.000] loadTask: cpu load = 0%

    Regards,

    Faidi,

  • Hi Faidi,

    You will have to modify IPUMM's memory map to increase heap memory for your 4K requirement.

    Please refer this appNote

    http://www.ti.com/lit/an/sprac08a/sprac08a.pdf

    Thanks

    Ram

  • Hi Ramprasad

    I modified the IPU2 memory by increasing the heap memory from 41 MB to 46 MB ( The IPU2 reserves 56MB of total memory 1024) using the three patch:

    patch1: config.bld

    --- a/build/config.bld
    +++ b/build/config.bld
    @@ -123,10 +123,11 @@
      *  9F06_0000   9F06_0000     1_0000  (  64 kB) EXC_DATA
      *  9F07_0000   9F07_0000     2_0000  ( 128 kB) PM_DATA (Power mgmt)
      */
    + /*0x2b00000 46MB available  */
         var evmDRA7XX_ExtMemMapIpu2 = {
             EXT_CODE: { name: "EXT_CODE", base: 0x00004000, len:  0x005FC000, space: "code", access: "RWX" },
             EXT_DATA: { name: "EXT_DATA", base: 0x80000000, len:  0x00200000, space: "data", access: "RW" },
    -        EXT_HEAP: { name: "EXT_HEAP", base: 0x80200000, len:  0x02900000, space: "data", access: "RW" },
    +        EXT_HEAP: { name: "EXT_HEAP", base: 0x80200000, len:  0x02e00000, space: "data", access: "RW" },
             TRACE_BUF: { name: "TRACE_BUF", base: 0x9F000000, len:  0x00060000, space: "data", access: "RW" },
             EXC_DATA: { name: "EXC_DATA", base: 0x9F060000, len:  0x00010000, space: "data", access: "RW" },
             PM_DATA: { name: "PM_DATA", base: 0x9F070000, len:  0x00020000, space: "data", access: "RWX" }

    patch2:custom_rsc_table_vayu_ipu.h

    --- a/platform/ti/dce/baseimage/custom_rsc_table_vayu_ipu.h
    +++ b/platform/ti/dce/baseimage/custom_rsc_table_vayu_ipu.h
    @@ -100,7 +100,7 @@
      * IPU_MEM_DATA_SIZE contains the size of EXT_DATA + EXT_HEAP
      * defined in the dce_ipu.cfg
      */
    -#define IPU_MEM_DATA_SIZE       (SZ_1M * 43)
    +#define IPU_MEM_DATA_SIZE       (SZ_1M * 48)
     
     /*
      * Assign fixed RAM addresses to facilitate a fixed MMU table.

    patch3: dce_ipu.cfg

    --- a/platform/ti/dce/baseimage/dce_ipu.cfg
    +++ b/platform/ti/dce/baseimage/dce_ipu.cfg
    @@ -77,14 +77,14 @@
     var GateHwi            = xdc.useModule('ti.sysbios.gates.GateHwi');
     HeapMem.common$.gate = GateHwi.create();
     
    -/* Heap Memory is set to 40 MB of the total 150 MB of EXT_HEAP.
    +/* Heap Memory is set to 46 MB of the total 150 MB of EXT_HEAP.
      * This is considering 2 1080p instances of Mpeg4 Decoders, each
      * requiring 14 MBs and a single instance of H264 Encode requiring
    - * 8 MBs running parallely.
    + * 8 MBs running parallely.4k decoding
      */
     
     var heapMemParams            = new HeapMem.Params;
    -heapMemParams.size            = 0x2800000; // 40MB
    +heapMemParams.size            = 0x2e00000; // 46MB
     heapMemParams.sectionName    = ".systemHeap";
     var heap0                    = HeapMem.create(heapMemParams);
     Memory.defaultHeapInstance    = heap0;

    Then I run this gstreamer pipeline : gst-launch-1.0 -v --gst-debug=4 filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! waylandsink use-drm=true

    And i got this error message (the playback start but it crash immediately ):

    root@dra7xx-evm:~# gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! waylandsink use-drm=true
    Setting pipeline to PAUSED ...
    [  141.655149] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b676401
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drme
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, 0
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm0
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    [  142.201781] omapdrm omapdrm.0: could not remap: -12 (3)
    [  142.207044] rpmsg_rpc rpmsg-dce: unwinding UVA to RDA translations! translation = 0
    [  142.214784] rpmsg_rpc rpmsg-dce: failed to translate all pointers for remote core!
    MmRpc_call: Error: write failed
    ../git/libdce.c:965:    process ERROR: Failed eError == DCE_EOK error val -5

    with more details, using --gst-debug=4:

    root@dra7xx-evm:~# gst-launch-1.0 -v --gst-debug=4 filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! waylandsink use-drm=true
    0:00:00.001945006  1453    0x38680 INFO                GST_INIT gstmessage.c:127:_priv_gst_message_initialize: init messages
    0:00:00.003987774  1453    0x38680 INFO                GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
    0:00:00.004657472  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
    0:00:00.005047710  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
    0:00:00.005090328  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
    0:00:00.005139779  1453    0x38680 INFO            GST_REGISTRY gstregistry.c:1727:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.arm.bin
    0:00:00.062032771  1453    0x38680 INFO            GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.arm.bin in 0.056810 seconds
    0:00:00.062214307  1453    0x38680 INFO            GST_REGISTRY gstregistry.c:1583:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.arm.bin
    0:00:00.064794038  1453    0x38680 INFO            GST_REGISTRY gstregistry.c:1685:scan_and_update_registry: Registry cache has not changed
    0:00:00.064827059  1453    0x38680 INFO            GST_REGISTRY gstregistry.c:1762:ensure_current_registry: registry reading and updating done, result = 1
    0:00:00.064850646  1453    0x38680 INFO                GST_INIT gst.c:807:init_post: GLib runtime version: 2.58.0
    0:00:00.064875208  1453    0x38680 INFO                GST_INIT gst.c:809:init_post: GLib headers version: 2.58.0
    0:00:00.064893590  1453    0x38680 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
    0:00:00.064952150  1453    0x38680 INFO            GST_PIPELINE gstparse.c:337:gst_parse_launch_full: parsing pipeline description 'filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 ! qtdemux !'
    0:00:00.066907403  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded
    0:00:00.066950022  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "filesrc"
    0:00:00.067252582  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSrc@0x1922c0> adding pad 'src'
    0:00:00.067322528  1453    0x38680 INFO                 filesrc gstfilesrc.c:261:gst_file_src_set_location: filename : /home/bbb_sunflower_2160p_30fps_normal.mp4
    0:00:00.067344326  1453    0x38680 INFO                 filesrc gstfilesrc.c:262:gst_file_src_set_location: uri      : file:///home/bbb_sunflower_2160p_30fps_normal.mp4
    0:00:00.072181707  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstisomp4.so" loaded
    0:00:00.072222536  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "qtdemux"
    0:00:00.072557630  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstQTDemux@0x19a018> adding pad 'sink'
    0:00:00.072662875  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "queue"
    0:00:00.072966899  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstQueue@0x19c1d0> adding pad 'sink'
    0:00:00.073040424  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstQueue@0x19c1d0> adding pad 'src'
    0:00:00.074209672  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideoparsersbad.so" loaded
    0:00:00.404381199  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "h264parse"
    0:00:00.404692381  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseParse@0x19fec8> adding pad 'sink'
    0:00:00.404769485  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseParse@0x19fec8> adding pad 'src'
    0:00:00.404836178  1453    0x38680 INFO               baseparse gstbaseparse.c:3961:gst_base_parse_set_pts_interpolation:<GstH264Parse@0x19fec8> PTS interpolation: yes
    0:00:00.415850013  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstducati.so" loaded
    0:00:00.415898813  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "ducatih264dec"
    0:00:00.416464079  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstDucatiVidDec@0x1a7838> adding pad 'sink'
    0:00:00.416525242  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstDucatiVidDec@0x1a7838> adding pad 'src'
    0:00:00.418420634  1453    0x38680 INFO      GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstwaylandsink.so" loaded
    0:00:00.418461626  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "waylandsink"
    0:00:00.419027381  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSink@0x1abdc8> adding pad 'sink'
    0:00:00.419129861  1453    0x38680 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "pipeline"
    0:00:00.419554421  1453    0x38680 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstFileSrc named filesrc0 to some pad of GstQTDemux named qtdemux0 (0/0) with cap"
    0:00:00.419602570  1453    0x38680 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element filesrc0:(any) to element qtdemux0:(any)
    0:00:00.419648279  1453    0x38680 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link filesrc0:src and qtdemux0:sink
    0:00:00.419720178  1453    0x38680 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: filesrc0 and qtdemux0 in same bin, no need for ghost pads
    0:00:00.419779226  1453    0x38680 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link filesrc0:src and qtdemux0:sink
    0:00:00.419842829  1453    0x38680 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked filesrc0:src and qtdemux0:sink, successful
    0:00:00.419872109  1453    0x38680 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:00.419904642  1453    0x38680 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<filesrc0:src> Received event on flushing pad. Discarding
    0:00:00.750889014  1453    0x38680 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstQTDemux named qtdemux0 to some pad of GstQueue named queue0 (0/0) with caps "("
    0:00:00.750934561  1453    0x38680 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element qtdemux0:(any) to element queue0:(any)
    0:00:00.750988892  1453    0x38680 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:src> pad has no peer
    0:00:00.751087630  1453    0x38680 INFO        GST_ELEMENT_PADS gstelement.c:917:gst_element_get_static_pad: no such pad 'video_%u' in element "qtdemux0"
    0:00:00.751140822  1453    0x38680 INFO        GST_ELEMENT_PADS gstutils.c:1227:gst_element_get_compatible_pad:<qtdemux0> Could not find a compatible pad to link to queue0:sink
    0:00:00.751180350  1453    0x38680 INFO                 default gstutils.c:2162:gst_element_link_pads_filtered: Could not link pads: qtdemux0:(null) - queue0:(null)
    0:00:00.751259244  1453    0x38680 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstQueue named queue0 to some pad of GstH264Parse named h264parse0 (0/0) with cap"
    0:00:00.751299097  1453    0x38680 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element queue0:(any) to element h264parse0:(any)
    0:00:00.751341553  1453    0x38680 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link queue0:src and h264parse0:sink
    0:00:00.751383033  1453    0x38680 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:sink> pad has no peer
    0:00:00.751433134  1453    0x38680 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<h264parse0:src> pad has no peer
    0:00:00.751492020  1453    0x38680 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: queue0 and h264parse0 in same bin, no need for ghost pads
    0:00:00.751572377  1453    0x38680 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link queue0:src and h264parse0:sink
    0:00:00.751615809  1453    0x38680 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:sink> pad has no peer
    0:00:00.751663470  1453    0x38680 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<h264parse0:src> pad has no peer
    0:00:00.751721542  1453    0x38680 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked queue0:src and h264parse0:sink, successful
    0:00:00.751749684  1453    0x38680 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:00.751779614  1453    0x38680 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<queue0:src> Received event on flushing pad. Discarding
    0:00:00.751849724  1453    0x38680 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstH264Parse named h264parse0 to some pad of GstDucatiH264Dec named ducatih264dec"
    0:00:00.751888926  1453    0x38680 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element h264parse0:(any) to element ducatih264dec0:(any)
    0:00:01.086106624  1453    0x38680 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link h264parse0:src and ducatih264dec0:sink
    0:00:01.086184053  1453    0x38680 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: h264parse0 and ducatih264dec0 in same bin, no need for ghost pads
    0:00:01.086237083  1453    0x38680 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link h264parse0:src and ducatih264dec0:sink
    0:00:01.086303125  1453    0x38680 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked h264parse0:src and ducatih264dec0:sink, successful
    0:00:01.086332731  1453    0x38680 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:01.086363312  1453    0x38680 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<h264parse0:src> Received event on flushing pad. Discarding
    0:00:01.086439277  1453    0x38680 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstDucatiH264Dec named ducatih264dec0 to some pad of GstWaylandSink named wayland"
    0:00:01.086479131  1453    0x38680 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element ducatih264dec0:(any) to element waylandsink0:(any)
    0:00:01.086522400  1453    0x38680 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link ducatih264dec0:src and waylandsink0:sink
    0:00:01.086676120  1453    0x38680 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: ducatih264dec0 and waylandsink0 in same bin, no need for ghost pads
    0:00:01.086728499  1453    0x38680 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link ducatih264dec0:src and waylandsink0:sink
    0:00:01.086875712  1453    0x38680 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked ducatih264dec0:src and waylandsink0:sink, successful
    0:00:01.086905968  1453    0x38680 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:01.086935736  1453    0x38680 INFO               GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<ducatih264dec0:src> Received event on flushing pad. Discarding
    Setting pipeline to PAUSED ...
    0:00:01.087216011  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.087276360  1453    0x38680 INFO                GST_PADS gstpad.c:4232:gst_pad_peer_query:<queue0:sink> pad has no peer
    0:00:01.088280176  1453    0x38680 INFO              GST[ 1351.220336] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    _STATES gstelement.c:2676:gst_element_continue_state:<waylandsink0> completed state change to READY
    0:00:01.088334669  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.421389626  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 2(READY) successfully
    0:00:01.421450300  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.471769282  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<ducatih264dec0> completed state change to READY
    0:00:01.471826703  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.471900879  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 2(READY) successfully
    0:00:01.471960578  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.472001407  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state change to READY
    0:00:01.472040122  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.472093314  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 2(READY) successfully
    0:00:01.472140975  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.472178876  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<queue0> completed state change to READY
    0:00:01.472215476  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.472267367  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 2(READY) successfully
    0:00:01.472320396  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.472357972  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<qtdemux0> completed state change to READY
    0:00:01.472394735  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.472445812  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 2(READY) successfully
    0:00:01.472490546  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<filesrc0> current NULL pending VOID_PENDING, desired next READY
    0:00:01.472528447  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state change to READY
    0:00:01.472564722  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
    0:00:01.472615311  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 2(READY) successfully
    0:00:01.807183718  1453    0x38680 INFO              GST_STATES gstelement.c:2651:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
    0:00:01.807227801  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
    0:00:01.807349801  1453    0x38680 INFO              GST_STATES gstelement.c:2658:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
    0:00:01.807435689  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.807507587  1453    0x38680 INFO              GST_STATES gstbin.c:2960:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' is changing state asynchronously to PAUSED
    0:00:01.807558502  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.807613321  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<ducatih264dec0> completed state change to PAUSED
    0:00:01.807651873  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:01.807705715  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 3(PAUSED) successfully
    0:00:01.807755817  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.808566059  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state change to PAUSED
    0:00:01.808611769  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:01.808668214  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 3(PAUSED) successfully
    0:00:01.808716526  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:01.808798835  1453    0x38680 INFO                    task gsttask.c:457:gst_task_set_lock: setting stream lock 0x1864bc on task 0x1b6828
    0:00:01.808833646  1453    0x38680 INFO                GST_PADS gstpad.c:6154:gst_pad_start_task:<queue0:src> created task 0x1b6828
    0:00:01.809031611  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<queue0> completed state change to PAUSED
    0:00:01.809076019  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:02.142433373  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 3(PAUSED) successfully
    0:00:02.142492258  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:02.142554722  1453    0x38680 INFO                 filesrc gstfilesrc.c:468:gst_file_src_start:<filesrc0> opening file /home/bbb_sunflower_2160p_30fps_normal.mp4
    0:00:02.142636381  1453    0x38680 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated yet
    0:00:02.142695266  1453    0x38680 INFO                 filesrc gstfilesrc.c:468:gst_file_src_start:<filesrc0> opening file /home/bbb_sunflower_2160p_30fps_normal.mp4
    0:00:02.142785384  1453    0x38680 INFO                    task gsttask.c:457:gst_task_set_lock: setting stream lock 0x18620c on task 0x1b68d0
    0:00:02.142821821  1453    0x38680 INFO                GST_PADS gstpad.c:6154:gst_pad_start_task:<qtdemux0:sink> created task 0x1b68d0
    0:00:02.142979770  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<qtdemux0> completed state change to PAUSED
    0:00:02.143022226  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:02.143083389  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 3(PAUSED) successfully
    0:00:02.143130725  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<filesrc0> current READY pending VOID_PENDING, desired next PAUSED
    0:00:02.143179525  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state change to PAUSED
    0:00:02.143218402  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:02.143270456  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 3(PAUSED) successfully
    Pipeline is PREROLLING ...
    0:00:02.144742752  1453   0x187cc0 WARN                 qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type iods
    0:00:02.144854666  1453   0x187cc0 WARN                 qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type ac-3
    0:00:02.144912576  1453   0x187cc0 WARN                 qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type .com
    0:00:02.145047101  1453   0x187cc0 INFO                 qtdemux qtdemux.c:13222:qtdemux_parse_tree:<qtdemux0> timescale: 600
    0:00:02.145086792  1453   0x187cc0 INFO                 qtdemux qtdemux.c:13223:qtdemux_parse_tree:<qtdemux0> duration: 380720
    0:00:02.145139170  1453   0x187cc0 WARN                 qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
    0:00:02.477856268  1453   0x187cc0 INFO                 qtdemux qtdemux.c:10799:qtdemux_parse_trak:<qtdemux0> type avc1 caps video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5b
    0:00:02.478587618  1453   0x187cc0 WARN                 qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 2
    0:00:02.478712383  1453   0x187cc0 INFO                 qtdemux qtdemux.c:11534:qtdemux_parse_trak:<qtdemux0> type mp4a caps audio/mpeg, mpegversion=(int)1
    0:00:02.478801687  1453   0x187cc0 WARN                 qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 3
    0:00:02.478859434  1453   0x187cc0 INFO                 qtdemux qtdemux.c:11528:qtdemux_parse_trak:<qtdemux0> unhandled type ac-3
    0:00:02.478902866  1453   0x187cc0 INFO                 qtdemux qtdemux.c:11534:qtdemux_parse_trak:<qtdemux0> type ac-3 caps audio/x-ac3, framed=(boolean)true
    0:00:02.479215186  1453   0x187cc0 WARN                 basesrc gstbasesrc.c:2445:gst_base_src_update_length:<filesrc0> processing at or past EOS
    0:00:02.479255690  1453   0x187cc0 INFO          GST_SCHEDULING gstpad.c:4895:gst_pad_get_range_unchecked:<filesrc0:src> getrange failed, flow: eos
    0:00:02.479292615  1453   0x187cc0 INFO          GST_SCHEDULING gstpad.c:5110:gst_pad_pull_range:<qtdemux0:sink> pullrange failed, flow: eos
    0:00:02.479484562  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad qtdemux0:sink
    0:00:02.479671303  1453   0x187cc0 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, pr1
    0:00:02.479728562  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<qtdemux0> adding pad 'video_0'
    0:00:02.479793628  1453   0x187cc0 INFO            GST_PIPELINE grammar.y:524:gst_parse_found_pad: trying delayed linking one pad some pad of GstQTDemux named qtdemux0 to some pad of GstQueue named queue0
    0:00:02.479837874  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element qtdemux0:(any) to element queue0:(any)
    0:00:02.479902778  1453   0x187cc0 INFO                GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link qtdemux0:video_0 and queue0:sink
    0:00:02.480214284  1453   0x187cc0 INFO                GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: qtdemux0 and queue0 in same bin, no need for ghost pads
    0:00:02.480278863  1453   0x187cc0 INFO                GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link qtdemux0:video_0 and queue0:sink
    0:00:02.480566458  1453   0x187cc0 INFO                GST_PADS gstpad.c:2586:gst_pad_link_full: linked qtdemux0:video_0 and queue0:sink, successful
    0:00:02.812927153  1453   0x187cc0 INFO               GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
    0:00:02.813126257  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad qtdemux0:sink
    0:00:02.813222718  1453   0x187cc0 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event audio/mpeg, mpegversion=(int)1, rate=(int)48000, channels=(int)2
    0:00:02.813270867  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<qtdemux0> adding pad 'audio_0'
    0:00:02.813415478  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad qtdemux0:sink
    0:00:02.813506246  1453   0x187cc0 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)2
    0:00:02.813552931  1453   0x187cc0 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<qtdemux0> adding pad 'audio_1'
    0:00:02.813672166  1453   0x187cc0 INFO               GST_EVENT gstevent.c:895:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:10:34.59
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    0:00:02.814576267  1453   0x187d80 INFO               baseparse gstbaseparse.c:4777:gst_base_parse_set_upstream_tags:<h264parse0> upstream tags: taglist, video-codec=(string)"H.264\ /\ AVC", maximum-bitr;
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b676401
    0:00:02.814971873  1453   0x187d80 INFO               h264parse gsth264parse.c:1812:gst_h264_parse_update_src_caps:<h264parse0> pixel aspect ratio has been changed 1/1
    0:00:02.815057273  1453   0x187d80 INFO               baseparse gstbaseparse.c:4004:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.033333333, 0:00:00.033333333
    0:00:02.815238321  1453   0x187d80 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(stringe
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    0:00:03.148457570  1453   0x187d80 INFO                  ducati gstducatividdec.c:1200:gst_ducati_viddec_sink_setcaps:<ducatih264dec0> setcaps (sink): video/x-h264, stream-format=(string)byte-stream, alie
    0:00:02.815327462  1453   0x187cc0 INFO               GST_EVENT gstevent.c:895:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:10:34.29
    0:00:03.148554032  1453   0x187d80 INFO                  ducati gstducatividdec.c:1103:gst_ducati_viddec_set_sink_caps:<ducatih264dec0> set_caps (sink): video/x-h264, stream-format=(string)byte-stream, ae
    0:00:03.148744352  1453   0x187cc0 INFO               GST_EVENT gstevent.c:895:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:10:34.19
    0:00:03.148938088  1453   0x187d80 INFO                  ducati gstducatividdec.c:1161:gst_ducati_viddec_set_sink_caps:<ducatih264dec0> outsize 13427712 stride 3968 outcaps: video/x-raw, format=(string)Ne
    0:00:03.149003642  1453   0x187d80 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(frace
    0:00:03.149814048  1453   0x187d80 INFO                  ducati gstducatividdec.c:1175:gst_ducati_viddec_set_sink_caps:<ducatih264dec0> set caps done 1, video/x-raw, format=(string)NV12, width=(int)3968,e
    0:00:03.150045848  1453   0x187d80 WARN                  ducati gstducatih264dec.c:416:gst_ducati_h264dec_set_sink_caps:<ducatih264dec0> num-reorder-frames not found on caps, calculation from stream para6
    0:00:03.483497548  1453   0x187d80 WARN                  ducati gstducatih264dec.c:424:gst_ducati_h264dec_set_sink_caps:<ducatih264dec0> Using 6 frames for reordering
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drme
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    0:00:03.560834649  1453   0x187d80 WARN                  ducati gstducatividdec.c:590:codec_process:<ducatih264dec0> changing max-ref-frames in caps to 10
    0:00:03.560933550  1453   0x187d80 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(frac0
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, 0
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm0
    0:00:03.874817915  1453   0x187d80 INFO                  ducati gstducatividdec.c:692:codec_process:<ducatih264dec0> active frame region 32, 24, 3872, 2184, crop 3840x2160
    0:00:03.876118760  1453   0x187d80 INFO              GST_STATES gstbin.c:3424:bin_handle_async_done:<pipeline0> committing state from READY to PAUSED, old pending PAUSED
    0:00:03.876156336  1453   0x187d80 INFO              GST_STATES gstbin.c:3444:bin_handle_async_done:<pipeline0> completed state change, pending VOID
    0:00:03.876193099  1453   0x187d80 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    0:00:03.876830915  1453    0x38680 INFO                  ducati gstducatividdec.c:1273:gst_ducati_viddec_q[ 1353.760705] omapdrm omapdrm.0: could not remap: -12 (3)
    uery:<ducatih264dec0> latency 0:00:00.233333331 ours 0:00:0[ 1353.766297] rpmsg_rpc rpmsg-dce: unwinding UVA to RDA translations! translation = 0
    0.233333331
    0:00:03.877023512  1453    0x38680 [ 1353.780371] rpmsg_rpc rpmsg-dce: failed to translate all pointers for remote core!
    INFO               GST_EVENT gstevent.c:1388:gst_event_new_latency: creating latency event 0:00:00.000000000
    0:00:03.877204072  1453    0x38680 INFO                     bin gstbin.c:2783:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
    0:00:03.877313547  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current PAUSED pending VOID_PENDING, desired next PLAYING
    0:00:03.877414563  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<waylandsink0> completed state change to PLAYING
    0:00:03.877457670  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    0:00:03.877516555  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 4(PLAYING) successfully
    0:00:03.877574790  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<ducatih264dec0> current PAUSED pending VOID_PENDING, desired next PLAYING
    0:00:03.877616270  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<ducatih264dec0> completed state change to PLAYING
    0:00:03.877655310  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<ducatih264dec0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    0:00:03.877713056  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'ducatih264dec0' changed state to 4(PLAYING) successfully
    0:00:03.877769176  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<h264parse0> current PAUSED pending VOID_PENDING, desired next PLAYING
    0:00:03.877805939  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<h264parse0> completed state change to PLAYING
    0:00:03.877839936  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    0:00:03.877891502  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 4(PLAYING) successfully
    0:00:03.877937048  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<queue0> current PAUSED pending VOID_PENDING, desired next PLAYING
    0:00:04.230920623  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<queue0> completed state change to PLAYING
    0:00:04.230980322  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<queue0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    0:00:04.231056613  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'queue0' changed state to 4(PLAYING) successfully
    0:00:04.231125909  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<qtdemux0> current PAUSED pending VOID_PENDING, desired next PLAYING
    0:00:04.231168365  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<qtdemux0> completed state change to PLAYING
    0:00:04.231208218  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<qtdemux0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    0:00:04.231264826  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'qtdemux0' changed state to 4(PLAYING) successfully
    0:00:04.231314277  1453    0x38680 INFO              GST_STATES gstbin.c:2506:gst_bin_element_set_state:<filesrc0> current PAUSED pending VOID_PENDING, desired next PLAYING
    0:00:04.231357221  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<filesrc0> completed state change to PLAYING
    0:00:04.231396261  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<filesrc0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    0:00:04.231450103  1453    0x38680 INFO              GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 4(PLAYING) successfully
    0:00:04.231496951  1453    0x38680 INFO              GST_STATES gstelement.c:2676:gst_element_continue_state:<pipeline0> completed state change to PLAYING
    0:00:04.231571778  1453    0x38680 INFO              GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
    MmRpc_call: Error: write failed
    New clock: GstSystemClock
    0:00:04.232416831  1453   0x187d80 WARN                  ducati gstducatividdec.c:570:codec_process:<ducatih264dec0> err=-5, extendedError=00000000
    ../git/libdce.c:965:    process ERROR: Failed eError == DCE_EOK error val -5root

     

    cat /sys/kernel/debug/remoteproc/remoteproc1/trace0

    I don't see any issue in trace0 , so the memory is sufficient here.

    root@dra7xx-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
    [0][      0.000] 17 Resource entries at 0x3000
    [0][      0.000] Watchdog enabled: TimerBase = 0x6803e000 SMP-Core = 0 Freq = 20000000
    [0][      0.000] Watchdog enabled: TimerBase = 0x68036000 SMP-Core = 1 Freq = 20000000
    [0][      0.000] Watchdog_restore registered as a resume callback
    [0][      0.000] IPU2 starting..
    [0][      0.000]
    [0][      0.000]
    [0][      0.000]  **** IPUMM VERSION INFO ****
    [0][      0.000]
    [0][      0.000] Compile DATE Mar 30 2020 TIME 23:10:11
    [0][      0.000] GIT IPUMM
    [0][      0.000]        BRANCH : master
    [0][      0.000]        TAG : IPUMM commit e4872a8 version MMIP 3_00_15_00  IPC 3_50_01_00  
    [0][      0.000]        COMMIT-ID : e4872a8
    [0][      0.000] CODEC-VER BEGIN:
    [0][      0.000]        H264D-02.00.22.01
    [0][      0.000]        MPEG4D-01.00.17.01
    [0][      0.000]        MPEG2D-01.00.18.01
    [0][      0.000]        VC1D-01.00.02.08
    [0][      0.000]        MJPEGD-01.00.16.01
    [0][      0.000]  
    [0][      0.000]        H264E-02.00.09.01
    [0][      0.000]        MPEG4E-01.00.02.01
    [0][      0.000]        MJPEGE-01.00.17.01
    [0][      0.000] CODEC-VER END:
    [0][      0.000]
    [0][      0.000] ** IPUMM VERSION INFO END **
    [0][      0.000] Trace level PA 0x95f53320 Trace Level 0                   
    [0][      0.000] Trace Usage: level:[0-4: 0-no trace, 1-err, 2-debug, 3-info, 4-CE,FC,IPC traces]
    [0][      0.000]
    [0][      0.000] Trace Buffer PA 0x98f00000 kpi_control (PA 0x95f4f7b4 value 0x0)
    [1][      0.000] OMAPRPC: registered channel: dce-callback
    [1][      0.000] OMAPRPC: Returning Object @80209388
    [1][      0.000] loadTask: started
    [1][      0.000]   SLEEP_TICKS: 1000
    [1][      0.000]   Load_hwiEnabled: 0
    [1][      0.000]   Load_swiEnabled: 0
    [1][      0.000]   Load_taskEnabled: 1
    [1][      0.000]   Load_updateInIdle: 1
    [1][      0.000]   Load_windowInMs: 11
    [1][      0.001] OMAPRPC: connecting from local endpoint 101 to port 101
    [1][      0.001] registering rpmsg-rpc:dce-callback service on 101 with HOST
    [1][      0.001] OMAPRPC: started channel dce-callback on port: 101
    [0][      0.001] OMAPRPC: registered channel: rpmsg-dce
    [0][      0.002] OMAPRPC: Returning Object @8020c440
    [1][      0.002] OMAPRPC: connecting from local endpoint 102 to port 102
    [1][      0.002] registering rpmsg-rpc:rpmsg-dce service on 102 with HOST
    [1][      0.002] OMAPRPC: started channel rpmsg-dce on port: 102
    [0][      3.198] OMAPRPC: received msg type: 0 len: 8 from addr: 1024
    [0][      3.198] OMAPRPC: channel info query - name dce-callback fxns 4
    [0][      3.198] OMAPRPC: Replying with msg type: 1 to addr: 1024  from: 101 len: 12
    [0][      3.221] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.221] OMAPRPC: function query of type 1
    [0][      3.221] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.222] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.222] OMAPRPC: function query of type 1
    [0][      3.222] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.225] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.225] OMAPRPC: function query of type 1
    [0][      3.225] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.225] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [0][      3.225] OMAPRPC: function query of type 1
    [0][      3.225] OMAPRPC: Replying with msg type: 3 to addr: 1024  from: 101 len: 216
    [0][      3.249] OMAPRPC: received msg type: 0 len: 8 from addr: 1025
    [0][      3.249] OMAPRPC: channel info query - name rpmsg-dce fxns 9
    [0][      3.249] OMAPRPC: Replying with msg type: 1 to addr: 1025  from: 102 len: 12
    [0][      3.267] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.267] OMAPRPC: function query of type 1
    [0][      3.267] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.271] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.271] OMAPRPC: function query of type 1
    [0][      3.271] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.274] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.274] OMAPRPC: function query of type 1
    [0][      3.274] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.275] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.275] OMAPRPC: function query of type 1
    [0][      3.275] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.275] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.275] OMAPRPC: function query of type 1
    [0][      3.275] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.275] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.276] OMAPRPC: function query of type 1
    [0][      3.276] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.276] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.276] OMAPRPC: function query of type 1
    [0][      3.276] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.276] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.276] OMAPRPC: function query of type 1
    [0][      3.276] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      3.277] OMAPRPC: received msg type: 2 len: 216 from addr: 1025
    [0][      3.277] OMAPRPC: function query of type 1
    [0][      3.277] OMAPRPC: Replying with msg type: 3 to addr: 1025  from: 102 len: 216
    [0][      4.000] loadTask: cpu load = 26%
    [0][      5.000] loadTask: cpu load = 1%
    [0][     13.291] OMAPRPC: received msg type: 6 len: 56 from addr: 1026
    [0][     13.291] createService: new OMX Service at endpoint: 103
    [0][     13.291] OMAPRPC: created service instance named: rpmsg-dce (status=0) addr: 103
    [0][     13.291] OMAPRPC: Replying with msg type: 8 to addr: 1026  from: 102 len: 16
    [0][     13.824] OMAPRPC: received msg type: 4 len: 12 from addr: 1026
    [0][     13.824] OMAPRPC: destroying instance addr: 103
    [1][     13.824] RcmServer_serverThrFxn_P: Exiting thread.
    [0][     13.825] deleteService: removed RcmServer at endpoint: 103
    [0][     13.825] OMAPRPC: Replying with msg type: 7 to addr: 1026  from: 102 len: 16
    [0][     14.000] loadTask: cpu load = 48%
    [0][     15.000] loadTask: cpu load = 0%
    [0][     23.855] OMAPRPC: received msg type: 6 len: 56 from addr: 1026
    [0][     23.855] createService: new OMX Service at endpoint: 103
    [0][     23.855] OMAPRPC: created service instance named: rpmsg-dce (status=0) addr: 103
    [0][     23.855] OMAPRPC: Replying with msg type: 8 to addr: 1026  from: 102 len: 16
    [0][     24.000] loadTask: cpu load = 100%
    [0][     25.000] loadTask: cpu load = 43%
    [0][     26.000] loadTask: cpu load = 41%
    [0][     42.000] loadTask: cpu load = 39%
    [0][     43.345] OMAPRPC: received msg type: 4 len: 12 from addr: 1026
    [0][     43.345] OMAPRPC: destroying instance addr: 103
    [1][     43.345] RcmServer_serverThrFxn_P: Exiting thread.
    [0][     43.345] deleteService: removed RcmServer at endpoint: 103
    [0][     43.345] OMAPRPC: Replying with msg type: 7 to addr: 1026  from: 102 len: 16
    [0][     44.000] loadTask: cpu load = 47%
    [0][     45.000] loadTask: cpu load = 0%
    [0][     53.997] OMAPRPC: received msg type: 6 len: 56 from addr: 1026
    [0][     53.997] createService: new OMX Service at endpoint: 103
    [0][     53.997] OMAPRPC: created service instance named: rpmsg-dce (status=0) addr: 103
    [0][     53.997] OMAPRPC: Replying with msg type: 8 to addr: 1026  from: 102 len: 16
    [0][     54.000] loadTask: cpu load = 100%
    [0][     55.000] loadTask: cpu load = 19%
    [0][     56.000] loadTask: cpu load = 17%
    [0][     56.695] OMAPRPC: received msg type: 4 len: 12 from addr: 1026
    [0][     56.696] OMAPRPC: destroying instance addr: 103
    [1][     56.696] RcmServer_serverThrFxn_P: Exiting thread.
    [0][     56.696] deleteService: removed RcmServer at endpoint: 103
    [0][     56.696] OMAPRPC: Replying with msg type: 7 to addr: 1026  from: 102 len: 16
    [0][     57.000] loadTask: cpu load = 20%
    [0][     58.000] loadTask: cpu load = 1%

     

     

    Regards,

    Faidi

  • Hi Faidi,

    Now out of memory issue is resolved but

    [  142.201781] omapdrm omapdrm.0: could not remap: -12 (3)

    above error says TILER is running out. There is exactly 128MB of TILER memory and for 4k video when TILER pinning happens it is not sufficient hence this error.

    Do you have any info on the type of 4K video stream when it has B frames?

    Can you try adding display-delay=1 propertyb for ducatih264dec and check?

    gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec display-delay=1 ! waylandsink use-drm=true

    Thanks

    Ram

  • Hi Ramprasad

    Thank you for your reply.

    result of gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec display-delay=1 ! waylandsink use-drm=true :      /* (with display-delay=1 and waylandsink)*/

    root@dra7xx-evm:~# gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec display-delay=1 ! waylandsink use-drm=true
    Setting pipeline to PAUSED ...[  969.239855] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b676401
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drme
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, 7
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm7
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: A lot of buffers are being dropped.
    Additional debug info:
    ../../../../gstreamer-1.14.4/libs/gst/base/gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0:
    There may be a timestamping problem, or this computer is too slow.
    WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: A lot of buffers are being dropped.
    Additional debug info:
    ../../../../gstreamer-1.14.4/libs/gst/base/gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0:
    There may be a timestamping problem, or this computer is too slow.
    [  971.350925] omapdrm omapdrm.0: could not remap: -12 (3)
    [  971.356189] rpmsg_rpc rpmsg-dce: unwinding UVA to RDA translations! translation = 0
    [  971.365434] rpmsg_rpc rpmsg-dce: failed to translate all pointers for remote core!
    MmRpc_call: Error: write failed
    ../git/libdce.c:965:    process ERROR: Failed eError == DCE_EOK error val -5

    result of gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! fakesink:   /* (without display-delay=1 and with fakesink)*/

    root@dra7xx-evm:~# gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec ! fakesink
    Setting pipeline to PAUSED ...[ 1254.345019] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b676401
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm_mem=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, 0
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm_mem=(0
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    [ 1254.929792] omapdrm omapdrm.0: could not remap: -12 (3)
    [ 1254.935057] rpmsg_rpc rpmsg-dce: unwinding UVA to RDA translations! translation = 0
    [ 1254.944149] rpmsg_rpc rpmsg-dce: failed to translate all pointers for remote core!
    MmRpc_call: Error: write failed
    ../git/libdce.c:965:    process ERROR: Failed eError == DCE_EOK error val -5root

    result of gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec display-delay=1 ! fakesink: /* (with display-delay=1 and  fakesink)*/

    root@dra7xx-evm:~# gst-launch-1.0 -v filesrc location=/home/bbb_sunflower_2160p_30fps_normal.mp4 !  qtdemux ! queue !   h264parse ! ducatih264dec display-delay=1 ! fakesink
    Setting pipeline to PAUSED ...
    [ 1314.896262] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b6764001
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe101
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001b676401
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840, height=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, e
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm_mem=(e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)3840,e
    /GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, 7
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)3968, height=(int)2256, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, drm_mem=(7
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock

    Regards,

    Faidi,

  • Hi Faidi,

    It seems pipeline is working with fakesink right?  Can you check this command and confirm if sufficient TILER memory is still available during playback?

    cat /sys/kernel/debug/dri/0/tiler_map

    Above command shows the filled pattern of 128MB of TILER.

    In case of waylandsink, I see this warning

    There may be a timestamping problem, or this computer is too slow.

    WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: A lot of buffers are being dropped.

    The stream seems to be 4k@30fps which can not be decoded in real time. 4k@15fps is supported for real time.

    Can you try with 4k@15fps stream?

    Thanks

    Ram

  • Hi Ramprasad

    This is the competent of tiler_map :

    root@dra7xx-evm:~# cat /sys/kernel/debug/dri/0/tiler_map
    CONTAINER 0 DUMP BEGIN
    000:fffffffffffff(64*1)fffffffffffffeeeeeeeeeeeee(64*1)eeeeeeeeeeeeeddddd(32*1)dddddccccc(32*1)cccccbbbbb(32*1)bbbbbaaaaa(32*1)aaaaa
    001:                                                                                                                                
    002:                                                                                                                                
    003:                                                                                                                                
    004:                                                                                                                                
    005:                                                                                                                                
    006:                                                                                                                                
    007:                                                                                                                                
    008:                                                                                                                                
    009:                                                                                                                                
    010:                                                                                                                                
    011:                                                                                                                                
    012:                                                                                                                                
    013:                                                                                                                                
    014:                                                                                                                                
    015:                                                                                                                                
    016:                                                                                                                                
    017:                                                                                                                                
    018:                                                                                                                                
    019:                                                                                                                                
    020:                                                                                                                                
    021:                                                                                                                                
    022:                                                                                                                                
    023:                                                                                                                                
    024:                                                                                                                                
    025:                                                                                                                                
    026:                                                                                                                                
    027:                                                                                                                                
    028:                                                                                                                                
    029:                                                                                                                                
    030:                                                                                                                                
    031:                                                                                                                                
    032:                                                                                                                                
    033:                                                                                                                                
    034:                                                                                                                                
    035:                                                                                                                                
    036:                                                                                                                                
    037:                                                                                                                                
    038:                                                                                                                                
    039:                                                                                                                                
    040:                                                                                                                                
    041:                                                                                                                                
    042:                                                                                                                                
    043:                                                                                                                                
    044:                                                                                                                                
    045:                                                                                                                                
    046:                                                                                                                                
    047:                                                                                                                                
    048:                                                                                                                                
    049:                                                                                                                                
    050:                                                                                                                                
    051:                                                                                                                                
    052:                                                                                                                                
    053:                                                                                                                                
    054:                                                                                                                                
    055:                                                                                                                                
    056:                                                                                                                                
    057:                                                                                                                                
    058:                                                                                                                                
    059:                                                                                                                                
    060:                                                                                                                                
    061:                                                                                                                                
    062:                                                                                                                                
    063:                                                                                                                                
    064:                                                                                                                                
    065:                                                                                                                                
    066:                                                                                                                                
    067:                                                                                                                                
    068:                                                                                                                                
    069:                                                                                                                                
    070:                                                                                                                                
    071:                                                                                                                                
    072:                                                                                                                                
    073:                                                                                                                                
    074:                                                                                                                                
    075:                                                                                                                                
    076:                                                                                                                                
    077:                                                                                                                                
    078:                                                                                                                                
    079:                                                                                                                                
    080:                                                                                                                                
    081:                                                                                                                                
    082:                                                                                                                                
    083:                                                                                                                                
    084:                                                                                                                                
    085:                                                                                                                                
    086:                                                                                                                                
    087:                                                                                                                                
    088:                                                                                                                                
    089:                                                                                                                                
    090:                                                                                                                                
    091:                                                                                                                                
    092:                                                                                                                                
    093:                                                                                                                                
    094:                                                                                                                                
    095:                                                                                                                                
    096:                                                                                                                                
    097:                                                                                                                                
    098:                                                                                                                                
    099:                                                                                                                                
    100:                                                                                                                                
    101:                                                                                                                                
    102:                                                                                                                                
    103:                                                                                                                                
    104:                                                                                                                                
    105:                                                                                                                                
    106:                                                                                                                                
    107:                                                                                                                                
    108:                                                                                                                                
    109:                                                                                                                                
    110:                                                                                                                                
    111:                                                                                                                                
    112:                                                                                                                                
    113:                                                                                                                                
    114:                                                                                                                                
    115:                                                                                                                                
    116:                                                                                                                                
    117:                                                                                                                                
    118:                                                                                                                                
    119:                                                                                                                                
    120:                                                                                                                                
    121:                                                                                                                                
    122:                                                                                                                                
    123:                                                                                                                                
    124:                                                                                                                                
    125:                                                                                                                                
    126:                                                                                                                                
    127:                                                                                                                                
    CONTAINER 0 DUMP END
    CONTAINER 1 DUMP BEGIN
    000:                                                                                                                                
    001:                                                                                                                                
    002:                                                                                                                                
    003:                                                                                                                                
    004:                                                                                                                                
    005:                                                                                                                                
    006:                                                                                                                                
    007:                                                                                                                                
    008:                                                                                                                                
    009:                                                                                                                                
    010:                                                                                                                                
    011:                                                                                                                                
    012:                                                                                                                                
    013:                                                                                                                                
    014:                                                                                                                                
    015:                                                                                                                                
    016:                                                                                                                                
    017:                                                                                                                                
    018:                                                                                                                                
    019:                                                                                                                                
    020:                                   <============================================================================================
    021:================================================================================================================================
    022:================================================================================================================================
    023:================================================================================================================================
    024:=============================================================8100K==============================================================
    025:================================================================================================================================
    026:================================================================================================================================
    027:================================================================================================================================
    028:=======================><=======================================================================================================
    029:================================================================================================================================
    030:================================================================================================================================
    031:================================================================================================================================
    032:================================================================================================================================
    033:================================================================================================================================
    034:=============================================================13116K=============================================================
    035:================================================================================================================================
    036:================================================================================================================================
    037:================================================================================================================================
    038:================================================================================================================================
    039:================================================================================================================================
    040:===============================================================================================================================X
    041:================================================================================================================================
    042:================================================================================================================================
    043:================================================================================================================================
    044:================================================================================================================================
    045:================================================================================================================================
    046:=============================================================13116K=============================================================
    047:================================================================================================================================
    048:================================================================================================================================
    049:================================================================================================================================
    050:================================================================================================================================
    051:================================================================================================================================
    052:================================================================================================================================
    053:======================================================================================================><========================
    054:================================================================================================================================
    055:================================================================================================================================
    056:================================================================================================================================
    057:================================================================================================================================
    058:================================================================================================================================
    059:=============================================================13116K=============================================================
    060:================================================================================================================================
    061:================================================================================================================================
    062:================================================================================================================================
    063:================================================================================================================================
    064:================================================================================================================================
    065:================================================================================================================================
    066:==============================================================================X=================================================
    067:================================================================================================================================
    068:================================================================================================================================
    069:================================================================================================================================
    070:================================================================================================================================
    071:================================================================================================================================
    072:=============================================================13116K=============================================================
    073:================================================================================================================================
    074:================================================================================================================================
    075:================================================================================================================================
    076:================================================================================================================================
    077:================================================================================================================================
    078:================================================================================================================================
    079:=====================================================><=========================================================================
    080:================================================================================================================================
    081:================================================================================================================================
    082:================================================================================================================================
    083:================================================================================================================================
    084:================================================================================================================================
    085:=============================================================13116K=============================================================
    086:================================================================================================================================
    087:================================================================================================================================
    088:================================================================================================================================
    089:================================================================================================================================
    090:================================================================================================================================
    091:================================================================================================================================
    092:=============================XXXX<==============================================================================================
    093:================================================================================================================================
    094:================================================================================================================================
    095:================================================================================================================================
    096:=============================================================9000K==============================================================
    097:================================================================================================================================
    098:================================================================================================================================
    099:================================================================================================================================
    100:================================================================================================================================
    101:=====><=========================================================================================================================
    102:================================================================================================================================
    103:================================================================================================================================
    104:================================================================================================================================
    105:=============================================================9000K==============================================================
    106:================================================================================================================================
    107:================================================================================================================================
    108:================================================================================================================================
    109:==========================================================================================================><====================
    110:================================================================================================================================
    111:================================================================================================================================
    112:================================================================================================================================
    113:=============================================================9000K==============================================================
    114:================================================================================================================================
    115:================================================================================================================================
    116:================================================================================================================================
    117:================================================================================================================================
    118:===============================================================================><===============================================
    119:================================================================================================================================
    120:================================================================================================================================
    121:================================================================================================================================
    122:=============================================================9600K==============================================================
    123:================================================================================================================================
    124:================================================================================================================================
    125:================================================================================================================================
    126:================================================================================================================================
    127:===============================================================================================================================>
    CONTAINER 1 DUMP END

    Thanks,

    Faidi,

  • Hi Faidi,

    I checked TILER memory consumption. Here waylansink/weston has reserved 3 x 9MB buffers and 5 x13MB decoder output buffers are there.

    8MB buffer seems to be decoder input buffer. Around 19MB is left .

    if you are using PSDKLA3.04, wayland buffers would not have been allocated in TILER but CMA. 

    Please confirm which PSDKLA is being used here.

    If you are using PSDKLA3.02 , you need to apply this patch to allocate graphics buffers in CMA

    Search for PSDKLA-3753 in this link and apply all 3 recipes on yocto.

    Thanks

    Ram

  • Hi Ramprasad,

    I use Processor SDK Linux Automotive Release 6.00.00.03

    Thanks,

    Faidi

  • Hi Faidi,

    PSDKLA6.0.03 doesn't have support for graphics buffers in CMA region. this is supported with only PSDKLA3.04.

    Does your usecase require waylandsink as display, if yes, then around 27MB of memory will get reserved in TILER always.

    Thanks

    RamPrasad