[Freeswitch-users] bridging in video conference, bad video quality

Emiliano o. o_emiliano at yahoo.it
Tue Nov 3 13:37:32 MSK 2015


done in a fly
 following your guide and Installing from Debian packages in master branch (not recompile) seems all ok and work in h263..so..i am more unluky..i want to compile it, i don't find the difference between compiling and downloading the packadge..the problem seem relatet to libav..there is some clue for finding the difference?some root rights that conflic in building process?in my previous try (before the fresh install and recompile) i have downloaded libav and recompiled but none seems to influence the mod_av error :(
thanks a lot for all i hope in some information
     Da: Giovanni Maruzzelli <gmaruzz at gmail.com>
 A: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> 
 Inviato: Martedì 3 Novembre 2015 10:53
 Oggetto: Re: [Freeswitch-users] bridging in video conference, bad video quality
   


On Tue, Nov 3, 2015 at 10:28 AM, Emiliano o. <o_emiliano at yahoo.it> wrote:

Hello, 
Debian 8 fresh install from git, dependences and compiled.same problem ;(


Have you tried using ready made packages from master branch?
Find instruction here (look for master branch):
https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie

>From Brian K West announce post:
FreeSWITCHers,
To help speed the testing and release cycle up, Team FreeSWITCH has created a FreeSWITCH Unstable Debian repo, This repo is updated after every commit to master and the debs lag behind about an hour from each commit.
WARNING this repo is untested and should NOT be used in production.
How to use this repo:
1. New Debian Jessie system2. Run These Commands:
echo "deb http://files.freeswitch.org/repo/deb/debian-unstable/ jessie main" > /etc/apt/sources.list.d/99FreeSWITCH.listecho "deb http://files.freeswitch.org/repo/deb/debian/ jessie main" >> /etc/apt/sources.list.d/99FreeSWITCH.listwget -O - https://files.freeswitch.org/repo/deb/debian/key.gpg |apt-key add -apt-get updateapt-get install freeswitch-all
3. To update:
apt-get updateapt-get dist-upgrade
Any commit that goes in while the current build is running will be included in the next build that starts.





 

Analizing the problem seem that in avcodec.c this istruction:avcodec_open2(context->encoder_ctx, context->encoder, NULL)return always -1 (Operation not permitted) for h3 and h263P..indeed i am true unluky.I have tried whit linphone or other softphone same problem :(
I home someone can provide me any clue...many many thanks
LOG
2015-11-03 10:22:42.490815 [WARNING] switch_core_media.c:4320 Invalid SDP for opus.  Don't ask.. but it needs a /2
2015-11-03 10:22:42.490815 [NOTICE] avcodec.c:952 codec: id=5 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
2015-11-03 10:22:42.490815 [NOTICE] avcodec.c:952 codec: id=5 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
2015-11-03 10:22:42.490815 [NOTICE] sofia_media.c:92 Pre-Answer sofia/external/309 at monkeyoice.org!
2015-11-03 10:22:42.490815 [NOTICE] mod_dptools.c:1309 Channel [sofia/external/309 at monkeyoice.org] has been answered
2015-11-03 10:22:42.500823 [WARNING] mod_conference.c:3146 Personal Canvas and Multi-Canvas modes are not compatable. 1 canvas will be used.
2015-11-03 10:22:42.520823 [INFO] switch_ivr_async.c:213 Digit parser mod_conference: Setting realm to 'conf'
2015-11-03 10:22:42.530818 [INFO] avcodec.c:1028 initializing encoder 352x288
2015-11-03 10:22:42.530818 [ERR] avcodec.c:901 Could not open codec
2015-11-03 10:22:42.540820 [NOTICE] switch_core_io.c:1191 Activating write resampler
2015-11-03 10:22:42.560833 [INFO] avcodec.c:1028 initializing encoder 352x288
2015-11-03 10:22:42.560833 [ERR] avcodec.c:901 Could not open codec

     Da: Michael Jerris <mike at jerris.com>
 A: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> 
 Inviato: Lunedì 2 Novembre 2015 16:25
 Oggetto: Re: [Freeswitch-users] bridging in video conference, bad video quality
   
Use Debian 8, and use our packages for the dependencies, there is a page on the wiki for how to install like this

On Monday, November 2, 2015, Emiliano o. <o_emiliano at yahoo.it> wrote:



hank you,

i have downloaded linphone, the latest version support only VP8 (probably i need manually download codec and recompile it for h264)

I have tried a previous version, 3.7.0 that support h263 and H263plus, the softphone work correcly but the freeswitch dont seem to inizialize this codec:


a=rtpmap:34 H263/90000
2015-11-02 10:22:40.128555 [INFO] avcodec.c:1040 initializing encoder 704x576
2015-11-02 10:22:40.128555 [ERR] avcodec.c:909 Could not open codec

i have donwloaded the dependences from
https://freeswitch.org/stash/scm/sd/libav.git

reconfigure recompile and install it, recompile the mod_av, bt always got this error..

In this debian fresh install seems h263 and H263P are not correcly inizialized.

Any clue about this?

is a very strange issue      Da: Giovanni Maruzzelli <gmaruzz at gmail.com>
 A: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> 
 Inviato: Giovedì 29 Ottobre 2015 15:47
 Oggetto: Re: [Freeswitch-users] bridging in video conference, bad video quality
   
Ciao Emiliano,

for testing high resolution video on SIP you can use linphone, is opensource and available on all platforms.

http://www.linphone.org/downloads-for-desktop.html

Let us know how you progress, and your findings.

-giovanni

On Thu, Oct 29, 2015 at 10:54 AM, Emiliano o. <o_emiliano at yahoo.it> wrote:



It works..
thanks you, many manythanks you saved my life, recompiled all and all do what i expect it does.
One problem not relater to freeswtich was the softphone i use for testing, in the decode part of OpenH264 or mod_av (c code) i have printed the resolution of frame sent by softphone.
X-lite (only h263), Jitsi (max frame sended in h264 was 1280x720), Lifesize (H264 352x288) i don't have found a solid sofphone for testing my freeswitch whiout web rtc in HD (1980x1080) do you know anyone?thanks you for all you have done a great job and productEmiliano OlivierItaly, Rome


      Da: Emiliano o. <o_emiliano at yahoo.it>
 A: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> 
 Inviato: Domenica 25 Ottobre 2015 15:40
 Oggetto: Re: [Freeswitch-users] bridging in video conference, bad video quality
   
thank you a  lot for this information, i not have found any clue int this direction, but tomorrow morning i'll reinstall all on debian and try it.Hopefully this help me, in some manner.Emiliano 


     Il Sabato 24 Ottobre 2015 19:26, Anthony Minessale <anthony.minessale at gmail.com> ha scritto:
   

 

You are choosing to work on a platform we have not tested.You should try to build on debian 8 jessie with our repo for depends with detailed instructions we have put out there after spending a year on this project.The libraries used in video are all over the place in various distros so you can either painstakingly try to check all the versions of each one we use or reproduce your problem according to our specifications at https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video Otherwise the possibility that your problem is system related will always loom.

On Sat, Oct 24, 2015 at 10:26 AM, Thomas Auge <lists at virtues.net> wrote:

I saw a video bandwidth cap config in vars.xml somewhere. Maybe that's set a bit too low? Just a random guess.

On 10/23/2015 10:03 AM, emiliano olivier wrote:
> Hello, thanks you in advance for all help provided.
> I have successfully recompiled the master project of freeswitch
> Correcly downloaded compiled and configured libav and all needed
> dependencies.
> The freeswitch is correcly configured, i have passed 2-3 months studying it,
> no warning in fs_cli, all work well.
> my problem concern video quality in video call 720p or 1080p.
> The relevant information about video conference in xml are this:
>
>
>
>
>
>
> the video size of the frame generated in trascoding (mux) are sized correcly
> 1280x720 but the quality of the video is very low and SD.
> The same problem is present using VP8 codec, or H263+/H263 trascoded via
> libav or in H264 trascoded via OpenH264 mod
>
> The problem is present even with only 2 member in conference. The virtual
> machine is ubuntu 14.04.1 quad core machine 4GB di ram.
>
> can someone help in some manner? i am a bit desperate.
> thank you
> Emiliano Oivier
>
>
>
>
> --
> View this message in context: http://freeswitch-users.2379917.n2.nabble.com/bridging-in-video-conference-bad-video-quality-tp7596187.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
☞ http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+

ClueCon Weekly Development Call 
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900 
https://www.youtube.com/watch?v=9XXgW34t40shttps://www.youtube.com/watch?v=NLaDpGQuZDA

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

   
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

   
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

   

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

   
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618



_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151103/6735890e/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list