IMX8QXP VPU gstream

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

IMX8QXP VPU gstream

1,184 Views
gravity_one
Contributor III

hello,

use gstream , but linux-imx/drivers/mxc/vpu_malone/vpu_b0.c output error on imx8qxpc0 board by ipv6.

its work on imx8qxpc0 board by ipv4.

[ 1253.065565] [VPU Decoder] ctx[0] amount inconsistent between input(28) and output(0)

log:

root@imx8qxpc0:~# ^C
root@imx8qxpc0:~# gst-launch-1.0 -e udpsrc address=ff02::1 port=1234 ! application/x-rtp,payload=96 ! rtph264depay ! decodebin ! videoconvert ! filesink location=videofile
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[   78.912807] Dot4_WaveDataTx: WAVE data PTP not available > kernel 4.8.0
[   80.960852] LLC_MsgSend ERROR: Unknown send message type 65535
[   83.459809] [VPU Decoder] ctrls_setup_decoder() v4l2_ctrl_handler_init ctrls(13)
[   83.467373] [VPU Decoder] v4l2_custom_s_ctrl() control(9968128)
[   83.473365] [VPU Decoder] v4l2_custom_s_ctrl() control(9968384)
[   83.479434] [VPU Decoder] v4l2_custom_s_ctrl() control(9968640)
[   83.485438] [VPU Decoder] v4l2_custom_s_ctrl() control(9968129)
[   83.491577] [VPU Decoder] v4l2_custom_s_ctrl() control(9968130)
[   83.491585] [VPU Decoder] v4l2_custom_s_ctrl() control(9968131)
[   83.503545] [VPU Decoder] v4l2_custom_s_ctrl() control(9968137)
[   83.509782] [VPU Decoder] init_vb2_queue()
[   83.514075] [VPU Decoder] init_vb2_queue()
[   83.518272] [VPU Decoder] <4289> ctx[0] open
[   83.522689] [VPU Decoder] v4l2_ioctl_querycap()
[   83.527333] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.532653] [VPU Decoder] OUTPUT fmt[0] H264
[   83.537119] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.542417] [VPU Decoder] OUTPUT fmt[1] VC1G
[   83.546828] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.552133] [VPU Decoder] OUTPUT fmt[2] VC1L
[   83.556564] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.561853] [VPU Decoder] OUTPUT fmt[3] MPG2
[   83.566261] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.571560] [VPU Decoder] OUTPUT fmt[4] AVS0
[   83.575961] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.581273] [VPU Decoder] OUTPUT fmt[5] MPG4
[   83.585687] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.590978] [VPU Decoder] OUTPUT fmt[6] JPEG
[   83.595373] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.600662] [VPU Decoder] OUTPUT fmt[7] VP60
[   83.605057] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.610351] [VPU Decoder] OUTPUT fmt[8] SPK0
[   83.614760] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.620062] [VPU Decoder] OUTPUT fmt[9] H263
[   83.624474] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.629808] [VPU Decoder] OUTPUT fmt[10] VP80
[   83.634290] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.639587] [VPU Decoder] OUTPUT fmt[11] M264
[   83.644051] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.649345] [VPU Decoder] OUTPUT fmt[12] HEVC
[   83.653858] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.659159] [VPU Decoder] OUTPUT fmt[13] XVID
[   83.663659] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.668960] [VPU Decoder] OUTPUT fmt[14] LOGO
[   83.673422] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.678886] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_cap()
[   83.684186] [VPU Decoder] CAPTURE fmt[0] NV12
[   83.688753] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_cap()
[   83.694030] [VPU Decoder] CAPTURE fmt[1] NT12
[   83.698463] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_cap()
[   83.708978] [VPU Decoder] <4289> ctx[0] close
[   83.713412] [VPU Decoder] ctx[0]: v4l2_release() - stopped, not finished, not eos_added, total frame: 0
[   83.723335] [VPU Decoder] clear_queue() is called
[   83.728201] [VPU Decoder] OUTPUT qbuf_count : 0, dqbuf_count : 0
[   83.734360] [VPU Decoder] clear_queue() is called
[   83.739120] [VPU Decoder] CAPTURE qbuf_count : 0, dqbuf_count : 0
[   83.766425] [VPU Decoder] ctrls_setup_decoder() v4l2_ctrl_handler_init ctrls(13)
[   83.773981] [VPU Decoder] v4l2_custom_s_ctrl() control(9968128)
[   83.779980] [VPU Decoder] v4l2_custom_s_ctrl() control(9968384)
[   83.785962] [VPU Decoder] v4l2_custom_s_ctrl() control(9968640)
[   83.791953] [VPU Decoder] v4l2_custom_s_ctrl() control(9968129)
[   83.797949] [VPU Decoder] v4l2_custom_s_ctrl() control(9968130)
[   83.803942] [VPU Decoder] v4l2_custom_s_ctrl() control(9968131)
[   83.809963] [VPU Decoder] v4l2_custom_s_ctrl() control(9968137)
[   83.816206] [VPU Decoder] init_vb2_queue()
[   83.820422] [VPU Decoder] init_vb2_queue()
[   83.824591] [VPU Decoder] <4289> ctx[0] open
[   83.828973] [VPU Decoder] v4l2_ioctl_querycap()
[   83.833739] [VPU Decoder] v4l2_ioctl_subscribe_event(), type: 0x5
[   83.839936] [VPU Decoder] v4l2_ioctl_subscribe_event(), type: 0x2
[   83.846094] [VPU Decoder] v4l2_ioctl_subscribe_event(), type: 0x8000001
[   83.852840] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.858163] [VPU Decoder] OUTPUT fmt[0] H264
[   83.862529] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.867830] [VPU Decoder] OUTPUT fmt[1] VC1G
[   83.872194] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.877499] [VPU Decoder] OUTPUT fmt[2] VC1L
[   83.881890] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.887223] [VPU Decoder] OUTPUT fmt[3] MPG2
[   83.891589] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.896886] [VPU Decoder] OUTPUT fmt[4] AVS0
[   83.901276] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.906578] [VPU Decoder] OUTPUT fmt[5] MPG4
[   83.910943] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.916247] [VPU Decoder] OUTPUT fmt[6] JPEG
[   83.920608] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.925909] [VPU Decoder] OUTPUT fmt[7] VP60
[   83.930295] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.935617] [VPU Decoder] OUTPUT fmt[8] SPK0
[   83.939983] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.945302] [VPU Decoder] OUTPUT fmt[9] H263
[   83.949670] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.954982] [VPU Decoder] OUTPUT fmt[10] VP80
[   83.959451] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.964770] [VPU Decoder] OUTPUT fmt[11] M264
[   83.969235] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.974531] [VPU Decoder] OUTPUT fmt[12] HEVC
[   83.978960] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.984241] [VPU Decoder] OUTPUT fmt[13] XVID
[   83.988696] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   83.994020] [VPU Decoder] OUTPUT fmt[14] LOGO
[   83.998470] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_out()
[   84.004154] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_cap()
[   84.009474] [VPU Decoder] CAPTURE fmt[0] NV12
[   84.013959] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_cap()
[   84.019288] [VPU Decoder] CAPTURE fmt[1] NT12
[   84.023747] [VPU Decoder] v4l2_ioctl_enum_fmt_vid_cap()
[   84.029058] [VPU Decoder] vpu_dec_v4l2_ioctl_g_selection()
[   84.035802] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   84.042271] [VPU Decoder] ctx[0] CAPTURE off
[   84.047190] [VPU Decoder] v4l2_ioctl_s_fmt()
[   84.051572] [VPU Decoder] OUTPUT s_fmt : H264 640 x 480
[   84.057465] [VPU Decoder] v4l2_ioctl_reqbufs(), buffer_type: 10, buffer_count: 0
[   84.064969] [VPU Decoder] ctx[0] OUTPUT free buffers
[   84.070004] [VPU Decoder] ctx[0] OUTPUT free buffers done
[   84.075476] [VPU Decoder] v4l2_ioctl_reqbufs(), buffer_type: 10, buffer_count: 0
[   84.082979] [VPU Decoder] ctx[0] OUTPUT free buffers
[   84.087988] [VPU Decoder] ctx[0] OUTPUT free buffers done
[   84.093483] [VPU Decoder] v4l2_ioctl_reqbufs(), buffer_type: 10, buffer_count: 0
[   84.100955] [VPU Decoder] ctx[0] OUTPUT free buffers
[   84.105978] [VPU Decoder] ctx[0] OUTPUT free buffers done
[   84.111723] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   84.118171] [VPU Decoder] ctx[0] CAPTURE off
[   84.124021] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   84.130458] [VPU Decoder] ctx[0] CAPTURE off
[   84.134981] [VPU Decoder] v4l2_ioctl_reqbufs(), buffer_type: 10, buffer_count: 2
[   84.142466] [VPU Decoder] ctx[0] OUTPUT request buffers
[   84.147761] [VPU Decoder] vpu_queue_setup() is called
[   84.157988] [VPU Decoder] Buffer Status [ 0] : FRAME_ALLOC -> FRAME_ALLOC
[   84.167845] [VPU Decoder] Buffer Status [ 1] : FRAME_ALLOC -> FRAME_ALLOC
[   84.174741] [VPU Decoder] ctx[0] OUTPUT request buffers done
[   84.180595] [VPU Decoder] v4l2_ioctl_querybuf()
[   84.185274] [VPU Decoder] v4l2_ioctl_querybuf()
[   84.189956] [VPU Decoder] v4l2_mmap()
[   84.193900] [VPU Decoder] v4l2_mmap()
[   84.197842] [VPU Decoder] v4l2_ioctl_qbuf()
[   84.202110] [VPU Decoder] [0]input bytes :    12436 /            12436
[   84.208780] [VPU Decoder] vpu_buf_prepare() is called
[   84.213925] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   84.220018] [VPU Decoder] ctx[0] OUTPUT on
[   84.224197] [VPU Decoder] vpu_buf_queue() is called
[   84.229139] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=0
[   84.248153] [VPU Decoder] firmware version is 1.5.6
[   84.253133] [VPU Decoder] format translated to AVC
[   84.253136] [VPU Decoder]
[   84.260795] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   84.266730] [VPU Decoder] copy_buffer_to_stream()
[   84.270307] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   84.271627] [VPU Decoder] wptr : 0xa7000000 -> 0xa7003094
[   84.278492] [VPU Decoder] ctx[0] START DONE
[   84.283898] [VPU Decoder] resyncTSManager
[   84.289045] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   84.292165] [VPU Decoder] [INPUT  TS]                      5215316000
[   84.298183] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   84.304627] [VPU Decoder] [0]receive bytes :    12436 /            12436
[   84.311781] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   84.318542] [VPU Decoder] vpu_start_streaming() is called
[   84.324600] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.330654] [VPU Decoder] v4l2_poll()
[   84.335215] [VPU Decoder] v4l2_ioctl_decoder_cmd()
[   84.335221] [VPU Decoder] ctx[0]: receive V4L2_DEC_CMD_STOP
[   84.335226] [VPU Decoder] ctx[0]: insert eos directly
[   84.335229] [VPU Decoder] ctx[0] add eos
[   84.335231] [VPU Decoder] enter add_scode_vpu()
[   84.335244] [VPU Decoder] wptr : 0xa7003094 -> 0xa7004094
[   84.336862] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.375754] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.382720] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.388783] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.395698] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.401675] [VPU Decoder] recevie event: VID_API_EVENT_FINISHED, ctx id:0
[   84.408561] [VPU Decoder] ctx[0] amount inconsistent between input(1) and output(0)
[   84.416281] [VPU Decoder] ctx[0] FINISHED
[   84.420341] [VPU Decoder] receive VID_API_EVENT_FINISHED and notfiy app eos
[   84.427335] [VPU Decoder] send eos event
[   84.431303] [VPU Decoder] leave vpu_api_event_handler, uEvent 27
[   84.431316] [VPU Decoder] v4l2_poll()
[   84.437422] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.441027] [VPU Decoder] v4l2_poll() v4l2_event_pending
[   84.441507] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 10
[   84.447932] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.453304] [VPU Decoder] ctx[0] OUTPUT off
[   84.459668] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.459675] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.482651] [VPU Decoder] vpu_stop_streaming() is called
[   84.488018] [VPU Decoder] clear_queue() is called
[   84.492853] [VPU Decoder] OUTPUT qbuf_count : 1, dqbuf_count : 0
[   84.499018] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   84.505462] [VPU Decoder] ctx[0] CAPTURE off
[   84.509812] [VPU Decoder] send_abort_cmd(): send VID_API_CMD_ABORT
[   84.516057] [VPU Decoder] ctx[0] send ABORT CMD
[   84.520654] [VPU Decoder] enter add_scode_vpu()
[   84.525317] [VPU Decoder] send cmd: VID_API_CMD_ABORT ctx id:0
[   84.531514] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.538445] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.544429] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.551295] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.557306] [VPU Decoder] recevie event: VID_API_EVENT_ABORT_DONE, ctx id:0
[   84.564376] [VPU Decoder] vpu_api_event_handler AbrtDone StrBuf Curr, wptr(a7005094) rptr(a7004090) start(a7000000) end(a7c00000)
[   84.576214] [VPU Decoder] ctx[0] ABORT DONE, output qbuf(0/0),dqbuf(0)
[   84.582806] [VPU Decoder] [0]total bytes: 12436, 12436, 16532, 0
[   84.582816] [VPU Decoder] wptr : 0xa7005094 -> 0xa7004090
[   84.594374] [VPU Decoder] send cmd: VID_API_CMD_RST_BUF ctx id:0
[   84.600550] [VPU Decoder] leave vpu_api_event_handler, uEvent 26
[   84.606615] [VPU Decoder] recevie event: VID_API_EVENT_STR_BUF_RST, ctx id:0
[   84.613826] [VPU Decoder] vpu_api_event_handler wptr(a7004090) rptr(a7004090) start(a7000000) end(a7c00000)
[   84.623637] [VPU Decoder] Force reset ctx[0]
[   84.628056] [VPU Decoder] send cmd: VID_API_CMD_STOP ctx id:0
[   84.633861] [VPU Decoder] ctx[0] STR_BUF_RST
[   84.638219] [VPU Decoder] leave vpu_api_event_handler, uEvent 19
[   84.644317] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.651186] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.657183] [VPU Decoder] recevie event: VID_API_EVENT_STOPPED, ctx id:0
[   84.663975] [VPU Decoder] receive VID_API_EVENT_STOPPED
[   84.669257] [VPU Decoder] ctx[0] STOPPED, output qbuf(0), dqbuf(0)
[   84.675553] [VPU Decoder] leave vpu_api_event_handler, uEvent 25
[   84.675678] [VPU Decoder] v4l2_ioctl_qbuf()
[   84.685919] [VPU Decoder] [0]input bytes :    11135 /            11135
[   84.692596] [VPU Decoder] vpu_buf_prepare() is called
[   84.697802] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   84.703881] [VPU Decoder] ctx[0] OUTPUT on
[   84.708074] [VPU Decoder] vpu_buf_queue() is called
[   84.713017] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=1
[   84.719323] [VPU Decoder] firmware version is 1.5.6
[   84.724256] [VPU Decoder] format translated to AVC
[   84.724260] [VPU Decoder]
[   84.731811] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   84.737769] [VPU Decoder] copy_buffer_to_stream()
[   84.741346] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   84.742690] [VPU Decoder] wptr : 0xa7000000 -> 0xa7002b7f
[   84.749548] [VPU Decoder] ctx[0] START DONE
[   84.754919] [VPU Decoder] resyncTSManager
[   84.759176] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   84.763193] [VPU Decoder] [INPUT  TS]                      6164508000
[   84.769222] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   84.775706] [VPU Decoder] [0]receive bytes :    11135 /            11135
[   84.782881] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   84.789543] [VPU Decoder] vpu_start_streaming() is called
[   84.790116] [VPU Decoder] v4l2_poll()
[   84.790798] [VPU Decoder] v4l2_ioctl_qbuf()
[   84.790807] [VPU Decoder] [0]input bytes :    10531 /            21666
[   84.790818] [VPU Decoder] vpu_buf_prepare() is called
[   84.790822] [VPU Decoder] vpu_buf_queue() is called
[   84.790825] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=0
[   84.790835] [VPU Decoder] enter update_stream_addr
[   84.790842] [VPU Decoder] update_stream_addr wptr(a7002b7f) rptr(a7000000) start(a7000000) end(a7c00000) uStrBufIdx(0)
[   84.790846] [VPU Decoder] copy_buffer_to_stream()
[   84.790964] [VPU Decoder] wptr : 0xa7002b7f -> 0xa70054a2
[   84.790970] [VPU Decoder] [INPUT  TS]                      6619989000
[   84.790975] [VPU Decoder] [0]receive bytes :    10531 /            21666
[   84.791004] [VPU Decoder] v4l2_poll()
[   84.791017] [VPU Decoder] v4l2_ioctl_dqbuf()
[   84.793762] [VPU Decoder] v4l2_ioctl_decoder_cmd()
[   84.793767] [VPU Decoder] ctx[0]: receive V4L2_DEC_CMD_STOP
[   84.793771] [VPU Decoder] ctx[0]: insert eos directly
[   84.793774] [VPU Decoder] ctx[0] add eos
[   84.793777] [VPU Decoder] enter add_scode_vpu()
[   84.793789] [VPU Decoder] wptr : 0xa70054a2 -> 0xa70064a4
[   84.795693] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.914514] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.915527] LLC_MsgErrorInd: MKXIF_ERROR: -11302
[   84.920529] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.932035] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.938082] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.945014] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.950966] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   84.957785] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   84.963724] [VPU Decoder] recevie event: VID_API_EVENT_FINISHED, ctx id:0
[   84.970536] [VPU Decoder] ctx[0] amount inconsistent between input(2) and output(0)
[   84.978214] [VPU Decoder] ctx[0] FINISHED
[   84.982243] [VPU Decoder] receive VID_API_EVENT_FINISHED and notfiy app eos
[   84.989230] [VPU Decoder] send eos event
[   84.993190] [VPU Decoder] leave vpu_api_event_handler, uEvent 27
[   84.993200] [VPU Decoder] v4l2_poll()
[   84.999226] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.002908] [VPU Decoder] v4l2_poll() v4l2_event_pending
[   85.003168] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 10
[   85.009738] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.009742] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.009749] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.015125] [VPU Decoder] ctx[0] OUTPUT off
[   85.044409] [VPU Decoder] vpu_stop_streaming() is called
[   85.049762] [VPU Decoder] clear_queue() is called
[   85.054497] [VPU Decoder] OUTPUT qbuf_count : 2, dqbuf_count : 1
[   85.060600] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   85.066981] [VPU Decoder] ctx[0] CAPTURE off
[   85.071293] [VPU Decoder] send_abort_cmd(): send VID_API_CMD_ABORT
[   85.077496] [VPU Decoder] ctx[0] send ABORT CMD
[   85.082067] [VPU Decoder] enter add_scode_vpu()
[   85.086650] [VPU Decoder] send cmd: VID_API_CMD_ABORT ctx id:0
[   85.095956] [VPU Decoder] recevie event: VID_API_EVENT_ABORT_DONE, ctx id:0
[   85.102983] [VPU Decoder] vpu_api_event_handler AbrtDone StrBuf Curr, wptr(a70074a4) rptr(a70054a0) start(a7000000) end(a7c00000)
[   85.114675] [VPU Decoder] ctx[0] ABORT DONE, output qbuf(0/0),dqbuf(0)
[   85.121235] [VPU Decoder] [0]total bytes: 21666, 21666, 25764, 0
[   85.127264] [VPU Decoder] wptr : 0xa70074a4 -> 0xa70054a0
[   85.132705] [VPU Decoder] send cmd: VID_API_CMD_RST_BUF ctx id:0
[   85.138736] [VPU Decoder] leave vpu_api_event_handler, uEvent 26
[   85.144771] [VPU Decoder] recevie event: VID_API_EVENT_STR_BUF_RST, ctx id:0
[   85.151853] [VPU Decoder] vpu_api_event_handler wptr(a70054a0) rptr(a70054a0) start(a7000000) end(a7c00000)
[   85.161620] [VPU Decoder] Force reset ctx[0]
[   85.165917] [VPU Decoder] send cmd: VID_API_CMD_STOP ctx id:0
[   85.171710] [VPU Decoder] ctx[0] STR_BUF_RST
[   85.176002] [VPU Decoder] leave vpu_api_event_handler, uEvent 19
[   85.182054] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.188872] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.194824] [VPU Decoder] recevie event: VID_API_EVENT_STOPPED, ctx id:0
[   85.201552] [VPU Decoder] receive VID_API_EVENT_STOPPED
[   85.206832] [VPU Decoder] ctx[0] STOPPED, output qbuf(0), dqbuf(0)
[   85.213054] [VPU Decoder] leave vpu_api_event_handler, uEvent 25
[   85.213189] [VPU Decoder] v4l2_ioctl_qbuf()
[   85.223303] [VPU Decoder] [0]input bytes :     9198 /             9198
[   85.229894] [VPU Decoder] vpu_buf_prepare() is called
[   85.234996] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   85.241033] [VPU Decoder] ctx[0] OUTPUT on
[   85.245157] [VPU Decoder] vpu_buf_queue() is called
[   85.250056] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=1
[   85.256376] [VPU Decoder] firmware version is 1.5.6
[   85.261284] [VPU Decoder] format translated to AVC
[   85.261290] [VPU Decoder]
[   85.268843] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   85.274711] [VPU Decoder] copy_buffer_to_stream()
[   85.278295] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   85.279565] [VPU Decoder] wptr : 0xa7000000 -> 0xa70023ee
[   85.286420] [VPU Decoder] ctx[0] START DONE
[   85.291827] [VPU Decoder] resyncTSManager
[   85.296018] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   85.296025] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   85.296034] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   85.300052] [VPU Decoder] [INPUT  TS]                      6623219000
[   85.300056] [VPU Decoder] [0]receive bytes :     9198 /             9198
[   85.300062] [VPU Decoder] vpu_start_streaming() is called
[   85.300428] [VPU Decoder] v4l2_poll()
[   85.306088] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.306097] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.306100] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.306112] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.306122] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.306324] [VPU Decoder] v4l2_ioctl_decoder_cmd()
[   85.306328] [VPU Decoder] ctx[0]: receive V4L2_DEC_CMD_STOP
[   85.306332] [VPU Decoder] ctx[0]: insert eos directly
[   85.306334] [VPU Decoder] ctx[0] add eos
[   85.306337] [VPU Decoder] enter add_scode_vpu()
[   85.306349] [VPU Decoder] wptr : 0xa70023ee -> 0xa70033f0
[   85.403101] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.409052] [VPU Decoder] recevie event: VID_API_EVENT_FINISHED, ctx id:0
[   85.415887] [VPU Decoder] ctx[0] amount inconsistent between input(1) and output(0)
[   85.423571] [VPU Decoder] ctx[0] FINISHED
[   85.427623] [VPU Decoder] receive VID_API_EVENT_FINISHED and notfiy app eos
[   85.434614] [VPU Decoder] send eos event
[   85.438587] [VPU Decoder] leave vpu_api_event_handler, uEvent 27
[   85.438596] [VPU Decoder] v4l2_poll()
[   85.444675] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.448311] [VPU Decoder] v4l2_poll() v4l2_event_pending
[   85.455108] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.455112] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.455116] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.479352] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 10
[   85.485837] [VPU Decoder] ctx[0] OUTPUT off
[   85.490050] [VPU Decoder] vpu_stop_streaming() is called
[   85.495381] [VPU Decoder] clear_queue() is called
[   85.500107] [VPU Decoder] OUTPUT qbuf_count : 1, dqbuf_count : 0
[   85.506172] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   85.512546] [VPU Decoder] ctx[0] CAPTURE off
[   85.516840] [VPU Decoder] send_abort_cmd(): send VID_API_CMD_ABORT
[   85.523039] [VPU Decoder] ctx[0] send ABORT CMD
[   85.527618] [VPU Decoder] enter add_scode_vpu()
[   85.532206] [VPU Decoder] send cmd: VID_API_CMD_ABORT ctx id:0
[   85.538365] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.545199] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.551140] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.557948] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.563910] [VPU Decoder] recevie event: VID_API_EVENT_ABORT_DONE, ctx id:0
[   85.570907] [VPU Decoder] vpu_api_event_handler AbrtDone StrBuf Curr, wptr(a70043f0) rptr(a70033e8) start(a7000000) end(a7c00000)
[   85.582591] [VPU Decoder] ctx[0] ABORT DONE, output qbuf(0/0),dqbuf(0)
[   85.589145] [VPU Decoder] [0]total bytes: 9198, 9198, 13296, 0
[   85.595003] [VPU Decoder] wptr : 0xa70043f0 -> 0xa70033e8
[   85.600450] [VPU Decoder] send cmd: VID_API_CMD_RST_BUF ctx id:0
[   85.606485] [VPU Decoder] leave vpu_api_event_handler, uEvent 26
[   85.612527] [VPU Decoder] recevie event: VID_API_EVENT_STR_BUF_RST, ctx id:0
[   85.619620] [VPU Decoder] vpu_api_event_handler wptr(a70033e8) rptr(a70033e8) start(a7000000) end(a7c00000)
[   85.629386] [VPU Decoder] Force reset ctx[0]
[   85.633698] [VPU Decoder] send cmd: VID_API_CMD_STOP ctx id:0
[   85.639467] [VPU Decoder] ctx[0] STR_BUF_RST
[   85.639471] [VPU Decoder] leave vpu_api_event_handler, uEvent 19
[   85.639476] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.639482] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.649805] [VPU Decoder] recevie event: VID_API_EVENT_STOPPED, ctx id:0
[   85.662553] [VPU Decoder] receive VID_API_EVENT_STOPPED
[   85.662557] [VPU Decoder] ctx[0] STOPPED, output qbuf(0), dqbuf(0)
[   85.662573] [VPU Decoder] leave vpu_api_event_handler, uEvent 25
[   85.662706] [VPU Decoder] v4l2_ioctl_qbuf()
[   85.662711] [VPU Decoder] [0]input bytes :     9718 /             9718
[   85.662721] [VPU Decoder] vpu_buf_prepare() is called
[   85.662741] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   85.662744] [VPU Decoder] ctx[0] OUTPUT on
[   85.662748] [VPU Decoder] vpu_buf_queue() is called
[   85.662752] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=0
[   85.662757] [VPU Decoder] firmware version is 1.5.6
[   85.662760] [VPU Decoder] format translated to AVC
[   85.662763] [VPU Decoder]
[   85.662781] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   85.662791] [VPU Decoder] copy_buffer_to_stream()
[   85.662904] [VPU Decoder] wptr : 0xa7000000 -> 0xa70025f6
[   85.662908] [VPU Decoder] resyncTSManager
[   85.662912] [VPU Decoder] [INPUT  TS]                      7135654000
[   85.662916] [VPU Decoder] [0]receive bytes :     9718 /             9718
[   85.662920] [VPU Decoder] vpu_start_streaming() is called
[   85.664138] [VPU Decoder] v4l2_ioctl_decoder_cmd()
[   85.664143] [VPU Decoder] ctx[0]: receive V4L2_DEC_CMD_STOP
[   85.664147] [VPU Decoder] ctx[0]: insert eos directly
[   85.664149] [VPU Decoder] ctx[0] add eos
[   85.664152] [VPU Decoder] enter add_scode_vpu()
[   85.664165] [VPU Decoder] wptr : 0xa70025f6 -> 0xa70035f8
[   85.664303] [VPU Decoder] v4l2_poll()
[   85.674533] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   85.674550] [VPU Decoder] ctx[0] START DONE
[   85.686764] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   85.686769] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   85.686774] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   85.686777] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.686782] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.850789] [VPU Decoder] recevie event: VID_API_EVENT_FINISHED, ctx id:0
[   85.857597] [VPU Decoder] ctx[0] amount inconsistent between input(1) and output(0)
[   85.865281] [VPU Decoder] ctx[0] FINISHED
[   85.869306] [VPU Decoder] receive VID_API_EVENT_FINISHED and notfiy app eos
[   85.876317] [VPU Decoder] send eos event
[   85.880273] [VPU Decoder] leave vpu_api_event_handler, uEvent 27
[   85.880288] [VPU Decoder] v4l2_poll()
[   85.886316] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.890027] [VPU Decoder] v4l2_poll() v4l2_event_pending
[   85.896814] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.902364] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 10
[   85.908091] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.914535] [VPU Decoder] ctx[0] OUTPUT off
[   85.914541] [VPU Decoder] vpu_stop_streaming() is called
[   85.914547] [VPU Decoder] clear_queue() is called
[   85.914553] [VPU Decoder] OUTPUT qbuf_count : 1, dqbuf_count : 0
[   85.914587] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   85.921375] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.925584] [VPU Decoder] ctx[0] CAPTURE off
[   85.958256] [VPU Decoder] send_abort_cmd(): send VID_API_CMD_ABORT
[   85.964479] [VPU Decoder] ctx[0] send ABORT CMD
[   85.969035] [VPU Decoder] enter add_scode_vpu()
[   85.973620] [VPU Decoder] send cmd: VID_API_CMD_ABORT ctx id:0
[   85.979767] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.986596] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   85.992562] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   85.999381] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.005322] [VPU Decoder] recevie event: VID_API_EVENT_ABORT_DONE, ctx id:0
[   86.012320] [VPU Decoder] vpu_api_event_handler AbrtDone StrBuf Curr, wptr(a70045f8) rptr(a70035f0) start(a7000000) end(a7c00000)
[   86.024002] [VPU Decoder] ctx[0] ABORT DONE, output qbuf(0/0),dqbuf(0)
[   86.030559] [VPU Decoder] [0]total bytes: 9718, 9718, 13816, 0
[   86.036436] [VPU Decoder] wptr : 0xa70045f8 -> 0xa70035f0
[   86.041877] [VPU Decoder] send cmd: VID_API_CMD_RST_BUF ctx id:0
[   86.047929] [VPU Decoder] leave vpu_api_event_handler, uEvent 26
[   86.053962] [VPU Decoder] recevie event: VID_API_EVENT_STR_BUF_RST, ctx id:0
[   86.061045] [VPU Decoder] vpu_api_event_handler wptr(a70035f0) rptr(a70035f0) start(a7000000) end(a7c00000)
[   86.070823] [VPU Decoder] Force reset ctx[0]
[   86.075129] [VPU Decoder] send cmd: VID_API_CMD_STOP ctx id:0
[   86.080921] [VPU Decoder] ctx[0] STR_BUF_RST
[   86.085211] [VPU Decoder] leave vpu_api_event_handler, uEvent 19
[   86.091255] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.098076] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.104036] [VPU Decoder] recevie event: VID_API_EVENT_STOPPED, ctx id:0
[   86.110773] [VPU Decoder] receive VID_API_EVENT_STOPPED
[   86.116033] [VPU Decoder] ctx[0] STOPPED, output qbuf(0), dqbuf(0)
[   86.122252] [VPU Decoder] leave vpu_api_event_handler, uEvent 25
[   86.122461] [VPU Decoder] v4l2_ioctl_qbuf()
[   86.132507] [VPU Decoder] [0]input bytes :     9216 /             9216
[   86.139086] [VPU Decoder] vpu_buf_prepare() is called
[   86.144198] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   86.150246] [VPU Decoder] ctx[0] OUTPUT on
[   86.154373] [VPU Decoder] vpu_buf_queue() is called
[   86.159272] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=1
[   86.165565] [VPU Decoder] firmware version is 1.5.6
[   86.170469] [VPU Decoder] format translated to AVC
[   86.170472] [VPU Decoder]
[   86.178032] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   86.183923] [VPU Decoder] copy_buffer_to_stream()
[   86.187499] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   86.188779] [VPU Decoder] wptr : 0xa7000000 -> 0xa7002400
[   86.195634] [VPU Decoder] ctx[0] START DONE
[   86.201028] [VPU Decoder] resyncTSManager
[   86.205220] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   86.205225] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   86.205230] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   86.209278] [VPU Decoder] [INPUT  TS]                      7493586000
[   86.215271] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.241689] [VPU Decoder] [0]receive bytes :     9216 /             9216
[   86.248418] [VPU Decoder] vpu_start_streaming() is called
[   86.253863] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.254179] [VPU Decoder] v4l2_poll()
[   86.255536] [VPU Decoder] v4l2_ioctl_decoder_cmd()
[   86.255541] [VPU Decoder] ctx[0]: receive V4L2_DEC_CMD_STOP
[   86.255546] [VPU Decoder] ctx[0]: insert eos directly
[   86.255548] [VPU Decoder] ctx[0] add eos
[   86.255551] [VPU Decoder] enter add_scode_vpu()
[   86.255564] [VPU Decoder] wptr : 0xa7002400 -> 0xa7003400
[   86.259835] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.299639] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.305590] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.312403] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.318362] [VPU Decoder] recevie event: VID_API_EVENT_FINISHED, ctx id:0
[   86.325182] [VPU Decoder] ctx[0] amount inconsistent between input(1) and output(0)
[   86.332863] [VPU Decoder] ctx[0] FINISHED
[   86.336894] [VPU Decoder] receive VID_API_EVENT_FINISHED and notfiy app eos
[   86.343880] [VPU Decoder] send eos event
[   86.347833] [VPU Decoder] leave vpu_api_event_handler, uEvent 27
[   86.347843] [VPU Decoder] v4l2_poll()
[   86.353863] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.353872] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.357550] [VPU Decoder] v4l2_poll() v4l2_event_pending
[   86.357768] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 10
[   86.364389] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.364397] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.370326] [VPU Decoder] ctx[0] OUTPUT off
[   86.370336] [VPU Decoder] vpu_stop_streaming() is called
[   86.404420] [VPU Decoder] clear_queue() is called
[   86.409171] [VPU Decoder] OUTPUT qbuf_count : 1, dqbuf_count : 0
[   86.415239] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   86.421634] [VPU Decoder] ctx[0] CAPTURE off
[   86.425930] [VPU Decoder] send_abort_cmd(): send VID_API_CMD_ABORT
[   86.432151] [VPU Decoder] ctx[0] send ABORT CMD
[   86.436709] [VPU Decoder] enter add_scode_vpu()
[   86.441291] [VPU Decoder] send cmd: VID_API_CMD_ABORT ctx id:0
[   86.447443] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.454272] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.460220] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.467059] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.473006] [VPU Decoder] recevie event: VID_API_EVENT_ABORT_DONE, ctx id:0
[   86.480025] [VPU Decoder] vpu_api_event_handler AbrtDone StrBuf Curr, wptr(a7004400) rptr(a70033f8) start(a7000000) end(a7c00000)
[   86.491714] [VPU Decoder] ctx[0] ABORT DONE, output qbuf(0/0),dqbuf(0)
[   86.498269] [VPU Decoder] [0]total bytes: 9216, 9216, 13312, 0
[   86.504136] [VPU Decoder] wptr : 0xa7004400 -> 0xa70033f8
[   86.509577] [VPU Decoder] send cmd: VID_API_CMD_RST_BUF ctx id:0
[   86.515629] [VPU Decoder] leave vpu_api_event_handler, uEvent 26
[   86.521664] [VPU Decoder] recevie event: VID_API_EVENT_STR_BUF_RST, ctx id:0
[   86.528800] [VPU Decoder] vpu_api_event_handler wptr(a70033f8) rptr(a70033f8) start(a7000000) end(a7c00000)
[   86.538574] [VPU Decoder] Force reset ctx[0]
[   86.542880] [VPU Decoder] send cmd: VID_API_CMD_STOP ctx id:0
[   86.548651] [VPU Decoder] ctx[0] STR_BUF_RST
[   86.552946] [VPU Decoder] leave vpu_api_event_handler, uEvent 19
[   86.558976] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.565786] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.571732] [VPU Decoder] recevie event: VID_API_EVENT_STOPPED, ctx id:0
[   86.578469] [VPU Decoder] receive VID_API_EVENT_STOPPED
[   86.583718] [VPU Decoder] ctx[0] STOPPED, output qbuf(0), dqbuf(0)
[   86.589933] [VPU Decoder] leave vpu_api_event_handler, uEvent 25
[   86.590069] [VPU Decoder] v4l2_ioctl_qbuf()
[   86.600198] [VPU Decoder] [0]input bytes :     9290 /             9290
[   86.606763] [VPU Decoder] vpu_buf_prepare() is called
[   86.611884] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   86.617915] [VPU Decoder] ctx[0] OUTPUT on
[   86.622058] [VPU Decoder] vpu_buf_queue() is called
[   86.626961] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=0
[   86.633264] [VPU Decoder] firmware version is 1.5.6
[   86.638164] [VPU Decoder] format translated to AVC
[   86.638170] [VPU Decoder]
[   86.645743] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   86.651612] [VPU Decoder] copy_buffer_to_stream()
[   86.655191] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   86.656448] [VPU Decoder] wptr : 0xa7000000 -> 0xa700244a
[   86.663327] [VPU Decoder] ctx[0] START DONE
[   86.668729] [VPU Decoder] resyncTSManager
[   86.672930] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   86.676931] [VPU Decoder] [INPUT  TS]                      8084989000
[   86.676936] [VPU Decoder] [0]receive bytes :     9290 /             9290
[   86.676942] [VPU Decoder] vpu_start_streaming() is called
[   86.677305] [VPU Decoder] v4l2_poll()
[   86.679893] [VPU Decoder] v4l2_ioctl_decoder_cmd()
[   86.679898] [VPU Decoder] ctx[0]: receive V4L2_DEC_CMD_STOP
[   86.679903] [VPU Decoder] ctx[0]: insert eos directly
[   86.679905] [VPU Decoder] ctx[0] add eos
[   86.679908] [VPU Decoder] enter add_scode_vpu()
[   86.679921] [VPU Decoder] wptr : 0xa700244a -> 0xa700344c
[   86.682970] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   86.682976] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   86.682980] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.682984] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.682987] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.682996] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.724611] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.734553] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.734560] [VPU Decoder] recevie event: VID_API_EVENT_FINISHED, ctx id:0
[   86.734570] [VPU Decoder] ctx[0] amount inconsistent between input(1) and output(0)
[   86.734579] [VPU Decoder] ctx[0] FINISHED
[   86.747751] [VPU Decoder] receive VID_API_EVENT_FINISHED and notfiy app eos
[   86.747758] [VPU Decoder] send eos event
[   86.747775] [VPU Decoder] leave vpu_api_event_handler, uEvent 27
[   86.748319] [VPU Decoder] v4l2_poll()
[   86.748323] [VPU Decoder] v4l2_poll() v4l2_event_pending
[   86.748567] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 10
[   86.748570] [VPU Decoder] ctx[0] OUTPUT off
[   86.748575] [VPU Decoder] vpu_stop_streaming() is called
[   86.748577] [VPU Decoder] clear_queue() is called
[   86.748581] [VPU Decoder] OUTPUT qbuf_count : 1, dqbuf_count : 0
[   86.748610] [VPU Decoder] v4l2_ioctl_streamoff(): ctx[0] buf_type: 9
[   86.748613] [VPU Decoder] ctx[0] CAPTURE off
[   86.748617] [VPU Decoder] send_abort_cmd(): send VID_API_CMD_ABORT
[   86.748619] [VPU Decoder] ctx[0] send ABORT CMD
[   86.748622] [VPU Decoder] enter add_scode_vpu()
[   86.748655] [VPU Decoder] send cmd: VID_API_CMD_ABORT ctx id:0
[   86.760510] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.760518] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.760527] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.760532] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.760541] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.773284] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.773293] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   86.786040] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   86.786047] [VPU Decoder] recevie event: VID_API_EVENT_ABORT_DONE, ctx id:0
[   86.786066] [VPU Decoder] vpu_api_event_handler AbrtDone StrBuf Curr, wptr(a700444c) rptr(a7003448) start(a7000000) end(a7c00000)
[   86.958410] [VPU Decoder] ctx[0] ABORT DONE, output qbuf(0/0),dqbuf(0)
[   86.964990] [VPU Decoder] [0]total bytes: 9290, 9290, 13388, 0
[   86.970865] [VPU Decoder] wptr : 0xa700444c -> 0xa7003448
[   86.976309] [VPU Decoder] send cmd: VID_API_CMD_RST_BUF ctx id:0
[   86.982363] [VPU Decoder] leave vpu_api_event_handler, uEvent 26
[   86.988391] [VPU Decoder] recevie event: VID_API_EVENT_STR_BUF_RST, ctx id:0
[   86.995487] [VPU Decoder] vpu_api_event_handler wptr(a7003448) rptr(a7003448) start(a7000000) end(a7c00000)
[   87.005253] [VPU Decoder] Force reset ctx[0]
[   87.009557] [VPU Decoder] send cmd: VID_API_CMD_STOP ctx id:0
[   87.015332] [VPU Decoder] ctx[0] STR_BUF_RST
[   87.019642] [VPU Decoder] leave vpu_api_event_handler, uEvent 19
[   87.025678] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.032508] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.038459] [VPU Decoder] recevie event: VID_API_EVENT_STOPPED, ctx id:0
[   87.045199] [VPU Decoder] receive VID_API_EVENT_STOPPED
[   87.050443] [VPU Decoder] ctx[0] STOPPED, output qbuf(0), dqbuf(0)
[   87.056682] [VPU Decoder] leave vpu_api_event_handler, uEvent 25
[   87.056844] [VPU Decoder] v4l2_ioctl_qbuf()
[   87.066936] [VPU Decoder] [0]input bytes :     8464 /             8464
[   87.073490] [VPU Decoder] vpu_buf_prepare() is called
[   87.078613] [VPU Decoder] v4l2_ioctl_streamon(), buffer_type: 10
[   87.084648] [VPU Decoder] ctx[0] OUTPUT on
[   87.088772] [VPU Decoder] vpu_buf_queue() is called
[   87.093674] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=1
[   87.099984] [VPU Decoder] firmware version is 1.5.6
[   87.104889] [VPU Decoder] format translated to AVC
[   87.104893] [VPU Decoder]
[   87.112438] [VPU Decoder] send cmd: VID_API_CMD_START ctx id:0
[   87.118303] [VPU Decoder] copy_buffer_to_stream()
[   87.121885] [VPU Decoder] recevie event: VID_API_EVENT_START_DONE, ctx id:0
[   87.123134] [VPU Decoder] wptr : 0xa7000000 -> 0xa7002110
[   87.130022] [VPU Decoder] ctx[0] START DONE
[   87.135399] [VPU Decoder] resyncTSManager
[   87.135406] [VPU Decoder] [INPUT  TS]                      8509350000
[   87.135416] [VPU Decoder] [0]receive bytes :     8464 /             8464
[   87.139617] [VPU Decoder] leave vpu_api_event_handler, uEvent 24
[   87.143646] [VPU Decoder] vpu_start_streaming() is called
[   87.150087] [VPU Decoder] recevie event: VID_API_EVENT_DEC_CFG_INFO, ctx id:0
[   87.150093] [VPU Decoder] leave vpu_api_event_handler, uEvent 37
[   87.157123] [VPU Decoder] v4l2_poll()
[   87.157976] [VPU Decoder] v4l2_ioctl_qbuf()
[   87.157984] [VPU Decoder] [0]input bytes :     9904 /            18368
[   87.157994] [VPU Decoder] vpu_buf_prepare() is called
[   87.157998] [VPU Decoder] vpu_buf_queue() is called
[   87.158002] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=0
[   87.158010] [VPU Decoder] enter update_stream_addr
[   87.158017] [VPU Decoder] update_stream_addr wptr(a7002110) rptr(a7000000) start(a7000000) end(a7c00000) uStrBufIdx(0)
[   87.158021] [VPU Decoder] copy_buffer_to_stream()
[   87.158132] [VPU Decoder] wptr : 0xa7002110 -> 0xa70047c0
[   87.158138] [VPU Decoder] [INPUT  TS]                      8987193000
[   87.158142] [VPU Decoder] [0]receive bytes :     9904 /            18368
[   87.158170] [VPU Decoder] v4l2_poll()
[   87.158182] [VPU Decoder] v4l2_ioctl_dqbuf()
[   87.158775] [VPU Decoder] v4l2_ioctl_qbuf()
[   87.158780] [VPU Decoder] [0]input bytes :     9024 /            27392
[   87.158786] [VPU Decoder] vpu_buf_prepare() is called
[   87.158790] [VPU Decoder] vpu_buf_queue() is called
[   87.158793] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=1
[   87.158798] [VPU Decoder] enter update_stream_addr
[   87.158804] [VPU Decoder] update_stream_addr wptr(a70047c0) rptr(a7002110) start(a7000000) end(a7c00000) uStrBufIdx(0)
[   87.158807] [VPU Decoder] copy_buffer_to_stream()
[   87.158908] [VPU Decoder] wptr : 0xa70047c0 -> 0xa7006b00
[   87.158911] [VPU Decoder] [INPUT  TS]                      8988230000
[   87.158915] [VPU Decoder] [0]receive bytes :     9024 /            27392
[   87.158931] [VPU Decoder] v4l2_poll()
[   87.158940] [VPU Decoder] v4l2_ioctl_dqbuf()
[   87.159500] [VPU Decoder] v4l2_ioctl_qbuf()
[   87.159505] [VPU Decoder] [0]input bytes :     9031 /            36423
[   87.159510] [VPU Decoder] vpu_buf_prepare() is called
[   87.159513] [VPU Decoder] vpu_buf_queue() is called
[   87.159517] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=0
[   87.159521] [VPU Decoder] enter update_stream_addr
[   87.159527] [VPU Decoder] update_stream_addr wptr(a7006b00) rptr(a70047c0) start(a7000000) end(a7c00000) uStrBufIdx(0)
[   87.159530] [VPU Decoder] copy_buffer_to_stream()
[   87.159633] [VPU Decoder] wptr : 0xa7006b00 -> 0xa7008e47
[   87.159637] [VPU Decoder] [INPUT  TS]                      8988975000
[   87.159640] [VPU Decoder] [0]receive bytes :     9031 /            36423
[   87.159656] [VPU Decoder] v4l2_poll()
[   87.159665] [VPU Decoder] v4l2_ioctl_dqbuf()
[   87.160237] [VPU Decoder] v4l2_ioctl_qbuf()
[   87.160242] [VPU Decoder] [0]input bytes :     8373 /            44796
[   87.160247] [VPU Decoder] vpu_buf_prepare() is called
[   87.160250] [VPU Decoder] vpu_buf_queue() is called
[   87.160254] [VPU Decoder] vpu_buf_queue(), vq->type=10, vb->index=1
[   87.160258] [VPU Decoder] enter update_stream_addr
[   87.160264] [VPU Decoder] update_stream_addr wptr(a7008e47) rptr(a7006b00) start(a7000000) end(a7c00000) uStrBufIdx(0)
[   87.160268] [VPU Decoder] copy_buffer_to_stream()
[   87.160362] [VPU Decoder] wptr : 0xa7008e47 -> 0xa700aefc
[   87.160366] [VPU Decoder] [INPUT  TS]                      8989703000
[   87.160369] [VPU Decoder] [0]receive bytes :     8373 /            44796
[   87.160385] [VPU Decoder] v4l2_poll()
[   87.160393] [VPU Decoder] v4l2_ioctl_dqbuf()
[   87.162846] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.162854] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.162857] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.162860] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.162863] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.162867] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.162886] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.162890] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.162893] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.162897] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.162900] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.162907] [VPU Decoder] leave vpu_api_event_handler, uEvent 5
[   87.556106] [VPU Decoder] recevie event: VID_API_EVENT_FIFO_LOW, ctx id:0
[   87.562920] [VPU Decoder] leave vpu_api_event_handler, uEvent 5

 

