On Mon, 2010-01-25 at 13:27 +0100, Toby Mangold wrote: 
> Hi Olivier,
> 
> I tried to switched to git versions of gstreamer on the weekend, but haven't 
> succeeded yet.
> No problems with gst-plugins modules, but gst-ffmpeg (H264 decoder) is giving 
> me headache.
> Which compiler (gcc version) are you using at the moment to compile latest 
> git versions of gst-ffmpeg ?
> Are you using the internal or system ffmpeg ?
> I'm getting errors in long const definitions wrapped into some macros related 
> to some swscale stuff.
> (I'm in the office now and cannot remember the exact message and location)

Hi there, I found that problem in gst-ffmpeg trying to compile last
week. I posted a patch in their mailing list that solved that
compilation problem for me but haven't heard anything from them yet. The
posting is 
http://sourceforge.net/mailarchive/forum.php?thread_name=1264272342.3688.118.camel%40campari.homeip.net&forum_name=gstreamer-devel

and the patch is attached if you want to try it (simply move the [x]
inside the macro call).

Cheers,

R.


> And hint is appreciated !
> Toby
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Olivier Crête
> Sent: Wednesday, January 20, 2010 1:34 AM
> To: [email protected]
> Subject: Re: [Telepathy] Gabble/video(->XMPP/Gmail) one way only
> 
> Hi,
> 
> On Wed, 2010-01-20 at 00:36 +0100, Toby Mangold wrote:
> > Hi,
> > 
> > I'm faced with a strange behaviour in video chat. I'm getting one-way 
> > video only when trying to contact a friend on XMPP/Gmail. Audio is 
> > fine, I can see him (Gmail on Windows), but he doesn't get my video.
> 
> This is a known problem. The solution is to use the git version of 
> gst-plugins-good and the attached patch (to empathy.. well to the file which 
> is in /usr/share/empathy).
> 
> Guillaume: Btw, can we put this patch in both empathy master and in the next 
> 2.28 release.
> 
> > The log messages indicate that the handshake results in H264 video, 
> > but than I get the following WARNING:
> > 
> > (empathy:10709): tp-fs-WARNING **: Error calling
> > Media.StreamHandler::CodecsUpdated: tried to change codec 97's name 
> > from JPEG2000 to H264
> 
> This is a bug in Google Video which triggers a bug in Gabble. But it should 
> be harmless in this case (gabble bug is
> https://bugs.freedesktop.org/show_bug.cgi?id=25933)
> 
> 
> --
> Olivier Crête
> [email protected]
> 
> _______________________________________________
> telepathy mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/telepathy
*** swscale.c	2010-01-23 10:36:32.000000000 -0800
--- swscale.c.mine	2010-01-23 10:23:16.000000000 -0800
***************
*** 251,261 ****
  DECLARE_ASM_CONST(8, uint64_t, bm11111000)=0xFFFFFFFFFF000000LL;
  DECLARE_ASM_CONST(8, uint64_t, bm01010101)=0x00FF00FF00FF00FFLL;
  
! const DECLARE_ALIGNED(8, uint64_t, ff_dither4)[2] = {
          0x0103010301030103LL,
          0x0200020002000200LL,};
  
! const DECLARE_ALIGNED(8, uint64_t, ff_dither8)[2] = {
          0x0602060206020602LL,
          0x0004000400040004LL,};
  
--- 251,261 ----
  DECLARE_ASM_CONST(8, uint64_t, bm11111000)=0xFFFFFFFFFF000000LL;
  DECLARE_ASM_CONST(8, uint64_t, bm01010101)=0x00FF00FF00FF00FFLL;
  
! const DECLARE_ALIGNED(8, uint64_t, ff_dither4[2]) = {
          0x0103010301030103LL,
          0x0200020002000200LL,};
  
! const DECLARE_ALIGNED(8, uint64_t, ff_dither8[2]) = {
          0x0602060206020602LL,
          0x0004000400040004LL,};
  
***************
*** 289,295 ****
  DECLARE_ASM_CONST(8, uint64_t, ff_rgb24toY2Coeff) = 0x0C88408700000C88ULL;
  DECLARE_ASM_CONST(8, uint64_t, ff_bgr24toYOffset) = 0x0008400000084000ULL;
  
! DECLARE_ASM_CONST(8, uint64_t, ff_bgr24toUV)[2][4] = {
      {0x38380000DAC83838ULL, 0xECFFDAC80000ECFFULL, 0xF6E40000D0E3F6E4ULL, 0x3838D0E300003838ULL},
      {0xECFF0000DAC8ECFFULL, 0x3838DAC800003838ULL, 0x38380000D0E33838ULL, 0xF6E4D0E30000F6E4ULL},
  };
--- 289,295 ----
  DECLARE_ASM_CONST(8, uint64_t, ff_rgb24toY2Coeff) = 0x0C88408700000C88ULL;
  DECLARE_ASM_CONST(8, uint64_t, ff_bgr24toYOffset) = 0x0008400000084000ULL;
  
! DECLARE_ASM_CONST(8, uint64_t, ff_bgr24toUV[2][4]) = {
      {0x38380000DAC83838ULL, 0xECFFDAC80000ECFFULL, 0xF6E40000D0E3F6E4ULL, 0x3838D0E300003838ULL},
      {0xECFF0000DAC8ECFFULL, 0x3838DAC800003838ULL, 0x38380000D0E33838ULL, 0xF6E4D0E30000F6E4ULL},
  };
***************
*** 298,314 ****
  
  #endif /* ARCH_X86 && CONFIG_GPL */
  
! DECLARE_ALIGNED(8, static const uint8_t, dither_2x2_4)[2][8]={
  {  1,   3,   1,   3,   1,   3,   1,   3, },
  {  2,   0,   2,   0,   2,   0,   2,   0, },
  };
  
! DECLARE_ALIGNED(8, static const uint8_t, dither_2x2_8)[2][8]={
  {  6,   2,   6,   2,   6,   2,   6,   2, },
  {  0,   4,   0,   4,   0,   4,   0,   4, },
  };
  
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_32)[8][8]={
  { 17,   9,  23,  15,  16,   8,  22,  14, },
  {  5,  29,   3,  27,   4,  28,   2,  26, },
  { 21,  13,  19,  11,  20,  12,  18,  10, },
--- 298,314 ----
  
  #endif /* ARCH_X86 && CONFIG_GPL */
  
! DECLARE_ALIGNED(8, static const uint8_t, dither_2x2_4[2][8])={
  {  1,   3,   1,   3,   1,   3,   1,   3, },
  {  2,   0,   2,   0,   2,   0,   2,   0, },
  };
  
! DECLARE_ALIGNED(8, static const uint8_t, dither_2x2_8[2][8])={
  {  6,   2,   6,   2,   6,   2,   6,   2, },
  {  0,   4,   0,   4,   0,   4,   0,   4, },
  };
  
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_32[8][8])={
  { 17,   9,  23,  15,  16,   8,  22,  14, },
  {  5,  29,   3,  27,   4,  28,   2,  26, },
  { 21,  13,  19,  11,  20,  12,  18,  10, },
***************
*** 319,325 ****
  {  1,  25,   7,  31,   0,  24,   6,  30, },
  };
  
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_73)[8][8]={
  {  0,  55,  14,  68,   3,  58,  17,  72, },
  { 37,  18,  50,  32,  40,  22,  54,  35, },
  {  9,  64,   5,  59,  13,  67,   8,  63, },
--- 319,325 ----
  {  1,  25,   7,  31,   0,  24,   6,  30, },
  };
  
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_73[8][8])={
  {  0,  55,  14,  68,   3,  58,  17,  72, },
  { 37,  18,  50,  32,  40,  22,  54,  35, },
  {  9,  64,   5,  59,  13,  67,   8,  63, },
***************
*** 331,337 ****
  };
  
  #if 1
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220)[8][8]={
  {117,  62, 158, 103, 113,  58, 155, 100, },
  { 34, 199,  21, 186,  31, 196,  17, 182, },
  {144,  89, 131,  76, 141,  86, 127,  72, },
--- 331,337 ----
  };
  
  #if 1
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220[8][8])={
  {117,  62, 158, 103, 113,  58, 155, 100, },
  { 34, 199,  21, 186,  31, 196,  17, 182, },
  {144,  89, 131,  76, 141,  86, 127,  72, },
***************
*** 343,349 ****
  };
  #elif 1
  // tries to correct a gamma of 1.5
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220)[8][8]={
  {  0, 143,  18, 200,   2, 156,  25, 215, },
  { 78,  28, 125,  64,  89,  36, 138,  74, },
  { 10, 180,   3, 161,  16, 195,   8, 175, },
--- 343,349 ----
  };
  #elif 1
  // tries to correct a gamma of 1.5
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220[8][8])={
  {  0, 143,  18, 200,   2, 156,  25, 215, },
  { 78,  28, 125,  64,  89,  36, 138,  74, },
  { 10, 180,   3, 161,  16, 195,   8, 175, },
***************
*** 355,361 ****
  };
  #elif 1
  // tries to correct a gamma of 2.0
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220)[8][8]={
  {  0, 124,   8, 193,   0, 140,  12, 213, },
  { 55,  14, 104,  42,  66,  19, 119,  52, },
  {  3, 168,   1, 145,   6, 187,   3, 162, },
--- 355,361 ----
  };
  #elif 1
  // tries to correct a gamma of 2.0
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220[8][8])={
  {  0, 124,   8, 193,   0, 140,  12, 213, },
  { 55,  14, 104,  42,  66,  19, 119,  52, },
  {  3, 168,   1, 145,   6, 187,   3, 162, },
***************
*** 367,373 ****
  };
  #else
  // tries to correct a gamma of 2.5
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220)[8][8]={
  {  0, 107,   3, 187,   0, 125,   6, 212, },
  { 39,   7,  86,  28,  49,  11, 102,  36, },
  {  1, 158,   0, 131,   3, 180,   1, 151, },
--- 367,373 ----
  };
  #else
  // tries to correct a gamma of 2.5
! DECLARE_ALIGNED(8, const uint8_t, dither_8x8_220[8][8])={
  {  0, 107,   3, 187,   0, 125,   6, 212, },
  { 39,   7,  86,  28,  49,  11, 102,  36, },
  {  1, 158,   0, 131,   3, 180,   1, 151, },
_______________________________________________
telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to