how to add h263 codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi  Nanang,
I need to add this video codec because most mobile devices support this but
I'm newbie in this issue. so I have few question for you.
1. there is only to do implement packetization to start works h263?
2. where to start? :)
3. I found some rtp implementation code in
ffmpeg<http://ffmpeg.org/doxygen/trunk/rtpenc__h263__rfc2190_8c-source.html#l00101>project,
may I use it somehow in pjsip?

Best Regards
Andrew



> Hi Andrew,
>
> The plain H263 is currently not supported, the missing part is the
> packetization. So to support this codec, basically you'll need to
> implement rfc2190.
>
> BR,
> nanang
>
>>On Tue, Apr 3, 2012 at 5:47 AM, frogersik <frogersik at gmail.com> wrote:
>> Hi,
>> I follow your tips,but nothing change. Still I have the same codecs:
>> H.263-1998 and H.264. H263 (rfc 2190) still works only between two pjsip
>> clients. I try to modify h263 poketize and unpacketize in ffmpeg.c but I
get
>> only some crash errors when i try to decode it... Any other tips? or
could
>> sombody explain how works #define PJMEDIA_HAS_FFMPEG_CODEC 1 flag? and
how
>> it can help with h263?
>>
>> BR
>> Andrew
>>
>>
>>>> Hi, Frogersik!
>>
>>>> H263 codec will works then PJSIP will be build with next defines
>>
>>>> #define PJMEDIA_HAS_VIDEO 1
>>>> #define PJMEDIA_HAS_FFMPEG 1
>>>> #define PJMEDIA_HAS_FFMPEG_CODEC 1
>>>> #define PJMEDIA_VIDEO_DEV_HAS_SDL 1
>>>> #define PJMEDIA_VIDEO_DEV_HAS_DSHOW 1
>>>> #define PJMEDIA_HAS_FFMPEG_CODEC_H264 1
>>
>>>> in file pjproject-2.0-beta\pjlib\include\pj\config_site.h
>>>> last define needed only for H264. Remove this line if you not need it.
>>>> If you have just source code of PJPROJECT without any changes - you
will
>>>> have a lot of errors. You have to add ffmpeg libraries, SDL library,
>>>> directX library, direct show library. Do not forget to add respectively
>>>> header files to projects include directories...
>>
>>>> You can use this my thread wtih video configuration
>>>> http://comments.gmane.org/gmane.comp.voip.pjsip/15112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120511/28bef607/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux