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.

Linux/TDA2PXEVM: gstreamer encoder doesn't work as expected.

Part Number: TDA2PXEVM

Tool/software: Linux

Hi,

We use vision sdk 3.05, and now manage to enable GST encode/decode with both IPUMM and VSDK-Linux on IPU-2 according to https://e2e.ti.com/support/processors/f/791/p/778002/2880838#2880838.

I get the resultant mp4 file with the following cmd on the device.

gst-launch-1.0 videotestsrc pattern=snow num-buffers=1000 ! 'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! ducatih264enc level=level-51 profile=high ! queue ! h264parse ! mp4mux ! filesink location=test.mp4

but when I playback the video in the PC, I notice something abnormal.

1.  the frame is solid colored, nothing as snow pattern.

2. the dimensions is 1920x1088 instead of 1920x1080.

Please help it, thanks a lot!

Regards,

Simon

  • Hi Simon,

    can you add "--gst-debug=1" to the command line and run it - this should print some error messages from ducati if there are any.
    You can also run command:

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

    and see if there are any errors.

    Regards,
    Yordan
  • Hi Yordan,

    Thanks for your reply.  when I add "--gst-debug=1" to the command line, I notice constant error output as follows.

    root@dra7xx-evm:~# gst-launch-1.0 --gst-debug=1 videotestsrc pattern=snow num-buffers=1000 ! 'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! ducatih264enc level=level-51 profile=high ! queue ! h264parse ! mp4mux ! filesink location=test.mp4

    Setting pipeline to PAUSED ...

    Pipeline is PREROLLING ...

    0:00:00.319988431   714   0x143a00 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5c01918: fd 27: mmap failed: Permission denied

    0:00:00.320080500   714   0x143a00 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5c01918: subclass map failed

    0:00:00.320154351   714   0x143a00 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5c01970: fd 28: mmap failed: Permission denied

    0:00:00.320190138   714   0x143a00 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5c01970: subclass map failed

    0:00:00.320248210   714   0x143a00 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer

    0:00:00.330836671   714   0x143a00 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5c01a20: fd 31: mmap failed: Permission denied

    0:00:00.330889700   714   0x143a00 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5c01a20: subclass map failed

    0:00:00.330957369   714   0x143a00 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5c01a78: fd 32: mmap failed: Permission denied

    0:00:00.330991855   714   0x143a00 ERROR             GST_MEMORY

    ......

    Below is output of "cat /sys/kernel/debug/remoteproc/remoteproc1/trace0" after I have interrupted gst-launch-1.0 command.

    root@dra7xx-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
    [ 0.000] 25 Resource entries at 0xa1000000
    [ 0.481] registering rpmsg-proto:rpmsg-proto service on 80 with HOST

    GST encode is very important feature for our TDA based project, please kindly pay much attention to it. 

    Thanks a lot!

     

    Regards,

    Simon

  • Hi simon,
    GST encode was not tested as there is no real source available in linux . I need to create a setup first reproduce.
    There is a known issue with vision-sdk that vmem driver exported memory fails with Permission denied error when mmap is called.

    Can you try this to to understand which memory map is failing here?
    root@dra7xx-evm:~#export GST_DEBUG=ducati:5
    root@dra7xx-evm:~# gst-launch-1.0 --gst-debug=1 videotestsrc pattern=snow num-buffers=1000 ! 'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! ducatih264enc level=level-51 profile=high ! queue ! h264parse ! mp4mux ! filesink location=test.mp4

    and share the logs.

    Thanks
    Ram
  • Hi Ram,

    Thanks for your support, I am really frustrated by the issue:).  Here is the log for you, also I have confirmed the issue takes place for both options to enable IPUMM.

    Regards,

    Simon

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.03.11 19:33:22 =~=~=~=~=~=~=~=~=~=~=~=
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: rot   root
    
    root@dra7xx-evm:~# ls
    decode_ipumm.sh       decode_ipumm_h264.sh  init-demo.sh          output.h264           run.sh                test.mp4
    root@dra7xx-evm:~# 
    root@dra7xx-evm:~# ls  export GST_DEBUG=ducati:5
    root@dra7xx-evm:~# gst-launch-1.0 --gst-debug=1 videotestsrc pattern=snow num-buffers=1000 ! 'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! ducatih264en 
    c level=level-51 profile=high ! queue ! h[  399.239434] random: nonblocking pool is initialized
    264parse ! mp4mux ! filesink location=test.mp4
    0:00:00.190608082   729   0x141e80 DEBUG                 ducati gstducatividenc.c:245:gst_ducati_videnc_init: gst_ducati_videnc_init
    0:00:00.190699012   729   0x141e80 DEBUG                 ducati gstducatih264enc.c:349:gst_ducati_h264enc_init: gst_ducati_h264enc_init
    Setting pipeline to PAUSED ...[  403.460052] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    
    0:00:00.354439604   729   0x141e80 INFO                  ducati gstducatividenc.c:572:gst_ducati_videnc_allocate_params_default:<ducatih264enc0> started
    Pipeline is PREROLLING ...
    0:00:00.356122391   729   0x143600 DEBUG                 ducati gstducatividenc.c:274:gst_ducati_videnc_set_format:<ducatih264enc0> picking an output format ...
    0:00:00.356266351   729   0x143600 DEBUG                 ducati gstducatividenc.c:283:gst_ducati_videnc_set_format:<ducatih264enc0> chose caps video/x-h264, alignment=(string)au, stream-format=(string)byte-stream, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]
    0:00:00.356330279   729   0x143600 DEBUG                 ducati gstducatividenc.c:285:gst_ducati_videnc_set_format:<ducatih264enc0> allowed caps video/x-h264, alignment=(string)au, stream-format=(string)byte-stream, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]
    0:00:00.357055447   729   0x143600 DEBUG                 ducati gstducatividenc.c:172:gst_ducati_videnc_propose_allocation:<ducatih264enc0> chose caps video/x-raw, width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
    0:00:00.357691473   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:00.357736857   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:00.357809732   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01970: fd 26: mmap failed: Permission denied
    0:00:00.357844543   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01970: subclass map failed
    0:00:00.357902452   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:00.360235417   729   0x143600 DEBUG                 ducati gstducatividenc.c:434:gst_ducati_videnc_configure:<ducatih264enc0> chose caps video/x-h264, alignment=(string)au, stream-format=(string)byte-stream, width=(int)[ 16, 2147483647 ], height=(int)[ 16, 2147483647 ]
    0:00:00.360394831   729   0x143600 INFO                  ducati gstducatividenc.c:442:gst_ducati_videnc_configure:<ducatih264enc0> configured
    0:00:00.367104180   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:00.367453425   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took     300934ns (0 ms)
    0:00:00.367755335   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:00.367793887   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:00.367858140   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a78: fd 32: mmap failed: Permission denied
    0:00:00.367891975   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a78: subclass map failed
    0:00:00.367945817   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:00.371352220   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:00.371650063   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took     259454ns (0 ms)
    0:00:00.722121576   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:00.722176558   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:00.722252523   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b28: fd 33: mmap failed: Permission denied
    0:00:00.722291888   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b28: subclass map failed
    0:00:00.722353214   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:00.726289096   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:00.726609062   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took     276696ns (0 ms)
    0:00:00.726803774   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:00.726844928   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:00.726917478   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301810: fd 34: mmap failed: Permission denied
    0:00:00.726956030   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301810: subclass map failed
    0:00:00.727049238   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:00.730999110   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:00.744404632   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13361278ns (13 ms)
    0:00:00.745186083   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:00.745232768   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:00.745324838   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301868: fd 34: mmap failed: Permission denied
    0:00:00.745364366   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301868: subclass map failed
    0:00:00.745423251   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:00.745710358   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:00.759388510   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13640088ns (13 ms)
    Pipeline is PREROLLED ...
    0:00:00.760781750   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:00.760842587   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:00.760928963   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53018c0: fd 34: mmap failed: Permission denied
    Setting pipeline to PLAYING ...
    0:00:01.097931677   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53018c0: subclass map failed
    0:00:01.098016263   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.098343549   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    New clock: GstSystemClock
    0:00:01.112407058   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14021216ns (14 ms)
    0:00:01.113053495   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:01.113099693   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:01.113180375   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301918: fd 36: mmap failed: Permission denied
    0:00:01.113219090   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301918: subclass map failed
    0:00:01.113276023   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.113562479   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.127385730   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13785350ns (13 ms)
    0:00:01.127896341   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:01.127940423   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:01.128016877   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301970: fd 36: mmap failed: Permission denied
    0:00:01.128055917   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301970: subclass map failed
    0:00:01.128111549   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.128417850   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.142385874   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13930285ns (13 ms)
    0:00:01.142871596   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:01.142914703   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:01.142988228   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53019c8: fd 36: mmap failed: Permission denied
    0:00:01.143026780   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53019c8: subclass map failed
    0:00:01.143079484   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.143359759   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.494388406   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13772499ns (13 ms)
    0:00:01.494889582   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:01.494932526   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:01.495009305   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a20: fd 36: mmap failed: Permission denied
    0:00:01.495047857   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a20: subclass map failed
    0:00:01.495101374   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.495382462   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.509383995   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13965096ns (13 ms)
    0:00:01.509873297   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:01.509916241   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:01.509989115   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a78: fd 36: mmap failed: Permission denied
    0:00:01.510027993   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a78: subclass map failed
    0:00:01.510080697   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.510361297   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.524382187   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13984453ns (13 ms)
    0:00:01.524862054   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:01.524905161   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:01.524977873   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301ad0: fd 36: mmap failed: Permission denied
    0:00:01.525016425   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301ad0: subclass map failed
    0:00:01.525069129   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.525343873   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.539385585   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14005112ns (14 ms)
    0:00:01.539872283   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:01.539915553   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:01.863945274   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301ad0: fd 36: mmap failed: Permission denied
    0:00:01.863993261   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301ad0: subclass map failed
    0:00:01.864049056   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.864331282   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.878399346   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14031139ns (14 ms)
    0:00:01.878906541   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:01.878949648   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:01.879023661   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a78: fd 36: mmap failed: Permission denied
    0:00:01.879062213   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a78: subclass map failed
    0:00:01.879115568   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.879393728   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.893382085   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13951432ns (13 ms)
    0:00:01.893864066   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:01.893907010   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:01.893983626   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a20: fd 36: mmap failed: Permission denied
    0:00:01.894022504   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a20: subclass map failed
    0:00:01.894075858   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:01.894353693   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:01.908382392   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13991611ns (13 ms)
    0:00:01.908945381   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:01.908988650   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:01.909062013   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53019c8: fd 36: mmap failed: Permission denied
    0:00:01.909100728   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53019c8: subclass map failed
    0:00:01.909154570   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.242668572   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.256390481   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13678315ns (13 ms)
    0:00:02.256923215   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:02.256966321   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:02.257101823   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301970: fd 36: mmap failed: Permission denied
    0:00:02.257141025   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301970: subclass map failed
    0:00:02.257195031   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.257474492   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.271382655   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13871563ns (13 ms)
    0:00:02.272275369   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:02.272319940   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:02.272393953   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301918: fd 36: mmap failed: Permission denied
    0:00:02.272432993   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301918: subclass map failed
    0:00:02.272488951   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.272763207   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.286383775   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13583480ns (13 ms)
    0:00:02.287168316   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:02.287214188   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:02.287289828   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53018c0: fd 36: mmap failed: Permission denied
    0:00:02.287328055   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53018c0: subclass map failed
    0:00:02.287384825   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.287668028   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.301384407   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13678640ns (13 ms)
    0:00:02.302006119   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:02.618049883   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:02.618131379   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301868: fd 36: mmap failed: Permission denied
    0:00:02.618176926   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301868: subclass map failed
    0:00:02.618234347   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.618534955   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.632395782   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13823250ns (13 ms)
    0:00:02.632938438   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:02.632981870   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:02.633056696   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301810: fd 36: mmap failed: Permission denied
    0:00:02.633095411   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301810: subclass map failed
    0:00:02.633150718   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.633428715   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.647383726   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13917598ns (13 ms)
    0:00:02.647917272   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:02.647960542   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:02.648035368   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b28: fd 36: mmap failed: Permission denied
    0:00:02.648074734   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b28: subclass map failed
    0:00:02.648127926   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:02.648441872   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:02.662381267   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13901331ns (13 ms)
    0:00:02.662921971   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:02.662963939   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:02.663037790   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a78: fd 36: mmap failed: Permission denied
    0:00:02.663076667   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a78: subclass map failed
    0:00:02.663130022   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.014934101   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.029393866   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14415520ns (14 ms)
    0:00:03.029924973   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:03.029967917   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:03.030041930   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01970: fd 36: mmap failed: Permission denied
    0:00:03.030080645   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01970: subclass map failed
    0:00:03.030133837   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.030410207   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.044382948   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13935653ns (13 ms)
    0:00:03.044910476   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:03.044953095   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:03.045038820   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01970: fd 36: mmap failed: Permission denied
    0:00:03.045078999   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01970: subclass map failed
    0:00:03.045133330   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.045413116   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.059381466   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13931098ns (13 ms)
    0:00:03.059925748   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:03.059975524   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:03.060050676   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a78: fd 36: mmap failed: Permission denied
    0:00:03.060089554   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a78: subclass map failed
    0:00:03.060142746   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.060420743   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.074385026   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13927520ns (13 ms)
    0:00:03.074914668   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:03.074957287   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:03.075030487   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b28: fd 36: mmap failed: Permission denied
    0:00:03.416561027   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b28: subclass map failed
    0:00:03.416621051   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.416901977   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.431387931   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14447728ns (14 ms)
    0:00:03.431881625   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:03.431924569   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:03.431998745   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301810: fd 36: mmap failed: Permission denied
    0:00:03.432037297   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301810: subclass map failed
    0:00:03.432090651   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.432367185   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.446385473   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13982013ns (13 ms)
    0:00:03.446914465   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:03.446957246   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:03.447063955   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301868: fd 36: mmap failed: Permission denied
    0:00:03.447102995   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301868: subclass map failed
    0:00:03.447157163   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.447436299   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.461547470   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14070666ns (14 ms)
    0:00:03.461909566   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:03.461956902   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:03.462057755   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53018c0: fd 36: mmap failed: Permission denied
    0:00:03.462104603   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53018c0: subclass map failed
    0:00:03.462170971   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.774170354   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.788400922   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14180792ns (14 ms)
    0:00:03.789010434   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:03.789056794   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:03.789136664   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301918: fd 36: mmap failed: Permission denied
    0:00:03.789176029   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301918: subclass map failed
    0:00:03.789231336   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.789516653   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.803383824   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13829270ns (13 ms)
    0:00:03.803875890   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:03.803919322   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:03.803995450   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301970: fd 36: mmap failed: Permission denied
    0:00:03.804034328   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301970: subclass map failed
    0:00:03.804087520   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.804368770   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.818386408   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13980875ns (13 ms)
    0:00:03.818963224   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:03.819007306   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:03.819080994   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53019c8: fd 36: mmap failed: Permission denied
    0:00:03.819120034   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53019c8: subclass map failed
    0:00:03.819174040   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:03.819452850   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:03.832383712   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   12893773ns (12 ms)
    0:00:03.833060242   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:04.162613148   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:04.162696433   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a20: fd 36: mmap failed: Permission denied
    0:00:04.162742143   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a20: subclass map failed
    0:00:04.162798751   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.163080489   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.176388087   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13271160ns (13 ms)
    0:00:04.177149855   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:04.177194588   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:04.177272343   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a78: fd 36: mmap failed: Permission denied
    0:00:04.177311057   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a78: subclass map failed
    0:00:04.177365713   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.177647615   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.191384977   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13700438ns (13 ms)
    0:00:04.191971065   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:04.192015473   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:04.192091764   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301ad0: fd 36: mmap failed: Permission denied
    0:00:04.192129991   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301ad0: subclass map failed
    0:00:04.192185785   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.192468988   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.205384721   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   12878320ns (12 ms)
    0:00:04.205879716   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:04.205922985   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:04.205999927   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301ad0: fd 36: mmap failed: Permission denied
    0:00:04.206038316   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301ad0: subclass map failed
    0:00:04.206093135   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.559501758   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.573386659   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13841144ns (13 ms)
    0:00:04.573921019   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:04.573964451   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:04.574038952   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a78: fd 36: mmap failed: Permission denied
    0:00:04.574077342   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a78: subclass map failed
    0:00:04.574130534   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.574408043   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.588383224   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13938581ns (13 ms)
    0:00:04.588884400   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:04.588927507   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:04.589002659   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301a20: fd 36: mmap failed: Permission denied
    0:00:04.589041373   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301a20: subclass map failed
    0:00:04.589094891   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.589372563   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.603384019   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13974205ns (13 ms)
    0:00:04.603913661   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:04.603956605   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:04.604031595   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53019c8: fd 36: mmap failed: Permission denied
    0:00:04.604069821   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53019c8: subclass map failed
    0:00:04.604122688   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.604399547   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.618384000   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13948016ns (13 ms)
    0:00:04.618885501   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:04.934902426   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:04.934989290   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301970: fd 36: mmap failed: Permission denied
    0:00:04.935034511   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301970: subclass map failed
    0:00:04.935089167   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.935368140   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.949403183   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13998117ns (13 ms)
    0:00:04.950329407   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:04.950377068   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:04.950456124   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301918: fd 36: mmap failed: Permission denied
    0:00:04.950495652   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301918: subclass map failed
    0:00:04.950549495   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.950834162   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.965385020   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14513933ns (14 ms)
    0:00:04.965687418   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:04.965727759   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:04.965801447   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53018c0: fd 36: mmap failed: Permission denied
    0:00:04.965838860   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53018c0: subclass map failed
    0:00:04.965891890   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:04.966168586   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:04.980382724   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14177702ns (14 ms)
    0:00:04.980673735   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:04.980714076   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:04.980786788   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301868: fd 36: mmap failed: Permission denied
    0:00:04.980825340   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301868: subclass map failed
    0:00:04.980877394   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.331801609   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.346395411   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14547606ns (14 ms)
    0:00:05.346882435   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:05.346925542   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:05.347035342   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301810: fd 36: mmap failed: Permission denied
    0:00:05.347076659   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301810: subclass map failed
    0:00:05.347130827   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.347410126   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.361384494   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13938419ns (13 ms)
    0:00:05.361916577   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:05.361959846   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:05.362045083   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b28: fd 36: mmap failed: Permission denied
    0:00:05.362084611   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b28: subclass map failed
    0:00:05.362137803   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.362416614   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.376384801   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13931099ns (13 ms)
    0:00:05.376864667   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:05.376906798   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:05.377008139   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a78: fd 36: mmap failed: Permission denied
    0:00:05.377048643   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a78: subclass map failed
    0:00:05.377102974   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.377379507   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.391383318   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13967536ns (13 ms)
    0:00:05.391859931   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:05.707182106   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:05.707262301   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01970: fd 36: mmap failed: Permission denied
    0:00:05.707307197   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01970: subclass map failed
    0:00:05.707362016   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.707641640   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.721387624   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13709872ns (13 ms)
    0:00:05.721916453   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:05.721959072   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:05.722033573   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01970: fd 36: mmap failed: Permission denied
    0:00:05.722071800   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01970: subclass map failed
    0:00:05.722124341   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.722404941   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.735382325   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   12940621ns (12 ms)
    0:00:05.736049258   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:05.736092853   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    0:00:05.736168981   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a78: fd 36: mmap failed: Permission denied
    0:00:05.736207858   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a78: subclass map failed
    0:00:05.736262189   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:05.736541813   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:05.750384096   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13806008ns (13 ms)
    0:00:05.751039480   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01ad0: fd 32: mmap failed: Permission denied
    0:00:05.751083237   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01ad0: subclass map failed
    0:00:05.751159040   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b28: fd 36: mmap failed: Permission denied
    0:00:05.751197266   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b28: subclass map failed
    0:00:05.751251109   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:06.104070065   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:06.117401249   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13287264ns (13 ms)
    0:00:06.117965702   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:06.118009948   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:06.118085913   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301810: fd 36: mmap failed: Permission denied
    0:00:06.118124465   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301810: subclass map failed
    0:00:06.118179609   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:06.118484284   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:06.132381710   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13860501ns (13 ms)
    0:00:06.132867270   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:06.132910214   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01918: subclass map failed
    0:00:06.132984716   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301868: fd 36: mmap failed: Permission denied
    0:00:06.133023268   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301868: subclass map failed
    0:00:06.133078412   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:06.133354457   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:06.147382017   729   0x143600ed to map buffer
    Execution ended after 0:00:05.227719180
    Setti36:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_0x143600 DEBUG                 ducati gstducativi   0x143600 ERROR                defauprocess
    Setting pipeline to READY ...
    0:00:06.341401382   729   0x143600 DEBUG                 ducat  0x143600 ERROR             GST_MEMORY 64enc0> VIDENC2_process took   14459440ns (14 ms)
    Setting p failed
    0:00:06.147979329   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb53018c0: fd 36: mmap failed: Permission denied
    0:00:06.148018532   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb53018c0: subclass map failed
    0:00:06.148071236   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:06.148371518   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:06.162382974   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13973880ns (13 ms)
    0:00:06.162862516   729   0x143600 ERROR                des
    0:00:06.117401249   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13287264ns (13 ms)
    0:00:06.117965702   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01b80: fd 33: mmap failed: Permission denied
    0:00:06.118009948   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01b80: subclass map failed
    0:00:06.118085913   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301810: fd 36: mmap failed: Permission denied
    0:00:06.118124465   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301810: subclass map failed
    0:00:06.118179609   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    0:00:06.118484284   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    0:00:06.132381710   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   13860501ns (13 ms)
    0:00:06.132867270   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01918: fd 25: mmap failed: Permission denied
    0:00:06.132910214   729   0x143600 ERROR         ^Cfault gstfdmemory.c:111:gst_fd_mem_map: 0xb5d01a20: fd 31: mmap failed: Permission denied
    0:00:06.326392291   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5d01a20: subclass map failed
    handling interrupt.
    0:00:06.326493795   729   0x143600 ERROR                default gstfdmemory.c:111:gst_fd_mem_map: 0xb5301918: fd 36: mmap failed: Permission denied
    0:00:06.326539505   729   0x143600 ERROR             GST_MEMORY gstmemory.c:324:gst_memory_map: mem 0xb5301918: subclass map failed
    Interrupt: Stopping pipeline ...
    0:00:06.326599529   729   0x143600 ERROR                default video-frame.c:155:gst_video_frame_map_id: failed to map buffer
    Execution ended after 0:00:05.227719180
    Setting pipeline to PAUSED ...
    0:00:06.326903227   729   0x143600 DEBUG                 ducati gstducatividenc.c:830:gst_ducati_videnc_handle_frame: Calling VIDENC2_process
    Setting pipeline to READY ...
    0:00:06.341401382   729   0x143600 DEBUG                 ducati gstducatividenc.c:836:gst_ducati_videnc_handle_frame:<ducatih264enc0> VIDENC2_process took   14459440ns (14 ms)
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@dra7xx-evm:~# 

  • Hi,
    Any further update about the issue, thanks!

    Regards,
    Simon
  • Hi Sam,
    This is a Known-issue that mmap fails on the vmem exported memory. This issue is not rootcaused yet. GST encode with videtestsrc as src is not a tested usecase.
    In your current pipeline, videotestsrc will try to mmap the buffers to fill its pattern which are allocated by gst-encoder and mmap in gstreamer is failing.
    Your actual usecase where you feed the intermediate buffers to gst-encoder, should create a dmabuf fd out of it and and push the same to gst-encode.
    In this case this issue will not happen as mmap is not required.

    This dmabuf-fd feature is supported with v4l2src but v4l2src can not be used here as VIP is controlled from IPU1.

    Thanks
    Ram
  • Hi Ram,
    Thanks for your further explanation. Here is still some puzzle to figure out.
    1. the dimensions for the recorded mp4 is 1920x1088 instead of 1920x1080, how the abnormality takes place?
    2. "Your actual usecase where you feed the intermediate buffers to gst-encoder, should create a dmabuf fd out of it and and push the same to gst-encode. " is there something I can refer to for such practice?

    Regards,
    Simon

  • Hi Simon,
    1) Which stream analyzer you are using to view the stream properties. I use Elecard stream eye and VLC . Both show 1920x1080 as the resolution.
    2) TI had a software package to demo this for car blackbox usecase but this software package is not yet public.

    Thanks
    Ram
  • Hi Ram,
    for 1, It's my mistake, when I exam the properties in Windows, they are ok, but not so in Ubuntu.
    for 2, I will back to you when I have difficulty to implement the feature.
    again thanks for your nice support.