导航

    全志在线开发者论坛

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

    V851se的enc异常求助 ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open() before ion_alloc_alloc(size)

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

      log参考:

      [main][181]: LV0 ========[   23.189733] VE: real freq=300000000
      ====================================================================================
      
      
      [main][182]: LV0 Parent PID: [   23.204830] VE: VE does not reset proc_buf, flag:1
      867
      [main][183]: LV0 main 183 可用内存: 41.79 MB
      inf: ENC_V851se          <initEncProcess:1751>:
      inf: ENC_V851se          <initEncProcess:1766>:
      pEncContext->nChannel 0 encode_param.frame_rate 20 maxKeyFrame 20
      pEncContext->nTotalChannelNum 1
      inf: ENC_V851se          <initEncProcess:1799>:MemAdapterGetOpsS
      inf: ENC_V851se          <initEncProcess:1803>:打?或初始化内存操作接口
      pid: 886, g_alloc_context = 0xb6d44200
      inf: ENC_V851se          <initEncProcess:1813>:ret 0
      inf: ENC_V851se          <initEncProcess:1836>:****eInputFormat = 1, extend_flag = 0, nOnlineShareBufNum = 0
      inf: ENC_V851se          <initEncProcess:1870>: create encoder
      iniparser: cannot open /tmp/libcedarc_dynamic_log_level
      INFO   : cedarc <cdc_log_set_level:44>: Set log level to 5 from /vendor/etc/cedarc.conf
      ion allocator has already been created
      inf: ENC_V851se          <initEncProcess:1880>: set enc parameter
      inf: ENC_V851se          <setEncParam:1562>:
      inf: ENC_V851se          <setEncParam:1633>:encode_param->rotate = 0, vbv_size = 2097152
      inf: ENC_V851se          <initEncProcess:1900>: VencInit
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : cedarc <BitStreamCreate:59>: pSbmBuf == NULL.
      ERROR  : cedarc <h264InitMemory:4174>: h264Context->pBSMamager == NULL
      ERROR  : cedarc <VencInit:733>: venc_init_fail
      inf: ENC_V851se          <initEncProcess:1907>: pRoiConfig.bEnable== 518120
      inf: ENC_V851se          <initEncProcess:1922>: encode_param.frequency== 0
      inf: ENC_V851se          <initEncProcess:1927>: encode_param.encode_format== 0 (264->0 265->3)
      inf: ENC_V851se          <initEncProcess:1953>:
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : cedarc <VencFbmAllocateBuffer:205>: ABM_inputbuffer Y alloc error
      ERROR  : cedarc <VencAllocateInputBuf:1075>: allocat inputbuffer failed
      inf: ENC_V851se          <initEncProcess:1963>:+++++++++++++++ enqueue i 0 valid_quene next 0 pAddrVirY 0 pAddrVirC 0
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : cedarc <VencFbmAllocateBuffer:205>: ABM_inputbuffer Y alloc error
      ERROR  : cedarc <VencAllocateInputBuf:1075>: allocat inputbuffer failed
      inf: ENC_V851se          <initEncProcess:1963>:+++++++++++++++ enqueue i 1 valid_quene next 0 pAddrVirY 0 pAddrVirC 0
      ERROR  : ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open()             before ion_alloc_alloc(size)
      
      ERROR  : cedarc <VencFbmAllocateBuffer:205>: ABM_inputbuffer Y alloc error
      ERROR  : cedarc <VencAllocateInputBuf:1075>: allocat inputbuffer failed
      inf: ENC_V851se          <initEncProcess:1963>:+++++++++++++++ enqueue i 2 valid_quene next 0 pAddrVirY 0 pAddrVirC 0
      [ThreadStart][128]: LV0 ThreadStart 128 可用内存: 41.63 MB
      [mainEnd][141]: LV0 mainEnd 141 可用内存: 41.63 MB
      ERROR  : ionAlloc <ion_alloc_get_ve_addr_offset:933>: g_alloc_context is NULL, please call ion_alloc_open
      
      ion_alloc_close
      

      makefile:

      LIBS := -lawnn -lCom -lVIPlite -lVIPuser -lyuv \
      	-lpthread -lrt  -lm -lisp -lisp_ini -lAWIspApi -ldl \
      	-liniparser -lisp_math -lisp_ae -lisp_af -lisp_afs -lisp_awb -lisp_base -lisp_gtm -lisp_iso \
      	-lisp_md -lisp_pltm -lisp_rolloff -ljpeg -ltinyalsa\
      	-lvencoder -lMemAdapter -lvenc_base -lcdc_base -lVE -lvenc_codec
      
      
      1 条回复 最后回复 回复 引用 分享 1
      • A
        awwwwa LV 8 最后由 编辑

        ionAlloc <ion_alloc_palloc_base:308>: ion_alloc do not opened, should call ion_alloc_open() before ion_alloc_alloc(size)

        报错都说明了,没有初始化ion就调用ion alloc

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

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

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