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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

269 Views
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 Reply

110 Views
jontsmith
Contributor II

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 Kudos