请教一下 视频播放如何旋转呢 使用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!
还有哪些地方需要修改呢?