导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    V851S USB UVC uvcout 示例问题

    V Series
    1
    1
    8
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      lgc123456 LV 2 最后由 编辑

      全志SDK中的sample_uvcout例子我已经编译过了,在V851s上运行 setusbconfig uvc 可以成功创建设备节点,win10 系统上可以显示这个UVC Camera设备,我在板子上执行sample_uvcout程序,win10 系统上只能通过VLC软件,获取到实时的摄像头画面,用win10系统自带的相机功能或PotPlayer软件,都无法显示摄像头画面,报错内容如下
      root@TinaLinux:/usr/uvc# ./sample_uvcout -path sample_uvcout.conf
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      I0101 02:05:19.838028 981 dup2SeldomUsedFd.c:20] <dup2SeldomUsedFdInit> gFdLock init
      I0101 02:05:19.844594 981 sample_uvcout.c:1616] <main> sample_uvcout running!
      I0101 02:05:19.846031 981 sample_uvcout.c:1541] <ParseCmdLine> path is [sample_uvcout.conf]
      I0101 02:05:19.852379 981 confparser.c:60] <createConfParser> load conf file sample_uvcout.conf ok!
      I0101 02:05:19.852640 981 sample_uvcout.c:1501] <LoadSampleUVCConfig> UVCDev=1,CapDev=0,CapWidth=0,CapHeight=0,CapFrmRate=30,EncBitRate=4000000, EncWidth=0,EncHeight=0,EncFrmRate=30,quality=99
      I0101 02:05:19.852779 981 sample_uvcout.c:108] <OpenUVCDevice> open uvc device[/dev/video1]
      I0101 02:05:19.852973 981 sample_uvcout.c:119] <OpenUVCDevice> device is sunxi_usb_udc on bus gadget
      I0101 02:05:24.251322 981 sample_uvcout.c:1420] <DoU[ 1632.621903] c onfigfs-gadget gadget: uvc_function_set_alt(1, 1)
      [ 1632.628506] configfs-gadget gadget: reset UVC
      VCEventProcess> event is setup
      I0101 02:05:24.251573 981 samp[ 1632.638266] use of bytesused == 0 is deprecat ed and will be removed in the future,
      le_uvcout.c:1140] <DoU[ 1632.647766] u se the actual size instead.
      VCEventSetupClassStreaming> streaming request (req GET_CUR cs 1f4a50)
      I0101 02:05:24.251863 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.251978 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req SET_CUR cs 1f4a50)
      I0101 02:05:24.252141 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is data
      setting probe control, length = 26
      I0101 02:05:24.253306 981 sample_uvcout.c:1271] <DoUVCEventData> pst Ctrl->bmHint[0],pstCtrl->bFormatIndex[1],pstCtrl->bFrameIndex[1],pstCtrl->dwFram eInterval[333333], pstCtrl->dwMaxVideoFrameSize[307200],pstCtrl->dwMaxPay loadTransferSize[0]
      I0101 02:05:24.253536 981 sample_uvcout.c:1272] <DoUVCEventData> MPJ PEG[1196444237], JPEG[1195724874], YUYV[1448695129]
      I0101 02:05:24.253726 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.253834 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req GET_CUR cs 1f4a50)
      I0101 02:05:24.254111 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.254237 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req GET_MAX cs 1f4a50)
      I0101 02:05:24.254451 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.254554 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req GET_MIN cs 1f4a50)
      I0101 02:05:24.255532 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.255642 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req SET_CUR cs 1f4a50)
      I0101 02:05:24.255795 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is data
      setting probe control, length = 26
      I0101 02:05:24.255933 981 sample_uvcout.c:1271] <DoUVCEventData> pst Ctrl->bmHint[0],pstCtrl->bFormatIndex[1],pstCtrl->bFrameIndex[1],pstCtrl->dwFram eInterval[333333], pstCtrl->dwMaxVideoFrameSize[307200],pstCtrl->dwMaxPay loadTransferSize[0]
      I0101 02:05:24.256032 981 sample_uvcout.c:1272] <DoUVCEventData> MPJ PEG[1196444237], JPEG[1195724874], YUYV[1448695129]
      I0101 02:05:24.256139 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.256225 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req GET_CUR cs 1f4a50)
      I0101 02:05:24.256388 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is setup
      I0101 02:05:24.256496 981 sample_uvcout.c:1140] <DoUVCEventSetupClas sStreaming> streaming request (req SET_CUR cs 1f4a56)
      I0101 02:05:24.256638 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is data
      setting commit control, length = 26
      I0101 02:05:24.256771 981 sample_uvcout.c:1271] <DoUVCEventData> pst Ctrl->bmHint[0],pstCtrl->bFormatIndex[1],pstCtrl->bFrameIndex[1],pstCtrl->dwFram eInterval[333333], pstCtrl->dwMaxVideoFrameSize[307200],pstCtrl->dwMaxPay loadTransferSize[0]
      I0101 02:05:24.268725 981 sample_uvcout.c:1272] <DoUVCEventData> MPJ PEG[1196444237], JPEG[1195724874], YUYV[1448695129]
      I0101 02:05:24.268889 981 sample_uvcout.c:1020] <UVCVideoSetFormat> width=[1684633135],height=[3239781],sizeimage=[6898780], format[-1226844588]
      I0101 02:05:24.269002 981 sample_uvcout.c:1023] <UVCVideoSetFormat> iWidth=[640],iHeight=[480],iFormat=[0x47504a4d]
      I0101 02:05:24.269090 981 sample_uvcout.c:1034] <UVCVideoSetFormat> VIDIOC_S_FMT size[640x480] fmt[1196444237] mjpeg[1196444237] nv21[825382478] yuy v[1448695129]
      I0101 02:05:24.269198 981 sample_uvcout.c:1042] <UVCVideoSetFormat> width=[640],height=[480],sizeimage=[614400], format[1196444237]
      I0101 02:05:24.269323 981 sample_uvcout.c:1420] <DoUVCEventProcess> event is stream on
      I0101 02:05:24.292363 981 sample_uvcout.c:1340] <DoUVDReqReleaseBufs > request [5] buffers success
      I0101 02:05:24.292603 981 sample_uvcout.c:561] <InitFrameList> begi n to alloc frame list.
      I0101 02:05:24.627614 981 mpi_sys.c:840] <AW_MPI_SYS_SetConf> kfctmpdir is [▒Di]

      Media Process Platform<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      modName : MPP-Platform
      tag : V1.0 Release
      branch: v5-dev
      commit: 4eed413532ad87725895a8cb1ba75e22fc328233
      date : 20170725
      author: jenkins
      I0101 02:05:24.688451 981 mpi_sys.c:1280] <AW_MPI_SYS_Init> IS P init
      [ISP]>>>>>>>>>[ 1633.060793] VE: before freq=300000000
      ISP VERSION INFO <<<[ 1633.066135] VE: real freq=300000000
      <<<<<<<<<<<<<<<<
      IPCORE: ISP600
      branch: libisp-dev
      commit: 14df8348718d093707641fea73eba7db962885f5
      date : Thu Jul 14 15:40:38 2022 +0800
      author: mayifei@allwinnertech.com


      I0101 02:05:24.692267 981 mpi_sys.c:1282] <AW_MPI_SYS_Init> IS P init done
      INFO : cedarc VeInitialize:1185: *** ic_version = 0x1302000023010,
      I0101 02:05:24.713002 981 hwdisplay.c:84] <hw_display_init>
      I0101 02:05:24.713264 981 hwdisplay.c:993] <hwd_init> (hwd_init 993)
      I0101 02:05:24.714678 981 hwdisplay.c:1048] <hwd_init> ret[0][2, 0]ch[0]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, val ue:0]
      I0101 02:05:24.719818 981 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:0
      I0101 02:05:24.767923 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:ADC1 ADC2 swap
      I0101 02:05:24.768140 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:ADC1 volume
      I0101 02:05:24.768251 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:ADC2 volume
      I0101 02:05:24.768341 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:ADCDRC
      I0101 02:05:24.768430 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:ADCHPF
      I0101 02:05:24.768508 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:DAC volume
      I0101 02:05:24.768581 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:DACDRC
      I0101 02:05:24.768655 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:DACHPF
      I0101 02:05:24.768726 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:LINEIN
      I0101 02:05:24.768837 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:LINEINL gain volume
      I0101 02:05:24.768920 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:LINEINR gain volume
      I0101 02:05:24.768998 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:LINEOUT
      I0101 02:05:24.769271 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:LINEOUT Output Select
      I0101 02:05:24.769543 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:LINEOUT volume
      I0101 02:05:24.769711 981 alsa_interface.c:756] <alsaOpenMixer> set playback vol_val to value: 27
      I0101 02:05:24.769843 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:MIC1
      I0101 02:05:24.770074 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:MIC1 Input Select
      I0101 02:05:24.770195 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:MIC1 gain volume
      I0101 02:05:24.770293 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:MIC2
      I0101 02:05:24.770375 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:MIC2 Input Select
      I0101 02:05:24.770453 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:MIC2 gain volume
      I0101 02:05:24.770532 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:SPK
      I0101 02:05:24.770746 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:digital volume
      I0101 02:05:24.770894 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:rx sync mode
      I0101 02:05:24.770991 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:tx hub mode
      E0101 02:05:24.772148 981 alsa_interface.c:970] <alsaMixerSetAudioCo decHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
      E0101 02:05:24.772394 981 alsa_interface.c:853] <alsaMixerSetCapPlay SyncMode> aec_elem_sync_mode_switch:rx sync mode-1
      I0101 02:05:24.772549 981 alsa_interface.c:701] <alsaOpenMixer> open mixer:hw:1
      I0101 02:05:24.773357 981 alsa_interface.c:[ 1633.392426] [VIN]ve_online close
      736] <alsaOpenMixer> alsa _elem:loopback debug
      I0101 02:05:24.773534 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:rx sync mode
      I0101 02:05:24.773636 981 alsa_interface.c:736] <alsaOpenMixer> alsa _elem:tx hub mode
      E0101 02:05:24.773731 981 alsa_interface.c:993] <alsaMixerSetDAudio0 HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
      E0101 02:05:24.773913 981 alsa_interface.c:1016] <alsaMixerSetDAudio0 LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
      E0101 02:05:24.774058 981 alsa_interface.c:853] <alsaMixerSetCapPlay SyncMode> aec_elem_sync_mode_switch:rx sync mode-1
      I0101 02:05:24.777857 981 sample_uvcout.c:857] <CreateCaptureThread > capture size[640x480], encode size[640x480]
      [ISP]video device name is vin_video0
      [ISP]open video device[0], detect isp0 success!
      I0101 02:05:24.784204 981 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
      I0101 02:05:24.784951 981 videoInputHw.c:1015] <videoInputHw_SetChn Attr> ViCh[0], user set disable Encpp
      [ISP]video0 fd[11] ve_online_en=0, dma_buf_num=0
      open /dev/sunxi_soc_info failed![ISP]open isp device[0] success!
      I0101 02:05:25.086056 983 videoInputHw.c:4787] <VideoInputHw_CapThr ead> loop VideoInputHw_CapThread vipp_id = 0, buf_num=5.
      [ISP_WARN]sdcard is not mounted!!!
      [ISP]prefer isp config: [gc2053_mipi], 1920x1088, 30, 0, 0
      [ISP_WARN]cannot find gc2053_mipi_1920_1088_30_0_0 isp config, use gc2053_mipi_1 920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day]
      [ISP]create isp0 server thread!
      I0101 02:05:25.183505 981 VideoVirVi_Component.c:1160] <VideoViComponentIni t> VideoVirvi component Init! thread_id[0xb6471d50]
      I0101 02:05:25.186541 981 sample_uvcout.c:732] <createVipp> create vipp[0] vir vi chn[0]
      I0101 02:05:25[ 1633.568419] VE: before freq=300000000
      .190978 981 VideoEnc_Component[ 1633.575192] VE: real freq=300000000
      .c:7042] <VideoEncComp[ 1633. 584194] VE: before freq=300000000
      onentInit> create VideoEnc threa[ 1633.588565] VE: real freq=300000000
      dId:0xb644ed50
      I0101 02:05:25.196253 981 VideoEnc_Component.c:5422] <VideoEncSendCommand > set VencChn[0] Comp StateIdle
      I0101 02:05:25.198002 986 media_debug.c:45] <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
      I0101 02:05:[ 1633.616727] VEncComp_0: 25.199029 986 VideoEnc_Componepage allo cation failure: order:10nt.c:1110] <CedarvEncInit> Venc Chn[0] Create VeType=1002
      iniparser: cannot open /tmp/libcedarc_dynamic_log_level
      INFO : cedarc <cdc_log_set_level:43>: Set log level to 5 from /vendor/etc/ceda rc.conf
      WARNING: c, mode:0x24280c2(GFP_HIGHUSER|__GFP_ZERO)
      edarc LogVersionInfo:44:

      Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag :
      branch: tina-v853-dev
      commit: ee230a47e5a2392ec315795121c2d112492fac1c
      date : Fri Jul 22 10:37:50 2022 +0800
      [ 1633.667711] CPU: 0 PID: 986 Comm: VEncComp_0 Not tainted 4.9.191 #11
      author: wuguanjian
      change-id : [ 1633.677530] Hardware name: sun8iw21
      I28fe0c31c718f097d61ad6bdbcb4cb5[ 1633.684631] [<c010d5a0>] (unwind_backtrace) f rom [<c010a694>] (show_stack+0x10/0x14)
      df0bd3575
      release_author : lich[ 1633.696868] [<c010a694>] (show_stack) from [<c017ad40>] (warn_alloc+0xe0/0x110)
      aopdc
      patch :
      ---------------[ 1633.706169] [<c017ad40>] (warn_alloc) from [<c017b55c>] (__all oc_pages_nodemask+0x770/0x954)
      --------------------------------[ 1633.718057] [<c017b55c>] (__alloc_pages_nodem ask) from [<c010e6d4>] (__dma_alloc_buffer+0x30/0x88)


      I0101[ 1633.731948] [<c010e6d4>] (_dma_alloc_buffer) from [<c01108e8>] (remap_a llocator_alloc+0x2c/0x7c)
      02:05:25.234900 981 VideoEnc
      [ 1633.743899] [<c01108e8>] (remap_allocator_all oc) from [<c010e934>] (__dma_alloc+0x1a4/0x2ac)
      Component.c:3961] <Vid[ 1633.757857] [ <c010e934>] (dma_alloc) from [<c010eaa4>] (arm_dma_alloc+0x34/0x40)
      eoEncSetFrameRate> vencChn[0] se[ 1633.767337] [<c010eaa4>] (arm_dma_alloc) from [<c051379c>] (ion_cma_allocate+0x8c/0x1e4)
      t new framerate:30
      I0101 02:05:[ 1633.779190] [<c051379c>] (ion_cma_allocate) from [<c051082c>] (
      ion_alloc+0xc4/0x3d8)
      25.236438 981 sample_uvcout.c:[ 1633.791013] [<c051082c>] (__ion_alloc) from [ <c0511278>] (ion_ioctl+0x1dc/0x510)
      819] <createVeChn> cre[ 1 633.801966] [<c0511278>] (ion_ioctl) from [<c01c5b48>] (vfs_ioctl+0x18/0x3c)
      ate ve chn[0], encoder type[1002[ 1633.812512] [<c01c5b48>] (vfs_ioctl) from [<c 01c6434>] (do_vfs_ioctl+0x794/0x8e8)
      ]
      I0101 02:05:25.236654 981 V[ 1633.823887] [<c01c6434>] (do_vfs_ioctl) from [<c 01c65bc>] (SyS_ioctl+0x34/0x5c)
      [<c01c65bc>] (SyS_ioctl) from [<c0106d20>] (ret_fast_syscall+0x0/0x54)
      [60C<VideoEncComponentTunnelRequ[ 1633.845980] Mem-Info:
      est> set inputPortTunnelFlag = T[ 1633.851086] active_anon:423 inactive_anon:0 i solated_anon:0
      [ 1633.851086] active_file:1186 inactive_file:1034 isolated_file:0
      [ 1633.851086] unevictable:0 dirty:0 writeback:0 unstable:0
      [ 1633.851086] slab_reclaimable:281 slab_unreclaimable:1266
      [ 1633.851086] mapped:1502 shmem:0 pagetables:17 bounce:0
      [ 1633.851086] free:4410 free_pcp:15 free_cma:0
      RUE
      I0101 02:05:25.236779 981[ 1633.889968] Node 0 active_anon:1692kB inactive_ano n:0kB active_file:4744kB inactive_file:4136kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:6008kB dirty:0kB writeback:0kB shmem:0kB writeback_tm p:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
      sample_uvcout.c:896] [ 1633.919145] Norma l free:17640kB min:892kB low:1112kB high:1332kB active_anon:1692kB inactive_anon :0kB active_file:4744kB inactive_file:4136kB unevictable:0kB writepending:0kB pr esent:60928kB managed:51112kB mlocked:0kB slab_reclaimable:1124kB slab_unreclaim able:5064kB kernel_stack:456kB pagetables:68kB bounce:0kB free_pcp:60kB local_pc p:60kB free_cma:0kB
      <CreateCaptureThread> initialize[ 1633.956968] lowmem_reserve[]: vi and venc suc cess, videv[0],vichn[0],vencchn[0],ispdev[0]
      I0 0101 02:05:25.237035 981 sample 0_uvcout.c:1367] <DoUVC 0StreamOnOff> vir chn is 0
      I0101
      02:05:25.237153 981 sample_uv[ 1633.977387] Normal: cout.c:956] <StartCapt16* 4kB ure> vir chn is 0
      I0101 02:05:2(UM) 5.238073 981 VideoEnc_Componen338kB t.c:5418] <VideoEncSen( UM) dCommand> set VencChn[0] Comp St3616kB ateExecuting
      I0101 02:05:25.239(UM) 589 986 media_debug.c:45] B D < getDictByConfPath> MPP_DE(UM) DIA_DEBUG_FILE_PATH=(null)
      I010364kB 1 02:05:25.239905 986 VideoEnc_Component.c:1370] <Ce(M) darvVideoEn cInit> mjpeg set init4128kB nBitRate:4000000
      I0101 02:05:2(M) 5.240050 986 VideoEnc_Componen2256kB t.c:1374] <CedarvVideo( M) EncInit> mjpeg set init Qfactor:1512kB 95
      21024kB 05:25.240158 986 (M) VideoEnc_Component.c:1400] <CedarvVide oEncInit> mjpeg (M) set init Framerate:30
      I0101 02:4
      2048kB 05:25.240253 986 VideoEnc_Comp(M) onent.c:825] <setVbvBu1*40 96kB fferConfig> bit rate is 3906Kb, (M) set encode vbv size 2307072, fra= 17640 kB
      me length threshold 307200
      E010[ 1634.064153] 2225 total pagecache pages
      1 02:05:25.241119 986 VideoEnc[ 1634.070929] 0 pages in swap cache
      Component.c:1071] <ma[ 1634.077493] Sw ap cache stats: add 0, delete 0, find 0/0
      p_v4l2_colorspace_to_VENC_COLOR
      [ 1634.086115] Free swap = 0kB
      SPACE> fatal error! unsupported [ 1634.092743] Total swap = 0kB
      v4l2 color space[0x0]!
      I0101 02[ 1634.098168] 15232 pages RAM
      :05:25.242040 986 VideoEnc_Com[ 1634.104081] 0 pages HighMem/MovableOnly
      ponent.c:1930] <Cedarv[ 1634.111210 ] 2454 pages reserved
      VideoEncInit> veChn[0], EncppEna[ 1634.117543] 0 pages cma reserved
      ble=0
      I0101 02:05:25.242222 9[ 1634.124024] platform cma: Fail to allocate buffer
      86 VideoEnc_Component.c:1946] <CedarvVideoEncInit> GDC enable: 0
      I0101 02:05:25.242339 986 VideoEnc_Component.c:2011] <CedarvVideoEncInit> Online Mode=1, Channel=0, ShareBufNum=0, OnlineEnableFlag=0
      I0101 02:05:25.242435 986 VideoEnc_Component.c:2038] <CedarvVideoEncInit> rec_lbc_mode=1
      [ISP_ERR]isp_stat_process_buffer, line: 268,AEWB: stats error, skipping buffer.
      I0101 02:05:25.264949 985 VideoEnc_Component.c:6308] <VideoEncEmptyThisBu ffer> send frame when venc state[0x2] is not executing
      I0101 02:05:25.265204 985 VideoEnc_Component.c:6383] <VideoEncEmptyThisBu ffer> VencChn[0]: first video frame pts[1633624441]us,tm1[1633628353]us, vSize[6 40x480], frmId[0,2]
      I0101 02:05:25.292554 985 VideoEnc_Component.c:6308] <VideoEncEmptyThisBu ffer> send frame when venc state[0x2] is not executing
      [ISP_WARN]gc2053_mipi get sensor_temp failed: Invalid argument (22).
      I0101 02:05:25.330582 985 VideoEnc_Component.c:6308] <VideoEncEmptyThisBu ffer> send frame when venc state[0x2] is not executing
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      ERROR : ionAlloc <ion_alloc_palloc_base:349>: ION_IOC_ALLOC error , size = 2307 072

      [ISP]video device name is vin_video12
      [ISP]open video device[12], detect isp0 success!
      WARNING: cedarc BitStreamCreate:65: just can palloc partial buffer for vbv: 17 82784 < 2307072
      I0101 02:05:25.783563 986 VideoEnc_Component.c:2059] <CedarvVideoEncInit> Venc Init success
      I0101 02:05:25.783789 986 VideoEnc_Component.c:2068] <CedarvVideoEncInit> Venc SetCallbacks success
      I0101 02:05:25.783965 986 VideoEnc_Component.c:2078] <CedarvVideoEncInit> Venc Start success
      WARNING: cedarc JpegSetParameter:2603: jpeg do not support this 1287 indexType
      I0101 02:05:25.785845 986 VideoEnc_Component.c:2128] <CedarvVideoEncInit> vencChn[0] had init!
      WARNING: cedarc JpegSetParameter:2603: jpeg do not support this 1307 indexType
      WARNING: cedarc JpegSetParameter:2603: jpeg do not support this 1308 indexType
      I0101 02:05:25.786115 986 VideoEnc_Component.c:8042] <ComponentThread> Ve ncChn[0]: idle/pause[0x2]->executing ...
      I0101 02:05:25.786639 981 sample_uvcout.c:1376] <DoUVCStreamOnOff> b egin to streaming
      I0101 02:05:25.795622 988 sample_uvcout.c:427] <CaptureThread> get video frame thread running!
      WARNING: cedarc <LDC_K_Adjust:45>: calib_w&h[0 x 0] is valid, force setup to 192 0x1080
      open /dev/sunxi_soc_info failed![ISP]--------- LDCI Video12 Init OK -------- -
      [ISP]--------- LDCI Video12 Streamon OK ---------
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      WARNING: cedarc EncAdapterPrintTopVEReg:124: --------- register of top level v e base:0xb6fb4000 -----------
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg00:c01300c7 00001c 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg10:00000000 000000 00 001f1f1f 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg20:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg30:00000200 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg40:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg50:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg60:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg70:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg80:00014249 000188 20 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-reg90:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-rega0:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-regb0:c005a000 600000 00 00020101 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-regc0:0040033f 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-regd0:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-rege0:00013020 000230 10 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:127: timeout-top-regf0:00000000 000000 00 00000000 00000000
      WARNING: cedarc EncAdapterPrintTopVEReg:130:

      WARNING: cedarc EncAdapterPrintEncReg:138: --------- register of ve encoder ba se:0xb6fb4b00 -----------
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg00:0050003c c2000200 c0000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg10:00000000 00000007 00010000 10060200
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg20:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg30:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg40:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg50:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg60:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg70:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg80:00410000 00411b33 00000000 00d90000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-reg90:00001378 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-rega0:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-regb0:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-regc0:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-regd0:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-rege0:00000000 7176fb70 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:141: timeout-enc-regf0:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintEncReg:144:

      WARNING: cedarc EncAdapterPrintIspReg:154: --------- register of ve isp base:0xb6fb4a00 -----------
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg00:0050003c 00280000 20020000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg10:00000000 00000028 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg20:00000000 00000000 01000100 003c0050
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg30:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg40:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg50:00000000 00000000 01000100 0062005a
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg60:00800010 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg70:00000000 00000000 48780000 487cb000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg80:487ddc00 00000000 00000000 00000203
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-reg90:03ff03ff 02061011 00800044 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-rega0:00141010 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-regb0:00000000 00000000 01860186 20202020
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-regc0:01000100 10080040 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-regd0:00000000 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-rege0:00000000 02e00061 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:157: timeout-isp-regf0:00000200 00000000 00000000 00000000
      WARNING: cedarc EncAdapterPrintIspReg:160:

      ERROR : cedarc JpegEncMainFrame:913: jpeg encoder wait interrupt overtime
      ERROR : cedarc JpegEncEncode:1925: JpegEncMainFrame() failed!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      E0101 02:05:27.175520 986 VideoEnc_Component.c:7715] <SendVencErrorTimeoutCallback> encode Error! vencChn[0],vencType[1002],pixelFormat[0x20],PicSrcDstSize[640x480->640x480],frameRate[30->30],bitRate[4000000],timeLapse:[0,0.000000,0.000000],frameId[0],pts[1633624441]us, cntr[1/1]
      W0101 02:05:27.177592 986 mpi_venc.c:342] <VideoEncEventHandler> Be careful! detect encode timeout, pts[1633624441]us
      W0101 02:05:27.178648 986 VideoEnc_Component.c:8406] <ComponentThread> chn[0] encode result=-1
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      W0101 02:05:27.204324 983 videoInputHw.c:4870] <VideoInputHw_CapThread> vi_v_frm_pts_invalid:vipp0--1635567300-1633692997=1874303(us)
      I0101 02:05:27.204721 985 VideoEnc_Component.c:6390] <VideoEncEmptyThisBuffer> Be careful! VencChn[0] vencInputPts[1635567300]-[1633692997]=[1874303]us, vBufSize[640x480]
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!

      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策