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.

TDA4VM: Video decoding problem on TDA4VM using v4l2h264dec

Part Number: TDA4VM

Tool/software:

Hello Devs,

I am trying to run this gstreamer pipeline:

sudo gst-launch-1.0 rtspsrc location=rtsp://0.0.0.0:554/stream latency=0 buffer-mode=auto ! rtph264depay ! h264parse ! v4l2h264dec ! fakevideosink

The error I am getting is

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://192.168.0.16:554/ch01.264
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Redistribute latency...
WARNING: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: Could not decode stream.
Additional debug info:
../gst/videoparsers/gsth264parse.c(1457): gst_h264_parse_handle_frame (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:
Broken bit stream
WARNING: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: Could not decode stream.
Additional debug info:
../gst/videoparsers/gsth264parse.c(1457): gst_h264_parse_handle_frame (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:
Broken bit stream
ERROR: from element /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0: Failed to allocate required memory.
Additional debug info:
../sys/v4l2/gstv4l2videodec.c(808): gst_v4l2_video_dec_handle_frame (): /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0:
Buffer pool activation failed
Execution ended after 0:00:00.091038712
Setting pipeline to NULL ...
Freeing pipeline ...

I am working on SDK version 8.6.

I cannot switch to newer SDK versions as there are already systems running on 8.6.

Please help.

Thank you

Best

Shubham

  • Hi Shubham,

    What is the stream-use case that is being sent over rtsp? Can you run the pipeline with a filesrc input and share if you see the errors?

    BR,
    Sarabesh S.

  • Hello Sarabesh,

    Thank you for the reply.

    1. What is the stream-use case that is being sent over rtsp? 
      It is an RTSP stream coming from a Network Camera.

    2. Can you run the pipeline with a filesrc input and share if you see the errors?
      Here is the command I used to run the h264 file
      sudo GST_DEBUG="v4l2*:7"  gst-launch-1.0 filesrc location=./h264.h264 ! h264parse ! v4l2h264dec capture-io-mode=5 !   video/x-raw,format=NV12 ! tiovxcolorconvert ! video/x-raw,format=NV12 ! tiovxmultiscaler sink::pool-size=8 ! video/x-raw,format=NV12 ! fakesink


      and this is the error log:
      0:00:00.038906864  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:131:gst_v4l2_probe_and_register: Probing devices
      0:00:00.040487382  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:164:gst_v4l2_probe_and_register: Probing 'vxe-enc' located at '/dev/video0'
      0:00:00.040532764  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video0 format enumerations
      0:00:00.040575990  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video0 format enumerations
      0:00:00.040606491  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       0
      0:00:00.040630991  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        10
      0:00:00.040652717  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.040672413  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'Y/CbCr 4:2:0'
      0:00:00.040695768  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: NV12
      0:00:00.040786556  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       1
      0:00:00.040804896  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        10
      0:00:00.040818952  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.040828762  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: '32-bit A/XRGB 8-8-8-8'
      0:00:00.040843657  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: RGB4
      0:00:00.040913229  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video0 format enumerations
      0:00:00.040932955  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video0 format enumerations
      0:00:00.040949530  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       0
      0:00:00.040959011  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.040967986  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000001
      0:00:00.040980896  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'H.264'
      0:00:00.040992601  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: H264
      0:00:00.041028107  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x3436324d M264
      0:00:00.041132015  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x31424752 RGB1
      0:00:00.041157666  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x35315241 AR15
      0:00:00.041185982  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0xb5315241 AR1.
      0:00:00.041217653  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x52424752 RGBR
      0:00:00.041230898  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x48524742 BGRH
      0:00:00.041313430  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34343452 R444
      0:00:00.041366207  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20343059 Y04 
      0:00:00.041383502  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20363059 Y06 
      0:00:00.041395658  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20303159 Y10 
      0:00:00.041406808  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20323159 Y12 
      0:00:00.041447089  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x42303159 Y10B
      0:00:00.041464040  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x384c4150 PAL8
      0:00:00.041479015  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20385655 UV8 
      0:00:00.041503856  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x31324d59 YM21
      0:00:00.041531071  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x56555959 YYUV
      0:00:00.041559202  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x59555956 VYUY
      0:00:00.041583203  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x50313459 Y41P
      0:00:00.041598688  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34343459 Y444
      0:00:00.041610414  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x4f565559 YUVO
      0:00:00.041621584  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x50565559 YUVP
      0:00:00.041633199  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34565559 YUV4
      0:00:00.041668200  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34324948 HI24
      0:00:00.041690786  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x32314d48 HM12
      0:00:00.041702456  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x3032344d M420
      0:00:00.041744102  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x32314d56 VM12
      0:00:00.041809379  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x3234564e NV42
      0:00:00.046569561  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:164:gst_v4l2_probe_and_register: Probing 'vxd-dec' located at '/dev/video1'
      0:00:00.046611127  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video1 format enumerations
      0:00:00.046635728  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video1 format enumerations
      0:00:00.046661884  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       0
      0:00:00.046676704  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        10
      0:00:00.046689729  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000001
      0:00:00.046702385  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'H.264'
      0:00:00.046717735  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: H264
      0:00:00.046751526  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       1
      0:00:00.046762406  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        10
      0:00:00.046772162  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000001
      0:00:00.046782232  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'HEVC'
      0:00:00.046793512  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: HEVC
      0:00:00.046814488  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       2
      0:00:00.046827913  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        10
      0:00:00.046837558  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000001
      0:00:00.046846529  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'Motion-JPEG'
      0:00:00.046859934  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: MJPG
      0:00:00.046890455  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video1 format enumerations
      0:00:00.046907635  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2.c:75:gst_v4l2_probe_template_caps: Getting /dev/video1 format enumerations
      0:00:00.046923966  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       0
      0:00:00.046936896  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.046950352  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.046962992  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'Y/CbCr 4:2:0'
      0:00:00.046977197  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: NV12
      0:00:00.047007983  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       1
      0:00:00.047022464  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.047034899  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.047044079  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'Y/CbCr 4:2:2'
      0:00:00.047057500  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: NV16
      0:00:00.047078750  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       2
      0:00:00.047091660  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.047100721  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.047112691  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: '10-bit YUV 4:2:0 (NV12)'
      0:00:00.047126306  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: TI12
      0:00:00.047141687  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x32314954 TI12
      0:00:00.047159057  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       3
      0:00:00.047171773  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.047184033  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.047193208  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: '10-bit YUV 4:2:2 (NV16)'
      0:00:00.047206574  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: TI16
      0:00:00.047221254  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x36314954 TI16
      0:00:00.047236289  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       4
      0:00:00.047245815  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.047257425  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.047269555  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'Planar YUV 4:2:0 (N-C)'
      0:00:00.047282656  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: YM12
      0:00:00.047302286  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:89:gst_v4l2_probe_template_caps: index:       5
      0:00:00.047315432  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:90:gst_v4l2_probe_template_caps: type:        9
      0:00:00.047327427  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:91:gst_v4l2_probe_template_caps: flags:       00000000
      0:00:00.047339557  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:92:gst_v4l2_probe_template_caps: description: 'Planar YUV 4:2:2 (N-C)'
      0:00:00.047350098  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2.c:93:gst_v4l2_probe_template_caps: pixelformat: YM16
      0:00:00.047364433  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x36314d59 YM16
      APP: Init ... !!!
      MEM: Init ... !!!
      MEM: Initialized DMA HEAP (fd=5) !!!
      MEM: Init ... Done !!!
      IPC: Init ... !!!
      IPC: Init ... Done !!!
      REMOTE_SERVICE: Init ... !!!
      REMOTE_SERVICE: Init ... Done !!!
        1238.247100 s: GTC Frequency = 200 MHz
      APP: Init ... Done !!!
        1238.247182 s:  VX_ZONE_INIT:Enabled
        1238.247193 s:  VX_ZONE_ERROR:Enabled
        1238.247198 s:  VX_ZONE_WARNING:Enabled
        1238.247792 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
        1238.251617 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
      0:00:00.096162766  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:916:gst_v4l2_video_dec_sink_getcaps:<v4l2h264dec0> Returning sink caps video/x-h264, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)au
      0:00:00.096286059  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:916:gst_v4l2_video_dec_sink_getcaps:<v4l2h264dec0> Returning sink caps video/x-h264, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)au
      0:00:00.096582302  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.096677180  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.096873955  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.097180764  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.097340848  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.097455331  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.097829172  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.098039128  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      0:00:00.098187837  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:892:gst_v4l2_video_dec_src_query:<v4l2h264dec0> Returning src caps video/x-raw, format=(string){ NV12, NV16, I420 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
      Setting pipeline to PAUSED ...
      0:00:00.098580928  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:125:gst_v4l2_video_dec_open:<v4l2h264dec0> Opening
      0:00:00.098617909  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:524:gst_v4l2_open:<v4l2h264dec0:sink> Trying to open device /dev/video1
      0:00:00.099008860  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:66:gst_v4l2_get_capabilities:<v4l2h264dec0> getting capabilities
      0:00:00.099055601  1722 0xaaaae00a3c90 LOG                     v4l2 v4l2_calls.c:80:gst_v4l2_get_capabilities:<v4l2h264dec0> driver:      'vxd-dec'
      0:00:00.099071501  1722 0xaaaae00a3c90 LOG                     v4l2 v4l2_calls.c:81:gst_v4l2_get_capabilities:<v4l2h264dec0> card:        'vxd-dec'
      0:00:00.099084257  1722 0xaaaae00a3c90 LOG                     v4l2 v4l2_calls.c:82:gst_v4l2_get_capabilities:<v4l2h264dec0> bus_info:    'platform:vxd-dec'
      0:00:00.099100267  1722 0xaaaae00a3c90 LOG                     v4l2 v4l2_calls.c:83:gst_v4l2_get_capabilities:<v4l2h264dec0> version:     00050aa8
      0:00:00.099114807  1722 0xaaaae00a3c90 LOG                     v4l2 v4l2_calls.c:84:gst_v4l2_get_capabilities:<v4l2h264dec0> capabilities: 04204000
      0:00:00.099126633  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:497:gst_v4l2_adjust_buf_type: adjust type to multi-planar output
      0:00:00.099138018  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:138:gst_v4l2_fill_lists:<v4l2h264dec0> getting enumerations
      0:00:00.099147518  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:141:gst_v4l2_fill_lists:<v4l2h264dec0>   channels
      0:00:00.099161039  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:213:gst_v4l2_fill_lists:<v4l2h264dec0>   norms
      0:00:00.099176239  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:261:gst_v4l2_fill_lists:<v4l2h264dec0>   controls+menus
      0:00:00.099188475  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:281:gst_v4l2_fill_lists:<v4l2h264dec0> checking control 00000000
      0:00:00.099200120  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:291:gst_v4l2_fill_lists:<v4l2h264dec0> V4L2_CTRL_FLAG_NEXT_CTRL not supported.
      0:00:00.099211165  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:281:gst_v4l2_fill_lists:<v4l2h264dec0> checking control 00980900
      0:00:00.099227306  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:299:gst_v4l2_fill_lists:<v4l2h264dec0> skipping control 00980900
      0:00:00.099238836  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:281:gst_v4l2_fill_lists:<v4l2h264dec0> checking control 08000000
      0:00:00.099249886  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:304:gst_v4l2_fill_lists:<v4l2h264dec0> controls finished
      0:00:00.099262102  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:457:gst_v4l2_fill_lists:<v4l2h264dec0> done
      0:00:00.099278272  1722 0xaaaae00a3c90 INFO                    v4l2 v4l2_calls.c:588:gst_v4l2_open:<v4l2h264dec0:sink> Opened device 'vxd-dec' (/dev/video1) successfully
      0:00:00.099294012  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:665:gst_v4l2_dup:<v4l2h264dec0:src> Trying to dup device /dev/video1
      0:00:00.099303518  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:504:gst_v4l2_adjust_buf_type: adjust type to multi-planar capture
      0:00:00.099317648  1722 0xaaaae00a3c90 INFO                    v4l2 v4l2_calls.c:684:gst_v4l2_dup:<v4l2h264dec0:src> Cloned device 'vxd-dec' (/dev/video1) successfully
      0:00:00.099335544  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:1175:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> getting src format enumerations
      0:00:00.099358544  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> index:       0
      0:00:00.099370360  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> type:        10
      0:00:00.099381625  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> flags:       00000001
      0:00:00.099392000  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> description: 'H.264'
      0:00:00.099411031  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> pixelformat: H264
      0:00:00.099431871  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> index:       1
      0:00:00.099443687  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> type:        10
      0:00:00.099457362  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> flags:       00000001
      0:00:00.099470737  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> description: 'HEVC'
      0:00:00.099484058  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> pixelformat: HEVC
      0:00:00.099499743  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> index:       2
      0:00:00.099513349  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> type:        10
      0:00:00.099524859  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> flags:       00000001
      0:00:00.099535164  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> description: 'Motion-JPEG'
      0:00:00.099547489  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> pixelformat: MJPG
      0:00:00.099563900  1722 0xaaaae00a3c90 INFO                    v4l2 gstv4l2object.c:1212:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink> got 3 format(s):
      0:00:00.099578750  1722 0xaaaae00a3c90 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink>   MJPG
      0:00:00.099591816  1722 0xaaaae00a3c90 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink>   HEVC
      0:00:00.099607186  1722 0xaaaae00a3c90 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:sink>   H264
      0:00:00.099914135  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:2741:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:sink> Enumerating frame sizes for H264
      0:00:00.100006837  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:2868:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:sink> Failed to enumerate frame sizes for pixelformat H264 (Inappropriate ioctl for device)
      0:00:00.100029203  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:sink> getting nearest size to 1x1 with format H264
      0:00:00.100053238  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:sink> got nearest size 64x64
      0:00:00.100071724  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:sink> getting nearest size to 32768x32768 with format H264
      0:00:00.100087999  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:sink> got nearest size 32768x32768
      0:00:00.100119940  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:2109:gst_v4l2_object_get_colorspace: Unknown enum v4l2_colorspace 0
      0:00:00.100229758  1722 0xaaaae00a3c90 INFO                    v4l2 gstv4l2object.c:4469:gst_v4l2_object_probe_caps:<v4l2h264dec0:sink> probed caps: video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }, parsed=(boolean)true
      0:00:00.100557632  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:184:gst_v4l2_video_dec_start:<v4l2h264dec0> Starting
      0:00:00.100589793  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:4341:gst_v4l2_object_unlock:<v4l2h264dec0:sink> start flushing
      Pipeline is PREROLLING ...
      0:00:00.102242434  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:468:gst_v4l2_video_dec_drain:<v4l2h264dec0> Draining...
      0:00:00.102292601  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:332:gst_v4l2_video_dec_flush:<v4l2h264dec0> Flushed
      0:00:00.102314721  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:4354:gst_v4l2_object_unlock_stop:<v4l2h264dec0:sink> stop flushing
      0:00:00.102329667  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:4354:gst_v4l2_object_unlock_stop:<v4l2h264dec0:src> stop flushing
      0:00:00.102999035  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:916:gst_v4l2_video_dec_sink_getcaps:<v4l2h264dec0> Returning sink caps video/x-h264, width=(int)[ 64, 8192 ], height=(int)[ 64, 8192 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)au, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }, parsed=(boolean)true
      0:00:00.103533235  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:916:gst_v4l2_video_dec_sink_getcaps:<v4l2h264dec0> Returning sink caps video/x-h264, width=(int)[ 64, 8192 ], height=(int)[ 64, 8192 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)au, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }, parsed=(boolean)true
      0:00:00.103919921  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:916:gst_v4l2_video_dec_sink_getcaps:<v4l2h264dec0> Returning sink caps video/x-h264, width=(int)640, height=(int)480, framerate=(fraction)0/1, stream-format=(string)byte-stream, alignment=(string)au, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }, parsed=(boolean)true, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, profile=(string)high, level=(string)4
      0:00:00.104065045  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:262:gst_v4l2_video_dec_set_format:<v4l2h264dec0> Setting format: video/x-h264, width=(int)640, height=(int)480, framerate=(fraction)0/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)high, level=(string)4
      0:00:00.104101736  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:4077:gst_v4l2_object_set_format:<v4l2h264dec0:sink> Setting format to video/x-h264, width=(int)640, height=(int)480, framerate=(fraction)0/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)high, level=(string)4
      0:00:00.104129381  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3489:gst_v4l2_object_set_format_full:<v4l2h264dec0> progressive video
      0:00:00.104153307  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3632:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink> Desired format 640x480, format H264 stride: 0
      0:00:00.104174228  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3682:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink> Desired format is 640x480, format H264, nb planes 1
      0:00:00.104189198  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3691:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink>   stride 0
      0:00:00.104203409  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3712:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink> Desired colorspace is 0:0:0:0
      0:00:00.110068936  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3735:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink> Got format of 640x512, format H264, nb planes 1, colorspace 0:0:0:0 field: none
      0:00:00.110133848  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3745:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink>   stride 0, sizeimage 491520
      0:00:00.110163874  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2109:gst_v4l2_object_get_colorspace: Unknown enum v4l2_colorspace 0
      0:00:00.110183844  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3825:gst_v4l2_object_set_format_full:<v4l2h264dec0:sink> Desired framerate: 0/1
      0:00:00.110209830  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3299:gst_v4l2_object_save_format:<v4l2h264dec0:sink> Got sizeimage 491520
      0:00:00.110223965  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:3051:gst_v4l2_object_setup_pool:<v4l2h264dec0:sink> initializing the output system
      0:00:00.110236921  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:3083:gst_v4l2_object_setup_pool:<v4l2h264dec0:sink> accessing buffers via mode 2
      0:00:00.110249626  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:3092:gst_v4l2_object_setup_pool:<v4l2h264dec0:sink> initiating buffer pool
      0:00:00.110684293  1722 0xaaaae00de2a0 DEBUG         v4l2bufferpool gstv4l2bufferpool.c:509:gst_v4l2_buffer_pool_set_config:<v4l2h264dec0:pool0:sink> config GstBufferPoolConfig, caps=(GstCaps)"video/x-h264\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ framerate\=\(fraction\)0/1\,\ chroma-format\=\(string\)4:2:0\,\ bit-depth-luma\=\(uint\)8\,\ bit-depth-chroma\=\(uint\)8\,\ parsed\=\(boolean\)true\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\=\(string\)4", size=(uint)491520, min-buffers=(uint)0, max-buffers=(uint)0, allocator=(GstAllocator)"NULL", params=(GstAllocationParams)NULL;
      0:00:00.110732089  1722 0xaaaae00de2a0 INFO          v4l2bufferpool gstv4l2bufferpool.c:557:gst_v4l2_buffer_pool_set_config:<v4l2h264dec0:pool0:sink> increasing minimum buffers to 2
      0:00:00.110752470  1722 0xaaaae00de2a0 INFO          v4l2bufferpool gstv4l2bufferpool.c:570:gst_v4l2_buffer_pool_set_config:<v4l2h264dec0:pool0:sink> reducing maximum buffers to 32
      0:00:00.110765995  1722 0xaaaae00de2a0 INFO          v4l2bufferpool gstv4l2bufferpool.c:581:gst_v4l2_buffer_pool_set_config:<v4l2h264dec0:pool0:sink> can't allocate, setting maximum to minimum
      0:00:00.110812332  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:1175:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> getting src format enumerations
      0:00:00.110836737  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> index:       0
      0:00:00.110849458  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> type:        9
      0:00:00.110861293  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> flags:       00000000
      0:00:00.110872733  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> description: 'Y/CbCr 4:2:0'
      0:00:00.110889959  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> pixelformat: NV12
      0:00:00.110909954  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> index:       1
      0:00:00.110921470  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> type:        9
      0:00:00.110933460  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> flags:       00000000
      0:00:00.110944670  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> description: 'Y/CbCr 4:2:2'
      0:00:00.110957566  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> pixelformat: NV16
      0:00:00.110977291  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> index:       2
      0:00:00.110991667  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> type:        9
      0:00:00.111003112  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> flags:       00000000
      0:00:00.111014037  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> description: '10-bit YUV 4:2:0 (NV12)'
      0:00:00.111026668  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> pixelformat: TI12
      0:00:00.111063834  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> index:       3
      0:00:00.111081584  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> type:        9
      0:00:00.111092934  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> flags:       00000000
      0:00:00.111106385  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> description: '10-bit YUV 4:2:2 (NV16)'
      0:00:00.111118685  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> pixelformat: TI16
      0:00:00.111134311  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> index:       4
      0:00:00.111148221  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> type:        9
      0:00:00.111158956  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> flags:       00000000
      0:00:00.111169687  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> description: 'Planar YUV 4:2:0 (N-C)'
      0:00:00.111182032  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> pixelformat: YM12
      0:00:00.111199897  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1193:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> index:       5
      0:00:00.111210838  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1194:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> type:        9
      0:00:00.111221263  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1195:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> flags:       00000000
      0:00:00.111235298  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> description: 'Planar YUV 4:2:2 (N-C)'
      0:00:00.111247659  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:1198:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> pixelformat: YM16
      0:00:00.111262194  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1212:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src> got 6 format(s):
      0:00:00.111278530  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src>   YM12
      0:00:00.111292390  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src>   NV16
      0:00:00.111304995  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src>   NV12
      0:00:00.111320561  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src>   YM16
      0:00:00.111333361  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src>   TI16
      0:00:00.111345246  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:1216:gst_v4l2_object_fill_format_list:<v4l2h264dec0:src>   TI12
      0:00:00.111421414  1722 0xaaaae00de2a0 WARN                    v4l2 gstv4l2object.c:4406:gst_v4l2_object_probe_caps:<v4l2h264dec0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
      0:00:00.111479485  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2741:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:src> Enumerating frame sizes for YM12
      0:00:00.111506941  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2868:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:src> Failed to enumerate frame sizes for pixelformat YM12 (Inappropriate ioctl for device)
      0:00:00.111522841  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> getting nearest size to 1x1 with format YM12
      0:00:00.111546742  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> got nearest size 64x64
      0:00:00.111561437  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> getting nearest size to 32768x32768 with format YM12
      0:00:00.111581718  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> got nearest size 32768x32768
      0:00:00.111621604  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2109:gst_v4l2_object_get_colorspace: Unknown enum v4l2_colorspace 0
      0:00:00.111783334  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2741:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:src> Enumerating frame sizes for NV16
      0:00:00.111812159  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2868:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:src> Failed to enumerate frame sizes for pixelformat NV16 (Inappropriate ioctl for device)
      0:00:00.111829680  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> getting nearest size to 1x1 with format NV16
      0:00:00.111845665  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> got nearest size 64x64
      0:00:00.111859581  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> getting nearest size to 32768x32768 with format NV16
      0:00:00.111874656  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> got nearest size 32768x32768
      0:00:00.111910552  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2109:gst_v4l2_object_get_colorspace: Unknown enum v4l2_colorspace 0
      0:00:00.112002210  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2741:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:src> Enumerating frame sizes for NV12
      0:00:00.112028995  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2868:gst_v4l2_object_probe_caps_for_format:<v4l2h264dec0:src> Failed to enumerate frame sizes for pixelformat NV12 (Inappropriate ioctl for device)
      0:00:00.112045361  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> getting nearest size to 1x1 with format NV12
      0:00:00.112067891  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> got nearest size 64x64
      0:00:00.112085867  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2980:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> getting nearest size to 32768x32768 with format NV12
      0:00:00.112104422  1722 0xaaaae00de2a0 LOG                     v4l2 gstv4l2object.c:2997:gst_v4l2_object_get_nearest_size:<v4l2h264dec0:src> got nearest size 32768x32768
      0:00:00.112137678  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:2109:gst_v4l2_object_get_colorspace: Unknown enum v4l2_colorspace 0
      0:00:00.112217696  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x36314d59 YM16
      0:00:00.112237456  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:4427:gst_v4l2_object_probe_caps:<v4l2h264dec0:src> unknown format YM16
      0:00:00.112253717  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x36314954 TI16
      0:00:00.112266427  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:4427:gst_v4l2_object_probe_caps:<v4l2h264dec0:src> unknown format TI16
      0:00:00.112278987  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:1587:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x32314954 TI12
      0:00:00.112294388  1722 0xaaaae00de2a0 DEBUG                   v4l2 gstv4l2object.c:4427:gst_v4l2_object_probe_caps:<v4l2h264dec0:src> unknown format TI12
      0:00:00.112523074  1722 0xaaaae00de2a0 INFO                    v4l2 gstv4l2object.c:4469:gst_v4l2_object_probe_caps:<v4l2h264dec0:src> probed caps: video/x-raw, format=(string)I420, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }; video/x-raw, format=(string)NV16, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }; video/x-raw, format=(string)NV12, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string){ progressive, interleaved }, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }; video/x-raw(format:Interlaced), format=(string)I420, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)alternate, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }; video/x-raw(format:Interlaced), format=(string)NV16, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)alternate, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }; video/x-raw(format:Interlaced), format=(string)NV12, width=(int)[ 64, 32768 ], height=(int)[ 64, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)alternate, colorimetry=(string){ bt601, smpte240m, bt709, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 }
      0:00:00.112949201  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:616:gst_v4l2_video_dec_handle_frame:<v4l2h264dec0> Handling frame 0
      0:00:00.112994012  1722 0xaaaae00de2a0 DEBUG           v4l2videodec gstv4l2videodec.c:637:gst_v4l2_video_dec_handle_frame:<v4l2h264dec0> Sending header
      0:00:00.113083745  1722 0xaaaae00de2a0 DEBUG         v4l2bufferpool gstv4l2bufferpool.c:509:gst_v4l2_buffer_pool_set_config:<v4l2h264dec0:pool0:sink> config GstBufferPoolConfig, caps=(GstCaps)"video/x-h264\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ framerate\=\(fraction\)0/1\,\ chroma-format\=\(string\)4:2:0\,\ bit-depth-luma\=\(uint\)8\,\ bit-depth-chroma\=\(uint\)8\,\ parsed\=\(boolean\)true\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\=\(string\)4", size=(uint)491520, min-buffers=(uint)2, max-buffers=(uint)32, allocator=(GstAllocator)"NULL", params=(GstAllocationParams)NULL;
      0:00:00.113106370  1722 0xaaaae00de2a0 INFO          v4l2bufferpool gstv4l2bufferpool.c:581:gst_v4l2_buffer_pool_set_config:<v4l2h264dec0:pool0:sink> can't allocate, setting maximum to minimum
      0:00:00.113145346  1722 0xaaaae00de2a0 WARN            v4l2videodec gstv4l2videodec.c:808:gst_v4l2_video_dec_handle_frame:<v4l2h264dec0> error: Failed to allocate required memory.
      0:00:00.113163052  1722 0xaaaae00de2a0 WARN            v4l2videodec gstv4l2videodec.c:808:gst_v4l2_video_dec_handle_frame:<v4l2h264dec0> error: Buffer pool activation failed
      ERROR: from element /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0: Failed to allocate required memory.
      Additional debug info:
      ../sys/v4l2/gstv4l2videodec.c(808): gst_v4l2_video_dec_handle_frame (): /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0:
      Buffer pool activation failed
      ERROR: pipeline doesn't want to preroll.
      Setting pipeline to NULL ...
      0:00:00.113746448  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:4341:gst_v4l2_object_unlock:<v4l2h264dec0:sink> start flushing
      0:00:00.113784669  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:4341:gst_v4l2_object_unlock:<v4l2h264dec0:src> start flushing
      0:00:00.113890987  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:198:gst_v4l2_video_dec_stop:<v4l2h264dec0> Stopping
      0:00:00.113910223  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:4341:gst_v4l2_object_unlock:<v4l2h264dec0:sink> start flushing
      0:00:00.113921838  1722 0xaaaae00a3c90 LOG                     v4l2 gstv4l2object.c:4341:gst_v4l2_object_unlock:<v4l2h264dec0:src> start flushing
      0:00:00.113934323  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:4365:gst_v4l2_object_stop:<v4l2h264dec0:sink> stopping
      0:00:00.113952699  1722 0xaaaae00a3c90 DEBUG         v4l2bufferpool gstv4l2bufferpool.c:1006:gst_v4l2_buffer_pool_orphan:<v4l2h264dec0:pool0:sink> orphaning pool
      0:00:00.113972294  1722 0xaaaae00a3c90 LOG            v4l2allocator gstv4l2allocator.c:413:gst_v4l2_allocator_dispose:<v4l2h264dec0:pool0:sink:allocator> called
      0:00:00.113991560  1722 0xaaaae00a3c90 LOG            v4l2allocator gstv4l2allocator.c:430:gst_v4l2_allocator_finalize:<v4l2h264dec0:pool0:sink:allocator> called
      0:00:00.114101733  1722 0xaaaae00a3c90 DEBUG                   v4l2 gstv4l2object.c:4365:gst_v4l2_object_stop:<v4l2h264dec0:src> stopping
      0:00:00.114124083  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:221:gst_v4l2_video_dec_stop:<v4l2h264dec0> Stopped
      0:00:00.114168170  1722 0xaaaae00a3c90 DEBUG           v4l2videodec gstv4l2videodec.c:169:gst_v4l2_video_dec_close:<v4l2h264dec0> Closing
      0:00:00.114188685  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:712:gst_v4l2_close:<v4l2h264dec0:sink> Trying to close /dev/video1
      0:00:00.114201371  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:465:gst_v4l2_empty_lists:<v4l2h264dec0:sink> deleting enumerations
      0:00:00.114219516  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:712:gst_v4l2_close:<v4l2h264dec0:src> Trying to close /dev/video1
      0:00:00.116573466  1722 0xaaaae00a3c90 DEBUG                   v4l2 v4l2_calls.c:465:gst_v4l2_empty_lists:<v4l2h264dec0:src> deleting enumerations
      ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: Internal data stream error.
      Additional debug info:
      ../libs/gst/base/gstbaseparse.c(3676): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:
      streaming stopped, reason error (-5)
      ERROR: pipeline doesn't want to preroll.
      Freeing pipeline ...
        1238.275905 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
        1238.279511 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
      APP: Deinit ... !!!
      REMOTE_SERVICE: Deinit ... !!!
      REMOTE_SERVICE: Deinit ... Done !!!
      IPC: Deinit ... !!!
      IPC: DeInit ... Done !!!
      MEM: Deinit ... !!!
      MEM: Alloc's: 0 alloc's of 0 bytes 
      MEM: Free's : 0 free's  of 0 bytes 
      MEM: Open's : 0 allocs  of 0 bytes 
      MEM: Deinit ... Done !!!
      APP: Deinit ... Done !!!
      



      I have tried the same with different capture-io-mode values and with the RTSP stream as well. However, I get the same error.

      Please help.

      Thank you

      Best
      Shubham
  • Hello Sarabesh,

    Any update on the issue?

    Thank you

    Best

    Shubham

  • Hi Shubham, 

    Since this issue is being looked at by our experts on another thread I will close this thread.

    Regards,
    Sarabesh S.