[pjsip 2.0] video ffmpeg (Amir Pakdel)

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

 



Hi Amir,
Thanks for your reply, I pasted your code, and have tested it but i 
didn't help. Sending video is still without red colour and receiving 
picture is pink (sweet ;P). I tested it on two pjsua, and pjsua - xlite 
(3.0/4.0).

Greetings
Andrzej.
//-----------------------------------------------

 > Hi Andrzej,
 >
 > If I remember correctly, my problem was due to malfunction of
 > "enum_dev_cap" function in "pjmedia/src/pjmedia-videodev/dshow_dev.c" and
 > the following corrected that:
 >
 > --- old/pjmedia/src/pjmedia-videodev/dshow_dev.c      2011-07-27
 > 08:27:40.138351800 -0400
 > +++ new/pjmedia/src/pjmedia-videodev//dshow_dev.c       2011-10-04
 > 21:35:18.514872525 -0400
 > @@ -310,6 +310,16 @@
 >                         for (j = 0; j < nformat; j++) {
 >                             if (!dshow_format || j > 0)
 >                                 dshow_format = 
dshow_fmts[j].dshow_format;
 > +
 > +                           if (sup_fmt) {
 > +                               if (UuidCompare(&mediatype->subtype,
 > (UUID*)dshow_fmts[j].dshow_format, &rpcstatus) == 0 &&
 > +                                       rpcstatus == RPC_S_OK &&
 > +                                       
UuidCompare(&mediatype->formattype,
 > (UUID*)&FORMAT_VideoInfo, &rpcstatus2) == 0 &&
 > +                                       rpcstatus2 == RPC_S_OK) {
 > +                                                       sup_fmt[j] =
 > PJ_TRUE;
 > +                                       }
 > +                           }
 > +
 >                             if (UuidCompare(&mediatype->subtype,
 >                                             (UUID*)dshow_format,
 > &rpcstatus) == 0 &&
 >
 >
 >
 > I hope that helps.
 >
 >
 > Regards,
 > Amir
 >
 >
 >
 > On Tue, Oct 4, 2011 at 1:48 AM, Bo Shi <cnshibo at gmail.com> wrote:
 >
 >> Hi Amir,
 >>   I have same problem, only have pink screen on windows?can you 
give some
 >> clue?
 >> Thanks,
 >> bo
 >>
 >>
 >> On Tue, Oct 4, 2011 at 7:36 AM, Amir Pakdel <pakdel at gmail.com> wrote:
 >>
 >>> Hi Andrzej,
 >>>
 >>> Are running it on Windows?
 >>> I am asking because I had a similar problem and resolved it a few days
 >>> ago but could not find the time for creating and posting the patch.
 >>>
 >>> Regards,
 >>> Amir
 >>>
 >>> On Mon, Oct 3, 2011 at 5:21 PM, frogersik at gmail.com <frogersik 
at gmail.com
 >>> > wrote:
 >>>
 >>>> Hi all,
 >>>> I run pjsua with video, and make video call, sending is 
upside-down but
 >>>> this is not a problem, but recive it's not working. I get only 
pink screen
 >>>> and this log:
 >>>> *[h263p @ 003FAB20] warning, clipping 1 dct coefficients to -127..127*
 >>>> With which is the problem?
 >>>>
 >>>> Greetings
 >>>> Andrzej



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux