导航

    全志在线开发者论坛

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

    T113如何正确使用G2D旋转MP4视频?

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

      请教一下 视频播放如何旋转呢 使用G2D 配置了etc/cedrax.conf里面的旋转 但是使用tplayerdemo播放会出错,不做旋转是不会出错可以正常播放的:

      tr_rotate_flag = 1         #1 means rotate,0 means not rotate
      tr_rotate_degree = 270    #0 means the degree is 0, 90 means the degree is 90,180 means the degree is 180, 270 means the degree is 270
      

      DTS中设置了:

          disp_rotation_used = <1>;
          degree0 = <3>;
      

      播放出错log

      [1970-01-01 05:29:29] DEBUG  : awplayer <__LayerControl:1281>: layer control cmd = 260
      [1970-01-01 05:29:29] INFO   : awplayer <callbackProcess:3629>: xxxxxxxxxx video size : width = 1920, height = 440
      *****tplayer:video width = 1920,height = 440
      warning: unknown callback from Tinaplayer.
      warning: unknown callback from Tinaplayer.
      [1970-01-01 05:29:29] DEBUG  : awplayer <CallbackProcess:2846>: first video pts = 66666
      [1970-01-01 05:29:29] DEBUG  : awplayer <startSoundDevice:799>: start sound device.
      [1970-01-01 05:29:29] DEBUG  : awplayer <startSoundDevice:801>: audio device start end
      
      [1970-01-01 05:29:29] DEBUG  : awplayer <CallbackProcess:2973>: first audio pts = 39999
      [1970-01-01 05:29:29] DEBUG  : awplayer <createRotateBuf:1541>: before align:width = 448,height = 1920
      [1970-01-01 05:29:29] DEBUG  : awplayer <createRotateBuf:1544>: after align:width = 448,height = 1920
      [1970-01-01 05:29:29] ERROR  : awplayer <hwRotateVideoPicture:1610>: *****open tr driver fail!
      [1970-01-01 05:29:29] ERROR  : awplayer <__LayerQueueBuffer:1141>: *** picNode is full when queue buffer
      [1970-01-01 05:29:29] DEBUG  : awplayer <QueueBufferToShow:1780>: video pts(0.067) 
      [1970-01-01 05:29:29] ERROR  : awplayer <hwRotateVideoPicture:1610>: *****open tr driver fail!
      [1970-01-01 05:29:29] ERROR  : awplayer <hwRotateVideoPicture:1610>: *****open tr driver fail!
      [1970-01-01 05:29:29] ERROR  : awplayer <hwRotateVideoPicture:1610>: *****open tr driver fail!
      

      还有哪些地方需要修改呢?

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

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

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