Hello all,
I'd like to ask you for help/hint about video codecs in h323plus (v1.22). Since I'm new I'm not sure I understand everything correctly.
What I want to do : I don't have a camera, but I'd like to be able to send some video through the net (between/using 2 MyPhone applications as endpoints).
Thanks to other tutorials I was able to rewrite the OpenAudioChannel, so I was able to transmit wav file. I hoped it will be equally "easy" for the video. Unfortunately, for MyPhone application, execution did not even entered the OpenVideoChannel method. So I looked at the capabilities of my end point and there are no video codecs. So, I'd like to ask you:
Are the missing video codes my only problem ? (e.g. do I understand it correctly, that I only need to rewrite OpenVideoChannel in order to read from a file/stream ?)
Are video codecs in h323plus represented as plugins only or there should be some internal ones which works ?
Could ffmpeg plugin for h323 help me ?
I tried to compile ffmpeg plugin and use it. Compilation went fine (I get the dll and 2 header files), so I tried to use it. Unfortunately due to lack of documentation (other than code itself) I was able to find only classes as OpalDynaCodecDLL from dynacodec.h which seemed to do the job (to allow me to add h.263 capability and add video codec). However there is dllcodec.h file missing in whole h323plus project (I was able to trace it down in openh323 which is obsolete afaik) and also some classes were missing (such as OpalDLLCodecInfo). I tried to download the OPAL project source codes, but I was not able to find dllcodec.h.
any hint will be appreciated.
Best regards,
Vladimir
Hi Vladimir,
all video codecs are plugins, so you need to set the PWLIBPLUGINDIR to point to the right directory so they get loaded.
Take a look at the openam sample application how one would send video from a file.
Regards, Jan
Hello Jan,
thank you very much for the help ! Worked like a charm :-)
Best regards,
Vladimir
On Wed, Jan 5, 2011 at 3:57 PM, Jan Willamowius jan@willamowius.de wrote:
Hi Vladimir,
all video codecs are plugins, so you need to set the PWLIBPLUGINDIR to point to the right directory so they get loaded.
Take a look at the openam sample application how one would send video from a file.
Regards, Jan
-- Jan Willamowius, jan@willamowius.de, http://www.gnugk.org/
Vladimir Fekete wrote:
Hello all,
I'd like to ask you for help/hint about video codecs in h323plus
(v1.22).
Since I'm new I'm not sure I understand everything correctly.
What I want to do : I don't have a camera, but I'd like to be able to
send
some video through the net (between/using 2 MyPhone applications as endpoints).
Thanks to other tutorials I was able to rewrite the OpenAudioChannel, so
I
was able to transmit wav file. I hoped it will be equally "easy" for the video. Unfortunately, for MyPhone application, execution did not even entered the OpenVideoChannel method. So I looked at the capabilities of
my
end point and there are no video codecs. So, I'd like to ask you:
Are the missing video codes my only problem ? (e.g. do I understand it correctly, that I only need to rewrite OpenVideoChannel in order to read from a file/stream ?)
Are video codecs in h323plus represented as plugins only or there should
be
some internal ones which works ?
Could ffmpeg plugin for h323 help me ?
I tried to compile ffmpeg plugin and use it. Compilation went fine (I get the dll and 2 header files), so I tried to use it. Unfortunately due to
lack
of documentation (other than code itself) I was able to find only classes
as
OpalDynaCodecDLL from dynacodec.h which seemed to do the job (to allow me
to
add h.263 capability and add video codec). However there is dllcodec.h
file
missing in whole h323plus project (I was able to trace it down in
openh323
which is obsolete afaik) and also some classes were missing (such as OpalDLLCodecInfo). I tried to download the OPAL project source codes, but
I
was not able to find dllcodec.h.
any hint will be appreciated.
Best regards,
Vladimir
participants (2)
-
Jan Willamowius
-
Vladimir Fekete