导航

    全志在线开发者论坛

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

    f1c200s trecorderdemo 问题

    其它全志芯片讨论区
    2
    4
    1580
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Y
      yuwei LV 6 最后由 编辑

      有大神在tina用过trecorderdemo 这个demo吗?
      我用这个demo 屏幕无显示摄像头数据报错不知道什么情况?有没有大神帮助一下

      1 条回复 最后回复 回复 引用 分享 0
      • Y
        yuwei LV 6 最后由 编辑

        root@TinaLinux:/# trecorderdemo 0
        ****************[  337.652951] [VFE]vfe_open
        ************************************************************
        * This program shows how to test trecorder
        ******************************************************[  337.669948] [VFE]..........................vfe clk open!.......................
        ****************[  337.679377] [VFE]vfe_open ok
        ******
        
        >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        tag   : tina3.5
        branch: tina-dev
        date  : Mon Jul 15 19:04:59 2019 +0800
        Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
        -------------------------------------------------------------------------------
        [  337.712942] [VFE]Set csi core clk = 108000000, after Set csi core clk = 24000000
        [  337.732377] [VFE_WARN]os_gpio_set_status, hdl is INVALID
        [  337.738540] [VFE_WARN]os_gpio_set_status, hdl is INVALID
        [  337.786182] [VFE]mclk on
        [  338.048047] overlayfs: ERROR - failed to whiteout 'recorder.cfg'
        [  338.077837] overlayfs: ERROR - failed to whiteout 'recorder.cfg'
        [  338.089637] [VFE]csi->frame_info.frm_byte_size = 471040
        [  338.132109] [VFE]queue_setup, buffer count=3, size=471040
        debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
        debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open
        
        debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
        debug  : cedarc <VeInitialize:1198>: ve init ok
        
        debug  : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000
        debug  : cedarc <VeRelease:1253>: ve release ok
        
        debug  : cedarc <LogVersionInfo:40>:
        >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
        tag   : createBranch_customize_sylix
        branch: CedarC-v1.1.9
        commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
        date  : Thu May 25 15:34:03 2017 +0800
        author: jenkins8080
        patch :
        ----------------------------------------------------------------------
        
        debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
        debug  : cedarc <VeInitialize:1198>: ve init ok
        
        debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
        debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open
        
        debug  : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
        debug  : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
        debug  : cedarc <BitStreamCreate:102>: BitStreamCreate OK
        [  338.352961] [VFE]ch0 capture video mode!
        [  338.462892] [VFE]ch0 capture video first frame done!
         file count 1
        change the output path to /mnt/UDISK/AW_front_video1.mp4
        ---------------------------------------------------------------------------------------------
                      | Preview Status | Preview Size | Audio Status | Water Mark | Recorder Status |
        ---------------------------------------------------------------------------------------------
              front   |     disable    |    full      |    normal    |   disable  |      start      |
        ---------------------------------------------------------------------------------------------
              rear    |                |              |              |            |                 |
        ---------------------------------------------------------------------------------------------
        
        RecorderCmd# [  338.572845] [VFE_WARN]Only two buffer left for csi ch0
        [  338.682796] [VFE]ch0 capture video mode!
        [  338.792744] [VFE]ch0 capture video first frame done!
        [  338.798280] [VFE_WARN]Only two buffer left for csi ch0
        [  338.902693] [VFE]ch0 capture video mode!
        [  339.012647] [VFE]ch0 capture video first frame done!
        [  339.018183] [VFE_WARN]Only two buffer left for csi ch0
        [  339.122592] [VFE]ch0 capture video mode!
        [  339.232548] [VFE]ch0 capture video first frame done!
        [  339.238088] [VFE_WARN]Only two buffer left for csi ch0
        [  339.342488] [VFE]ch0 capture video mode!
        [  339.452437] [VFE]ch0 capture video first frame done!
        [  339.457968] [VFE_WARN]Only two buffer left for csi ch0
        debug  : cedarc <EncAdapterPrintTopVEReg:119>: --------- register of top level ve base:0xb6f8d000 -----------
        
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg00:0000000b 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg10:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg20:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg30:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg40:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg50:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg60:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg70:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg80:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: reg90:00000000 00000000 00000000 00000000
        debug  : ce[  339.562389] [VFE]ch0 capture video mode!
        darc <EncAdapterPrintTopVEReg:122>: rega0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: regb0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: regc0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: regd0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: rege0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintTopVEReg:122>: regf0:16630040 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:132>: --------- register of ve encoder base:0xb6f8db00 -----------
        
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg00:0028001e 00000100 00000a1a 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg10:00000000 01000007 00000000 80000260
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg20:00000001 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg30:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg40:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg50:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg60[  339.672340] [VFE]ch0 capture video first frame done!
        [  339.678712] [VFE_WARN]Only two buffer left for csi ch0
        :00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg70:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg80:42700000 42afffff 00000000 02000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: reg90:00000048 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: rega0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: regb0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: regc0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: regd0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: rege0:00000000 e28dd008 00000000 00000000
        debug  : cedarc <EncAdapterPrintEncReg:135>: regf0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:147>: --------- register of ve isp base:0xb6f8da00 -----------
        
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg00:0028001e 00280000 20010000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg10:00000000 00000028 00000000 00000000
        debug  : cedarc <EncAdapt[  339.782294] [VFE]ch0 capture video mode!
        erPrintIspReg:150>: reg20:00000000 00000000 00000000 00440078
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg30:00000000 00000000 00071055 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg40:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg50:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg60:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg70:00000000 00000000 42080000 420cb000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg80:420ddc00 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: reg90:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: rega0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: regb0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: regc0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: regd0:00000000 00000000 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: rege0:00000100 00dd03ef 00000000 00000000
        debug  : cedarc <EncAdapterPrintIspReg:150>: regf0:00000000 00000000 00000000 00000000
        error  : cedarc <H264EncF[  339.892245] [VFE]ch0 capture video first frame done!
        [  339.898950] [VFE_WARN]Only two buffer left for csi ch0
        rame:2618>: h264 encoder wait interrupt overtime
        ERROR  : VideoEncoderComponent <VideoEncodeThread:272>: encode error
        [TR_ERR][NotifyCallbackForAwEncorder] error callback from AwRecorder 0.
        [  340.002194] [VFE]ch0 capture video mode!
        [  340.112144] [VFE]ch0 capture video first frame done!
        [  340.117680] [VFE_WARN]Only two buffer left for csi ch0
        [  340.222092] [VFE]ch0 capture video mode!
        [  340.332050] [VFE]ch0 capture video first frame done!
        [  340.337586] [VFE_WARN]Only two buffer left for csi ch0
        [  340.441992] [VFE]ch0 capture video mode!
        [  340.551950] [VFE]ch0 capture video first frame done!
        [  340.557486] [VFE_WARN]Only two buffer left for csi ch0
        [  340.661884] [VFE]ch0 capture video mode!
        [  340.771845] [VFE]ch0 capture video first frame done!
        [  340.777382] [VFE_WARN]Only two buffer left for csi ch0
        [  340.881798] [VFE]ch0 capture video mode!
        [  340.991740] [VFE]ch0 capture video first frame done!
        [  340.997278] [VFE_WARN]Only two buffer left for csi ch0
        [  341.101687] [VFE]ch0 capture video mode!
        [  341.211645] [VFE]ch0 capture video first frame done!
        [  341.217184] [VFE_WARN]Only two buffer left for csi ch0
        [  341.321590] [VFE]ch0 capture video mode!
        [  341.431544] [VFE]ch0 capture video first frame done!
        [  341.437084] [VFE_WARN]Only two buffer left for csi ch0
        [  341.541491] [VFE]ch0 capture video mode!
        [  341.651446] [VFE]ch0 capture video first frame done!
        [  341.656981] [VFE_WARN]Only two buffer left for csi ch0
        [  341.761391] [VFE]ch0 capture video mode!
        [  341.871339] [VFE]ch0 capture video first frame done!
        [  341.876872] [VFE_WARN]Only two buffer left for csi ch0
        [  341.981292] [VFE]ch0 capture video mode!
        [  342.091245] [VFE]ch0 capture video first frame done!
        [  342.096780] [VFE_WARN]Only two buffer left for csi ch0
        [  342.201194] [VFE]ch0 capture video mode!
        [  342.311145] [VFE]ch0 capture video first frame done!
        [  342.316680] [VFE_WARN]Only two buffer left for csi ch0
        [  342.421093] [VFE]ch0 capture video mode!
        [  342.531044] [VFE]ch0 capture video first frame done!
        [  342.536579] [VFE_WARN]Only two buffer left for csi ch0
        [  342.640992] [VFE]ch0 capture video mode!
        [  342.750945] [VFE]ch0 capture video first frame done!
        [  342.756485] [VFE_WARN]Only two buffer left for csi ch0
        [  342.860884] [VFE]ch0 capture video mode!
        ^C[  342.927114] [VFE]vfe_close
        [  342.954872] [VFE]mclk off
        [  342.993673] [VFE_WARN]os_gpio_set_status, hdl is INVALID
        [  342.999732] [VFE_WARN]os_gpio_set_status, hdl is INVALID
        [  343.017106] [VFE]..........................vfe clk close!.......................
        [  343.032799] [VFE]vfe_close end
        
        C 1 条回复 最后回复 回复 引用 分享 0
        • Y
          yuwei LV 6 最后由 编辑

          camerademo 是正常的

          1 条回复 最后回复 回复 引用 分享 0
          • C
            chengwei_peng LV 6 @yuwei 最后由 编辑

            @yuwei 编码的问题,试试换种编码格式或者确认你的平台支持哪些编码格式

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

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

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