How to identify the IMx6Q processor is using software codec or hardware codec.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to identify the IMx6Q processor is using software codec or hardware codec.

704 次查看
sumanthg
Contributor II

I am using ImX6q procesor.( imx6 sabre lite). How can i know my android application is using hardware codec or software codec.

How can i differentiate my video is using hardware codec or software codec.

1 回复

545 次查看
jontsmith
Contributor III

I have the same requirement on Lollipop 5.0.2 on an imx6q.  VLC plays mpeg2 videos but sometimes stutters.  If I use Google's exoplayer, it cannot play MPEG2 video. So I wonder if VLC is actually using the hardware, or using its own builtin software codecs because it can't find the hardware codecs.  We have installed the omxplayer and advanced codecs.

When exoplayer can't find the mpeg2 codec, we get this in the logcat:

D/EventLogger( 6602): Tracks [
D/EventLogger( 6602):   Renderer:0 [
D/EventLogger( 6602):     Group:0, adaptive_supported=N/A [
D/EventLogger( 6602):       [ ] Track:0, id=5/81, mimeType=video/mpeg2, res=720x480, supported=NO_UNSUPPORTED_TYPE
D/EventLogger( 6602):     ]
D/EventLogger( 6602):   ]
D/EventLogger( 6602):   Renderer:1 [
D/EventLogger( 6602):     Group:0, adaptive_supported=N/A [
D/EventLogger( 6602):       [ ] Track:0, id=5/82, mimeType=audio/mpeg-L2, channels=2, sample_rate=48000, supported=NO_UNSUPPORTED_TYPE
D/EventLogger( 6602):     ]
D/EventLogger( 6602):   ]
D/EventLogger( 6602): ]

0 项奖励
回复