KerwinMa / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

incmoing video blocky\poor quality\performance degradation over call time\vide oscaling problem #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello! I have tested imsdroid on HTC Desire (Android 2.2) with 1Ghz processor.
1# And from what i can see now(only used h264 codec) - incoming video always 
looks "blocky", no matter what resolution it has (qcif or cif or VGA). What 
means blocky ? - like its composed with alot of small (about 2x2 or 3v3 pixels 
block's) so quality looks very poor.

When i uncheck option "full screen mode" in options, video is about 1\4 of 
display size (even if it has VGA resolution). And so i think the reason in full 
screen its blocky its because its gets scaled\stretched to full screen from 
this 1\4 size.

So it looks like this:
1) incoming video gets scaled down to about 1\4 of screen size (about 170x170 
or 270x270 pixels resolution)
2) after that it gets scaled up  if fullscreen mode is selected but because of 
prev. downscale quality becomes very poor.

2# Second issue  i found is that performance degrades over time (not always, 
but in 90% of calls) (again tested only with h264). And it degrades to the 
point where phone becomes complety unresponsive - ie no reaction to key 
presses, can't end call because of that, video get 5-10 sec delay etc...

3# This can be easily reproduced also if phone has poor network connectivity 
(low speed or high packet loss (for example WI-FI connection) - soon after link 
quality degrades, phone will start laggings\become unresponsive just the same 
as like with issue #2

and last 
4# - in full screen mode bottom line with called number and other info(like 
onscreen keyboard button) should be deleted (or it will be nice if you can tell 
how to disable it in source code) because in landscape mode it takes about 1\3 
of a screen so video is in like 500x200 pixels window, and looks really 
stretched, any video conferences (with hardware mixers (2x2 mosaic of 4 
connected people) becomes unusable. And also i think this info about called 
number is useless in video call mode (what for do i need number if i can see 
person on other side ?). Best way to fix it is to remove it and be display it 
as overlay on top of video (so video will take true full screen) for example at 
the start of the call for 3-5 seconds. Or it can be moved to functional menu 
(the menu where start sending video button\hangup\etc) - this is best solution 
i think.

Also it will be great if there is will be option to autostart sending video on 
video call.

p.s. sorry for my bad english :<
If you need any info\screenshots..anythink-just ask, i will send it to this 
thread.
And thank you Boss for this great program! Best sip client for Android platform!

Original issue reported on code.google.com by yes....@gmail.com on 13 Jan 2011 at 8:15

GoogleCodeExporter commented 9 years ago
Very strange analyze as we have done many tests against several clients on many 
different networks and we always get good video quality with H.264. For your 
information, I'm using a both Galaxy S and HTC EVO (1.GHz) and I can make video 
calls up to VGA at 15fps without any problem.
When you disable the full screen mode then the image is displayed "as is".
The client supports H.264 Base Profile from level 1.0 to 3.0. To get better 
video quality you must select level 2.0 or 3.0.
Could you please attach both network trace (wireshark) and screenshots?
Are you using the official apk?
Which sip client are you using as remote party?
If your processor is not an ARM Cortex A8 (NEON) or later then just ignore my 
remarks about the CPU.
BTW, my name is "bossiel" ;)

Original comment by boss...@yahoo.fr on 13 Jan 2011 at 8:36

GoogleCodeExporter commented 9 years ago
Client on other side is linphone (linux).
Will attach screenshots tomorrow(also will try to capture video of client 
working to show all of the issues in post #1).
what about call info panel in fullscreen mode ? :(

Original comment by yes....@gmail.com on 13 Jan 2011 at 8:48

GoogleCodeExporter commented 9 years ago
We have also used linphone for our tests but I don't remember such issues. 
Right now I'm using Bria.
For the image scaling if you want to have the good ratio then, open 
"MyProxyVideoConsumer.java", comment out line 131 and uncomment line 132.
About the call info, not all users are using video calls and it's very easy to 
remove: Set the panel's "visibility" propriety to "gone".

Original comment by boss...@yahoo.fr on 13 Jan 2011 at 8:57

GoogleCodeExporter commented 9 years ago
The screenshot in the homepage is a real capture (believe me) made after a call 
with Bria (H.264 Base Profile 3.0). You can see the quality and it's far from 
what you are describing ;)

Original comment by boss...@yahoo.fr on 13 Jan 2011 at 9:00