tks,

brs,

gravity

 

0 Kudos
7 Replies

1,172 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? how about test the command like:

$ gst-launch-1.0 udpsrc caps = $CAPS ! \
rtpjitterbuffer latency=100 ! queue max-size-buffers=0 ! \
rtph264depay ! decodebin ! autovideosink sync=false

 

 

0 Kudos

1,151 Views
gravity_one
Contributor III

Hi,

/# uname -a
Linux imx8qxpc0 4.14.98+g404d338 #1 SMP PREEMPT Mon Dec 28 18:01:49 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux.

imx-yocto-L4.14.98_2.3.1.

linux 4.19.98_2.3.1.

 

tks,

gravity

0 Kudos

1,161 Views
gravity_one
Contributor III
root@imx8qxpc0:#gst-launch-1.0 udpsrc caps = $CAPS ! rtpjitterbuffer latency=100 ! queue max-size-buffers=0 ! rtph264depay ! decodebin ! filesink location=videofile sync=false
WARNING: erroneous pipeline: could not set property "caps" in element "udpsrc0" to "!"
0 Kudos

1,137 Views
joanxie
NXP TechSupport
NXP TechSupport

The caps value has to be used at the CLIENT pipeline, so export it as CAPS value:
export CAPS='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1,
profile-level-id=(string)640028, sprop-parameter-sets=(string)"Z2QAKKzZQHgCJ+XAWoCAgKAAAAMAIAAABkHjBjLA\,aOk7LIs\=", payload=(int)96,
ssrc=(uint)1622932748, timestamp-offset=(uint)2591288474, seqnum-offset=(uint)8760, a-framerate=(string)25'

