Re: Better Video Codecs - was Re: [GnomeMeeting-list] ideas..
- From: JGJones <mailgroups bluecheetah biz>
- To: GnomeMeeting mailing list <gnomemeeting-list gnome org>
- Subject: Re: Better Video Codecs - was Re: [GnomeMeeting-list] ideas..
- Date: Sat, 10 Dec 2005 18:04:35 +0000
Just to confirm:
/* Add video capabilities */
if (video_size == 1) {
if (autoStartTransmitVideo && !autoStartReceiveVideo) {
/* CIF Capability in first position */
AddCapability (new H323_H261Capability (0, 1, FALSE, FALSE, 6217));
AddCapability (new H323_H261Capability (1, 0, FALSE, FALSE, 6217));
}
else {
/* CIF Capability in first position */
SetCapability (0, 1, new H323_H261Capability (0, 1, FALSE, FALSE,
6217));
SetCapability (0, 1, new H323_H261Capability (1, 0, FALSE, FALSE,
6217));
}
}
else {
if (autoStartTransmitVideo && !autoStartReceiveVideo) {
AddCapability (new H323_H261Capability (1, 0, FALSE, FALSE, 6217));
AddCapability (new H323_H261Capability (0, 1, FALSE, FALSE, 6217));
}
else {
SetCapability (0, 1, new H323_H261Capability (1, 0, FALSE, FALSE,
6217));
SetCapability (0, 1, new H323_H261Capability (0, 1, FALSE, FALSE,
6217));
}
}
}
Change to:
/* Add video capabilities */
if (video_size == 1) {
if (autoStartTransmitVideo && !autoStartReceiveVideo) {
/* CIF Capability in first position */
AddCapability(0, 1, new H323_RFC2190_H263Capability(0, 0, 2, 0, 0,
maxbps));
AddCapability(0, 1, new H323_RFC2190_H263Capability(0, 1, 0, 0, 0,
maxbps));
}
else {
/* CIF Capability in first position */
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 1, 0, 0, 0,
maxbps));
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 0, 2, 0, 0,
maxbps));
}
}
else {
if (autoStartTransmitVideo && !autoStartReceiveVideo) {
AddCapability(0, 1, new H323_RFC2190_H263Capability(0, 0, 2, 0, 0,
maxbps));
AddCapability(0, 1, new H323_RFC2190_H263Capability(0, 1, 0, 0, 0,
maxbps));
}
else {
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 1, 0, 0, 0,
maxbps));
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 0, 2, 0, 0,
maxbps));
}
}
}
JGJones
Y Ddraig Goch a ddyry Gychwyn
Cymru am byth
BSL Video-Group:
http://mail.bluecheetah.biz/mailman/listinfo/bsl-vgroup_bluecheetah.biz
Deaf-UK Technology Wiki
http://bslvgroup.mrdini.com/wiki/Main_Page
There are 10 kinds of people in this world: 1) nerds and 2) normals.
Damien Sandras wrote:
Le vendredi 09 d�cembre 2005 � 18:52 +0000, JGJones a �crit :
...ok all that hassle...
when going to a dir, I used =../<dir> but seeing that you used full
paths, so I did that and it found them...
After all that hell of a hassle I now have OpenH323 installed with the
patched ffmpeg
Lesson learned - use full paths next time!
Now I need to compile and install GnomeMeeting. What do I do with this one?
Simple and easy :)
Edit src/endpoint.cpp, find AddVideoCapabilities, then follow "Modifying
applications" in http://www.voxgratia.org/docs/h263_codec.html.
It will be something like :
if (videoSize == 1)
{
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 0, 2, 0, 0, maxbps));
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 1, 0, 0, 0, maxbps));
} else {
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 1, 0, 0, 0, maxbps));
SetCapability(0, 1, new H323_RFC2190_H263Capability(0, 0, 2, 0, 0, maxbps));
}
Of course, you will have to tweak it a bit :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]