[sip-comm-dev] Video size


#1

Hello,
I am integrating SIP Communicator with a JAVA app I am developing.
Everything is working correctly but I noticed that when a video call is
established and video is displayed in a 384 x 244 pixels new frame with
codec H263 I get the video from the other side in its original size (ie.
1,3megapixels) cut from the top-left corner, so I am loosing part of the
image.

I have been looking through the code if there were any variables or
functions I could modify but I did not get anything.

I modified net.java.sip.communicator.impl.media.CallSessionImpl.java (lines
1816 - 1844) but that only affected to the frame containing the video, not
to the video image. I also
modified net.java.sip.communicator.impl.media.MediaControl.java (lines 928 -
946) with no results.

What I want to do is: If I want a QCIF video quality in a conference inside
a frame and one of the video devices is sending video at 1,3megapixels, SIP
Communicator should resize the image it gets from the device to QCIF format.

Is it possible?

Thanks !!!

···

--
Juanvi Martínez
GIICA (Grupo de Informática Industrial, Comunicaciones y Automática)
Instituto Tecnológico de Informática
Plaza de Ferrándiz y Carbonell, nº 2
03802 - Alcoy (Alicante)
Tel.: 96 652 85 05
Tel2.: 622 20 98 42
Localización:
38°41'41.33"N 0°28'31.93"W
Altura: 588,2 m


#2

Solved.

···

--
Juanvi Martínez
GIICA (Grupo de Informática Industrial, Comunicaciones y Automática)
Instituto Tecnológico de Informática
Plaza de Ferrándiz y Carbonell, nº 2
03802 - Alcoy (Alicante)
Tel.: 96 652 85 05
Tel2.: 622 20 98 42
Localización:
38°41'41.33"N 0°28'31.93"W
Altura: 588,2 m

---------- Forwarded message ----------

From: Juanvi Martinez <juanvimartinez@gmail.com>

Date: 2008/11/3
Subject: Video size
To: dev@sip-communicator.dev.java.net

Hello,
I am integrating SIP Communicator with a JAVA app I am developing.
Everything is working correctly but I noticed that when a video call is
established and video is displayed in a 384 x 244 pixels new frame with
codec H263 I get the video from the other side in its original size (ie.
1,3megapixels) cut from the top-left corner, so I am loosing part of the
image.

I have been looking through the code if there were any variables or
functions I could modify but I did not get anything.

I modified net.java.sip.communicator.impl.media.CallSessionImpl.java (lines
1816 - 1844) but that only affected to the frame containing the video, not
to the video image. I also
modified net.java.sip.communicator.impl.media.MediaControl.java (lines 928 -
946) with no results.

What I want to do is: If I want a QCIF video quality in a conference inside
a frame and one of the video devices is sending video at 1,3megapixels, SIP
Communicator should resize the image it gets from the device to QCIF format.

Is it possible?

Thanks !!!

--
Juanvi Martínez
GIICA (Grupo de Informática Industrial, Comunicaciones y Automática)
Instituto Tecnológico de Informática
Plaza de Ferrándiz y Carbonell, nº 2
03802 - Alcoy (Alicante)
Tel.: 96 652 85 05
Tel2.: 622 20 98 42
Localización:
38°41'41.33"N 0°28'31.93"W
Altura: 588,2 m


#3

Hey Juanvi,

Glad you have this one resolved. You might want to share some more
details here so that they would be in the archive for other developers
that have the same problem

Cheers
Emil

···

On Mon, Nov 3, 2008 at 6:46 PM, Juanvi Martinez <juanvimartinez@gmail.com> wrote:

Solved.

--
Juanvi Martínez
GIICA (Grupo de Informática Industrial, Comunicaciones y Automática)
Instituto Tecnológico de Informática
Plaza de Ferrándiz y Carbonell, nº 2
03802 - Alcoy (Alicante)
Tel.: 96 652 85 05
Tel2.: 622 20 98 42
Localización:
38°41'41.33"N 0°28'31.93"W
Altura: 588,2 m

---------- Forwarded message ----------
From: Juanvi Martinez <juanvimartinez@gmail.com>
Date: 2008/11/3
Subject: Video size
To: dev@sip-communicator.dev.java.net

Hello,
I am integrating SIP Communicator with a JAVA app I am developing.
Everything is working correctly but I noticed that when a video call is
established and video is displayed in a 384 x 244 pixels new frame with
codec H263 I get the video from the other side in its original size (ie.
1,3megapixels) cut from the top-left corner, so I am loosing part of the
image.
I have been looking through the code if there were any variables or
functions I could modify but I did not get anything.
I modified net.java.sip.communicator.impl.media.CallSessionImpl.java (lines
1816 - 1844) but that only affected to the frame containing the video, not
to the video image. I also
modified net.java.sip.communicator.impl.media.MediaControl.java (lines 928 -
946) with no results.
What I want to do is: If I want a QCIF video quality in a conference inside
a frame and one of the video devices is sending video at 1,3megapixels, SIP
Communicator should resize the image it gets from the device to QCIF format.
Is it possible?
Thanks !!!

--
Juanvi Martínez
GIICA (Grupo de Informática Industrial, Comunicaciones y Automática)
Instituto Tecnológico de Informática
Plaza de Ferrándiz y Carbonell, nº 2
03802 - Alcoy (Alicante)
Tel.: 96 652 85 05
Tel2.: 622 20 98 42
Localización:
38°41'41.33"N 0°28'31.93"W
Altura: 588,2 m