|
我下载了Debian10的代码,在板子上把摄像头改成了video5,在启动了VLC播放流以后,VLC的图像出不来,板子上狂打
V4L2FramedSource::doGetNextFrame use 144
mpi_enc_test start
mpp[3302]: mpp_rt: NOT found ion allocator
mpp[3302]: mpp_rt: found drm allocator
mpp[3302]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[3302]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [640:480] stride [640:480]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: mode vbr bps [1500000:2000000:2500000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: MPP_ENC_SET_RC_CFG bps 1152000 [1080000 : 1224000] fps [30:30] gop 60
mpp[3302]: mpp_enc: send header for rc cfg change rc_mode/fps/gop
mpp[3302]: mpp_enc: mode cbr bps [1080000:1152000:1224000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: Please use MPP_ENC_GET_HDR_SYNC instead of unsafe MPP_ENC_GET_EXTRA_INFO
mpp[3302]: mpp_enc: NOTE: MPP_ENC_GET_HDR_SYNC needs MppPacket input
encoded frame 0 size 200177
encode max 1 framesmpi_enc_test success total frame 1 bps 48042480
V4L2FramedSource::doGetNextFrame use 26 ,
到最后RTSPserver崩溃掉,
StreamEncoder::doGetNextFrame() use 50479
StreamEncoder::doGetNextFrame() use 50534
StreamEncoder::doGetNextFrame() use 50587
StreamEncoder::doGetNextFrame() use 50643
StreamEncoder::doGetNextFrame() use 50697
StreamEncoder::doGetNextFrame() use 50871
V4L2FramedSource::doGetNextFrame use 20
mpi_enc_test start
mpp[3302]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[3302]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [640:480] stride [640:480]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: mode vbr bps [1500000:2000000:2500000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: MPP_ENC_SET_RC_CFG bps 1152000 [1080000 : 1224000] fps [30:30] gop 60
mpp[3302]: mpp_enc: send header for rc cfg change rc_mode/fps/gop
mpp[3302]: mpp_enc: mode cbr bps [1080000:1152000:1224000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: Please use MPP_ENC_GET_HDR_SYNC instead of unsafe MPP_ENC_GET_EXTRA_INFO
mpp[3302]: mpp_enc: NOTE: MPP_ENC_GET_HDR_SYNC needs MppPacket input
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 460800
mpp[3302]: hal_h264e_vepu_v2: Assertion buf failed at h264e_vepu_buf_get_frame_buffer:293
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 460800
mpp[3302]: hal_h264e_vepu_v2: Assertion buf failed at h264e_vepu_buf_get_frame_buffer:293
mpp[3302]: mpp_buffer: mpp_buffer_get_fd invalid NULL input from hal_h264e_vepu2_get_task_v2
mpp[3302]: mpp_buffer: mpp_buffer_get_fd invalid NULL input from hal_h264e_vepu2_get_task_v2
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 128
mpp[3302]: hal_h264e_vepu_v2: Assertion buf failed at h264e_vepu_buf_get_nal_size_table:276
encoded frame 0 size 4941
encode max 1 framesmpi_enc_test success total frame 1 bps 1185840
StreamEncoder::doGetNextFrame() use 143
V4L2FramedSource::doGetNextFrame use 21
mpi_enc_test start
mpp[3302]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[3302]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [640:480] stride [640:480]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: mode vbr bps [1500000:2000000:2500000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: MPP_ENC_SET_RC_CFG bps 1152000 [1080000 : 1224000] fps [30:30] gop 60
mpp[3302]: mpp_enc: send header for rc cfg change rc_mode/fps/gop
mpp[3302]: mpp_enc: mode cbr bps [1080000:1152000:1224000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: Please use MPP_ENC_GET_HDR_SYNC instead of unsafe MPP_ENC_GET_EXTRA_INFO
mpp[3302]: mpp_enc: NOTE: MPP_ENC_GET_HDR_SYNC needs MppPacket input
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 48256
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 460800
mpp[3302]: hal_h264e_vepu_v2: Assertion buf failed at h264e_vepu_buf_get_frame_buffer:293
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 460800
mpp[3302]: hal_h264e_vepu_v2: Assertion buf failed at h264e_vepu_buf_get_frame_buffer:293
mpp[3302]: mpp_buffer: mpp_buffer_get_fd invalid NULL input from hal_h264e_vepu2_get_task_v2
mpp[3302]: mpp_buffer: mpp_buffer_get_fd invalid NULL input from hal_h264e_vepu2_get_task_v2
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 128
mpp[3302]: hal_h264e_vepu_v2: Assertion buf failed at h264e_vepu_buf_get_nal_size_table:276
encoded frame 0 size 4941
encode max 1 framesmpi_enc_test success total frame 1 bps 1185840
StreamEncoder::doGetNextFrame() use 135
V4L2FramedSource::doGetNextFrame use 20
mpi_enc_test start
mpp[3302]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[3302]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [640:480] stride [640:480]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: mode vbr bps [1500000:2000000:2500000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: MPP_ENC_SET_RC_CFG bps 1152000 [1080000 : 1224000] fps [30:30] gop 60
mpp[3302]: mpp_enc: send header for rc cfg change rc_mode/fps/gop
mpp[3302]: mpp_enc: mode cbr bps [1080000:1152000:1224000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[3302]: mpp_enc: send header for codec/prep cfg change
mpp[3302]: mpp_enc: Please use MPP_ENC_GET_HDR_SYNC instead of unsafe MPP_ENC_GET_EXTRA_INFO
mpp[3302]: mpp_enc: NOTE: MPP_ENC_GET_HDR_SYNC needs MppPacket input
mpp[3302]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[3302]: mpp_buffer: mpp_buffer_create failed to create buffer with size 307200
mpp[3302]: mpp_enc: Assertion buffer failed at mpp_enc_check_pkt_buf:1147
mpp[3302]: mpp_buffer: mpp_buffer_get_ptr invalid NULL input from mpp_enc_check_pkt_buf
mpp[3302]: mpp_buffer: mpp_buffer_get_size invalid NULL input from mpp_enc_check_pkt_buf
mpp[3302]: mpp_enc: Assertion enc->pkt_buf failed at try_get_enc_task:1534
Segmentation fault
toybrick@debian10:~/IPCamera$
请问各位大神,我要怎么改才行呢? |
|