linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] How to detect if h/w encoder/decoder of h264 is us


From: Ravi Adusumilli
Subject: [Linphone-developers] How to detect if h/w encoder/decoder of h264 is used?
Date: Fri, 18 Oct 2013 13:38:04 -0400

Hi

I have compiled on Allwinner A20 Linphone (Dualcore A7 running at 800MHZ with MALI-400 dualcore).  While using Linphone with video I see cpu is 99% busy.  I am able to see video of caller/Callee at low frame rates.  Even at 320X240 video has low frame rate, lot of ghosting and choppy.  

I feel Linphone is using only software emulator and not using built in h/w accelerator for decode/encode.

Here are the session stats.  Please comment on how to enable h/w accelerator.  

These stats are from Linphone app running both-sides on two Allwinner A20 set top box with 2MP camera, Android 4.2.2.
Video options: h264 only, picture 320X240

-Ravi
 

----------------------------------------------------------------------------------------------------------------------------------------

10-19 01:06:07.854: I/Linphone(31487): ===========================================================
10-19 01:06:07.854: I/Linphone(31487):              AUDIO SESSION'S RTP STATISTICS                
10-19 01:06:07.854: I/Linphone(31487): -----------------------------------------------------------
10-19 01:06:07.854: I/Linphone(31487): sent                                          6382 packets
10-19 01:06:07.854: I/Linphone(31487):                                             374547 bytes  
10-19 01:06:07.854: I/Linphone(31487): received                                      6317 packets
10-19 01:06:07.854: I/Linphone(31487):                                             339702 bytes  
10-19 01:06:07.854: I/Linphone(31487): incoming delivered to the app               319431 bytes  
10-19 01:06:07.854: I/Linphone(31487): lost                                            12 packets
10-19 01:06:07.854: I/Linphone(31487): received too late                              373 packets
10-19 01:06:07.854: I/Linphone(31487): bad formatted                                    0 packets
10-19 01:06:07.854: I/Linphone(31487): discarded (queue overflow)                       0 packets
10-19 01:06:07.854: I/Linphone(31487): ===========================================================
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSAndroidSndRead:0x5e60cae8,0-->MSResample:0x5ddaa340,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSResample:0x5ddaa340,0-->MSWebRTCAEC:0x60ca6bd8,1
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSWebRTCAEC:0x60ca6bd8,1-->MSVolume:0x60c65310,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSVolume:0x60c65310,0-->MSOpusEnc:0x5d887bc0,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSOpusEnc:0x5d887bc0,0-->MSRtpSend:0x5dde55d8,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSRtpRecv:0x60c3e978,0-->MSOpusDec:0x60c7c7e0,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSOpusDec:0x60c7c7e0,0-->MSDtmfGen:0x5dd19cc8,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSDtmfGen:0x5dd19cc8,0-->MSVolume:0x5df5da08,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSVolume:0x5df5da08,0-->MSEqualizer:0x60c5ebb8,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSEqualizer:0x60c5ebb8,0-->MSWebRTCAEC:0x60ca6bd8,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSWebRTCAEC:0x60ca6bd8,0-->MSResample:0x6176ce88,0
10-19 01:06:07.854: I/Linphone(31487): ms_filter_unlink: MSResample:0x6176ce88,0-->MSAndroidSndWrite:0x5dd689c8,0
10-19 01:06:07.864: I/Linphone(31487): Audio MSTicker thread exiting
10-19 01:06:07.864: I/Linphone(31487): Thread end, detaching jvm from current thread
10-19 01:06:07.864: I/Linphone(31487): ===========================================================
10-19 01:06:07.864: I/Linphone(31487):                   FILTER USAGE STATISTICS                  
10-19 01:06:07.864: I/Linphone(31487): Name                Count     Time/tick (ms)      CPU Usage
10-19 01:06:07.864: I/Linphone(31487): -----------------------------------------------------------
10-19 01:06:07.864: I/Linphone(31487): MSX264Enc           437       84.8755             29.4096   
10-19 01:06:07.864: I/Linphone(31487): MSH264Dec           527       59.3278             24.7813   
10-19 01:06:07.864: I/Linphone(31487): MSOpusEnc           5465      2.86082             12.3707   
10-19 01:06:07.864: I/Linphone(31487): MSResample          10948     1.33168             11.5347   
10-19 01:06:07.864: I/Linphone(31487): MSWebRTCAEC         8917      0.909519            6.41669   
10-19 01:06:07.864: I/Linphone(31487): MSAndroidDisplay    884       7.6693              5.36946   
10-19 01:06:07.864: I/Linphone(31487): MSRtpSend           25381     0.164189            3.29686   
10-19 01:06:07.864: I/Linphone(31487): MSOpusDec           5944      0.538821            2.53412   
10-19 01:06:07.864: I/Linphone(31487): MSAndroidVideoCapture 12615     0.192455            1.9208    
10-19 01:06:07.864: I/Linphone(31487): MSRtpRecv           25379     0.0887222           1.78138   
10-19 01:06:07.864: I/Linphone(31487): MSVolume            11409     0.0216624           0.195535  
10-19 01:06:07.864: I/Linphone(31487): MSAndroidSndWrite   5465      0.0266255           0.115133  
10-19 01:06:07.864: I/Linphone(31487): MSAndroidSndRead    12767     0.00984474          0.0994395 
10-19 01:06:07.864: I/Linphone(31487): MSTee               942       0.0923322           0.0688806 
10-19 01:06:07.864: I/Linphone(31487): MSDtmfGen           12767     0.00661285          0.0667949 
10-19 01:06:07.864: I/Linphone(31487): MSEqualizer         5944      0.00532435          0.0250409 
10-19 01:06:07.864: I/Linphone(31487): MSSizeConv          437       0.0255145           0.00884082
10-19 01:06:07.864: I/Linphone(31487): MSJpegWriter        505       0.00870493          0.00348456
10-19 01:06:07.864: I/Linphone(31487): MSPixConv           437       0.00395632          0.00137087
10-19 01:06:07.864: I/Linphone(31487): MSFilePlayer        0         0                   0         
10-19 01:06:07.864: I/Linphone(31487): MSVoidSink          0         0                   0         
10-19 01:06:07.864: I/Linphone(31487): ===========================================================
10-19 01:06:07.864: I/Linphone(31487): Postprocessing of Android VIDEO capture filter
10-19 01:06:07.864: D/Linphone(31487): stopRecording(address@hidden)
10-19 01:06:08.544: I/Linphone(31487): Filter MSRtpRecv is not scheduled; nothing to do.
10-19 01:06:08.544: I/Linphone(31487): Video session's route
10-19 01:06:08.544: I/Linphone(31487): RTP: 91.121.209.194:47628 --> 91.121.209.194:23644
10-19 01:06:08.544: I/Linphone(31487): RTCP: 91.121.209.194:47629 --> 91.121.209.194:23645
10-19 01:06:08.544: I/Linphone(31487): ===========================================================
10-19 01:06:08.544: I/Linphone(31487):              VIDEO SESSION'S RTP STATISTICS                
10-19 01:06:08.544: I/Linphone(31487): -----------------------------------------------------------
10-19 01:06:08.544: I/Linphone(31487): sent                                          1311 packets
10-19 01:06:08.544: I/Linphone(31487):                                            1220682 bytes  
10-19 01:06:08.544: I/Linphone(31487): received                                      2330 packets
10-19 01:06:08.544: I/Linphone(31487):                                            2299589 bytes  
10-19 01:06:08.544: I/Linphone(31487): incoming delivered to the app              2296538 bytes  
10-19 01:06:08.544: I/Linphone(31487): lost                                             6 packets
10-19 01:06:08.544: I/Linphone(31487): received too late                                0 packets
10-19 01:06:08.544: I/Linphone(31487): bad formatted                                    0 packets
10-19 01:06:08.544: I/Linphone(31487): discarded (queue overflow)                       0 packets
10-19 01:06:08.544: I/Linphone(31487): ===========================================================
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSAndroidVideoCapture:0x5dd29aa8,0-->MSPixConv:0x5dd1a870,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSPixConv:0x5dd1a870,0-->MSSizeConv:0x5e1a99c8,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSSizeConv:0x5e1a99c8,0-->MSTee:0x59f51d70,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSTee:0x59f51d70,0-->MSX264Enc:0x5dd5ccb0,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSX264Enc:0x5dd5ccb0,0-->MSRtpSend:0x5df40f58,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSRtpRecv:0x5dd72fd8,0-->MSH264Dec:0x5e17a290,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSH264Dec:0x5e17a290,0-->MSTee:0x5dd547c8,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSTee:0x5dd547c8,1-->MSJpegWriter:0x5e5a8048,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSTee:0x5dd547c8,0-->MSAndroidDisplay:0x5df55b88,0
10-19 01:06:08.544: I/Linphone(31487): ms_filter_unlink: MSTee:0x59f51d70,1-->MSAndroidDisplay:0x5df55b88,1
10-19 01:06:08.544: I/Linphone(31487): Video MSTicker thread exiting

reply via email to

[Prev in Thread] Current Thread [Next in Thread]