<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[T113如何正确使用G2D旋转MP4视频？]]></title><description><![CDATA[<p dir="auto">请教一下 视频播放如何旋转呢 使用G2D 配置了etc/cedrax.conf里面的旋转 但是使用tplayerdemo播放会出错，不做旋转是不会出错可以正常播放的:</p>
<pre><code>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
</code></pre>
<p dir="auto">DTS中设置了：</p>
<pre><code>    disp_rotation_used = &lt;1&gt;;
    degree0 = &lt;3&gt;;
</code></pre>
<p dir="auto">播放出错log</p>
<pre><code>[1970-01-01 05:29:29] DEBUG  : awplayer &lt;__LayerControl:1281&gt;: layer control cmd = 260
[1970-01-01 05:29:29] INFO   : awplayer &lt;callbackProcess:3629&gt;: 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 &lt;CallbackProcess:2846&gt;: first video pts = 66666
[1970-01-01 05:29:29] DEBUG  : awplayer &lt;startSoundDevice:799&gt;: start sound device.
[1970-01-01 05:29:29] DEBUG  : awplayer &lt;startSoundDevice:801&gt;: audio device start end

[1970-01-01 05:29:29] DEBUG  : awplayer &lt;CallbackProcess:2973&gt;: first audio pts = 39999
[1970-01-01 05:29:29] DEBUG  : awplayer &lt;createRotateBuf:1541&gt;: before align:width = 448,height = 1920
[1970-01-01 05:29:29] DEBUG  : awplayer &lt;createRotateBuf:1544&gt;: after align:width = 448,height = 1920
[1970-01-01 05:29:29] ERROR  : awplayer &lt;hwRotateVideoPicture:1610&gt;: *****open tr driver fail!
[1970-01-01 05:29:29] ERROR  : awplayer &lt;__LayerQueueBuffer:1141&gt;: *** picNode is full when queue buffer
[1970-01-01 05:29:29] DEBUG  : awplayer &lt;QueueBufferToShow:1780&gt;: video pts(0.067) 
[1970-01-01 05:29:29] ERROR  : awplayer &lt;hwRotateVideoPicture:1610&gt;: *****open tr driver fail!
[1970-01-01 05:29:29] ERROR  : awplayer &lt;hwRotateVideoPicture:1610&gt;: *****open tr driver fail!
[1970-01-01 05:29:29] ERROR  : awplayer &lt;hwRotateVideoPicture:1610&gt;: *****open tr driver fail!
</code></pre>
<p dir="auto">还有哪些地方需要修改呢？</p>
]]></description><link>https://bbs.aw-ol.com/topic/6903/t113如何正确使用g2d旋转mp4视频</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 18:11:58 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/6903.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Mar 2026 15:57:56 GMT</pubDate><ttl>60</ttl></channel></rss>