you can set the proper valule as you need

0 Kudos

1,129 Views
gravity_one
Contributor III

I don't know how to set caps value, When I using your example, I got the following error:

WARNING: erroneous pipeline: could not set property "caps" in element "udpsrc0" to "application/x-rtp,"

There are two board, Board1 for video multicast:

gst-launch-1.0 rtspsrc location=rtsp://10.8.8.104:8554/test latency=100 ! rtph264depay ! video/x-h264, stream-format=byte-stream ! rtph264pay ! udpsink multicast-iface="wave-data" host=ff02::1 port=1234

Board2 for video receiving:

gst-launch-1.0 -e udpsrc address=ff02::1 port=1234 ! application/x-rtp,payload=96 ! rtph264depay ! decodebin ! videoconvert ! autovideosink

And there is error on Board2:

[ 1339.312516] [VPU Decoder] firmware version is 1.5.6
[ 1340.099164] [VPU Decoder] ctx[0] amount inconsistent between input(24) and output(0)

Tried this on board2, still the same VPU Decoder error:

gst-launch-1.0 -e udpsrc address=ff02::1 port=1234 ! application/x-rtp,payload=96 ! rtpjitterbuffer latency=100 ! queue max-size-buffers=0 ! rtph264depay ! decodebin ! videoconvert ! autovideosink
0 Kudos

1,169 Views
gravity_one
Contributor III

hi,joan

how cat BSP version?

BRs

Tags (1)
0 Kudos

1,059 Views
joanxie
NXP TechSupport
NXP TechSupport

use the command uname to find it

 

0 Kudos