Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

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

    T Series
    1
    1
    86
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sy373466062 LV 2 last edited by

      请教一下 视频播放如何旋转呢 使用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 Reply Last reply Reply Quote Share 2
      • 1 / 1
      • First post
        Last post

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

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