I've got good result with this patch ... but it need to be tested on
linux and windows
Laurent
Vadim Lebedev a écrit :
Usually the WORD-BIGENDIAND should be defined on PPC archs....
On INTEL it shoudl not be defined
Vadim
Le 16 juin 09 à 04:28, Laurent Tarrisse a écrit :
Hello Vadim,
We've got a problem with ffmpeg. It doesn't define WORDS_BIGENDIAN which
is used in pixfmt.h, so
PIX_FMT_RGBA => PIX_FMT_BGR32
PIX_FMT_BGRA => PIX_FMT_RGB32
It explains the video color inversion ...
This is a thread about :
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/060342.html
Laurent
Vadim Lebedev a écrit :
Why there is need to downgrade?
Maybe we simply need to add couple of #ifdef LIBAVCODEC_VERSION <
xxxxxxx
Thanks
Vadim
Laurent Tarrisse wrote:
You must to downgrade to ffmpeg 0.49
Laurent
Mathieu Osty a écrit :
No, I didn't modify this file. QuteCom compiled right away on my
system with this version of ffmpeg.
I'm going to downgrade to ffmpeg 0.5, available on macports to see if
it solves my problem.
Mathieu
On Mon, Jun 15, 2009 at 4:38 PM, Laurent
Tarrisse<[email protected]> wrote:
Have you made some changes at
libs/pixertool/src/ffmpeg/pixertool-ffmpeg.c
to build QuteCom with this ffmpeg version ?
(if yes can you send your modification ?)
Laurent
Mathieu Osty a écrit :
The latest ffmpeg-devel package available on macports (svn rev
18984).
libavcodec v0.52.
Mathieu
On Mon, Jun 15, 2009 at 4:24 PM, Laurent
Tarrisse<[email protected]>
wrote:
What is your ffmpeg version ?
Laurent
Mathieu Osty a écrit :
Hi Laurent,
I've tried with a mac book unibody and a white mac book ? Same
result on
both.
Mathieu
On Mon, Jun 15, 2009 at 4:16 PM, Laurent
Tarrisse<[email protected]>
wrote:
Are you using a mac book unibody ?
Laurent
Mathieu Osty a écrit :
Well the low resolution was my mistake.
But the most anooying problem is the blue tint of the video
decoding.
I guess it's related to the "palette" error.
Any thoughts ?
Mathieu
On Mon, Jun 15, 2009 at 3:35 PM, Mathieu
Osty<[email protected]>
wrote:
Hi all,
I'm experiencing some troubles when running h263 video
calls with the
latest QuteCom source.
The video quality is very poor (wrong color settings, low
resolution,
low fps). It seems that the webcam driver cannot use the
iSight
integrated webcam properly.
Here is the log output when running a video call:
(error) 15:16:11 [Common] void
QuicktimeWebcamDriver::setupDecompressor(): can't get
channel sample
description:-9407
(warn) 15:16:11 [Common] virtual WebcamErrorCode
QuicktimeWebcamDriver::setPalette(pixosi): can't set palette
(info) 15:16:11 [Common] virtual WebcamErrorCode
WebcamDriver::setFPS(unsigned int): WebcamDriver is
running, can't
set
FPS
[h263p @ 0x3973200]rc buffer underflow
[h263p @ 0x3973200]vbv buffer overflow
The video quality is much better with the latest official
release
(v2.2
RC3).
Since the QuickTimeWebcamDriver didn't change for a long
time, I
guess
the problem is coming from somewhere else...
Anybody already encountered this kind of problem ?
Mathieu
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev
diff -r 5f4b61bd9d6e libs/pixertool/src/ffmpeg/ffmpeg-pixertool.c
--- a/libs/pixertool/src/ffmpeg/ffmpeg-pixertool.c Tue Jun 16 03:31:26
2009 +0200
+++ b/libs/pixertool/src/ffmpeg/ffmpeg-pixertool.c Tue Jun 16 20:15:28
2009 +0200
@@ -53,9 +53,15 @@
case PIX_FMT_RGB565:
palette = PIX_OSI_RGB565;
break;
+#if LIBAVUTIL_VERSION_INT < (50<<16)
case PIX_FMT_RGBA:
palette = PIX_OSI_RGBA32;
break;
+#else
+ case PIX_FMT_BGRA:
+ palette = PIX_OSI_RGBA32;
+ break;
+#endif
case PIX_FMT_YUV420P:
palette = PIX_OSI_YUV420P;
break;
@@ -98,7 +104,11 @@
case PIX_OSI_ARGB32:
case PIX_OSI_RGB32:
case PIX_OSI_RGBA32:
+#if LIBAVUTIL_VERSION_INT < (50<<16)
palette = PIX_FMT_RGBA;
+#else
+ palette = PIX_FMT_BGRA;
+#endif
break;
case PIX_OSI_YUV420P:
palette = PIX_FMT_YUV420P;
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev