summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec
AgeCommit message (Collapse)Author
2012-04-26Misc (re #1446): Updated ffmpeg compatibility issues, e.g: av_set_int() ↵Nanang Izzuddin
return code not match to av_opt_set_int(), update libavcodec version to at least 53.61 for av_opt_set*() usage. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4089 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-25Misc (re #1446): more support newer libavcodec version (major: 54) which ↵Nanang Izzuddin
deprecated AVCodec::encode and avcodec_encode_video(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4083 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Re #1474: merged r4054-r4079Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4082 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Misc (re #1446): support newer libavcodec version (major: 54) which ↵Benny Prijono
deprecated few APIs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4081 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Misc (re #1446): redirect ffmpeg logging with custom log callback.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4056 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Modified ffmpeg_codecs to ffmpeg_vid_codecsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4049 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): Remove XVID format and add default resolution and fps for ↵Liong Sauw Ming
MPEG4 and MJPEG git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4017 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): changed h.263 and h.264 default maximum bandwidth to ↵Benny Prijono
256kb/s from 512kb/s git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4015 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Misc (re #1446): Updated default video frame rate from 30 fps to 15 fps (for ↵Nanang Izzuddin
both H264 & H263-1998). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4007 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Misc (re #1446): Added macro PJMEDIA_MAX_VID_PAYLOAD_SIZE, also updated the ↵Nanang Izzuddin
default encoding MTU of ffmpeg codec & H263/H264 packetizers to this macro setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4006 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4002 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879:3885Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4001 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Misc (re #1446): Avoid unnecessary high latency caused by clock drift or ↵Nanang Izzuddin
call setup lag by overriding initial framerate setting to be 1.5x higher in video stream decoding direction. Note that a previous method in r3972 has just been cancelled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3998 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-09Misc (re #1446): Updated ffmpeg video codecs default params:Nanang Izzuddin
- decoder fps to be 1.5x faster than encoder's, to encounter accumulated frames in jbuf when decoder clock gets short pauses in video setup (e.g: renderer creation, format change) - separate size & fps for H.264 and H.263 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3972 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-10Fix #1443: put destroy method to opencore-amr codec factory op.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3939 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-26Re #1393 (misc): reduced default ffmpeg h264 bandwidth from 512 to 256kbpsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3922 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Close #1279: Implemented custom SDP format match for G.722.1 and AMR-NB/WB.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3911 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Misc (re #1393): fix compile error in pjmedia-codec/audio_codecs.c, caused ↵Nanang Izzuddin
by typo and wrong member reference: '&c->passthough.ilbc' should be '&c->passthrough.setting'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3910 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-08Re #1234: minor update, put libavcodec version check for constant ↵Nanang Izzuddin
AV_PICTURE_TYPE_I/FF_I_TYPE usage. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3904 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Re #1234: Initial version of keyframe request/response via SIP INFO.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3901 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Closed #1420: Add support for event managerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3893 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3833:r3877 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3878 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Re #1390: Updated h264 settings: bitrate from 128k to 512k, size from ↵Nanang Izzuddin
352x288 to 720x480, x264 preset from 'veryslow' to 'veryfast'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3861 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1390: disable H264 encoder source format RGB24 as x264 doesn't support ↵Nanang Izzuddin
4:4:4 for baseline profile. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3853 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Misc (re #1393): Put log warning in ffmpeg codecs when a codec is enabled ↵Nanang Izzuddin
but cannot be found in ffmpeg library. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3838 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-23Misc (re #1393): increase default H.263 bandwidthBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3836 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-21Re #1390: Fixed ffmpeg codecs to update size & fps in AVCodecContext after ↵Nanang Izzuddin
applying SDP fmtp to codec param. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3833 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Compile error with older ffmpeg due to H.264 modification (re #1390)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3824 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Reenable ffmpeg H264 (re #1390):Nanang Izzuddin
- Review H264 codec settings such as profile, level, NAL unit size, bitrate, quality, latency. - Added new format PJMEDIA_FORMAT_GBRP, 24 bits planar RGB, one of the formats outputted by the latest ffmpeg H264 decoder. - Fixed format change detection bug in ffmpeg wrapper, decoder didn't update its internal state with the new format so format change event was generated in every decoding operation. - Added compile time configurations for enabling/disabling ffmpeg codec H263+ & H264. - Updated pjsua app to adjust window size to original video size. With H264, default window size will be too big as it is init'd with default H264 video size, e.g: 720x480 for profile level 30. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3819 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10Set default H.263 bandwidth to 128Kbps instead of 1Mbps (re #1370)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3805 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): disable H263 codec for RTP communication (was enabled to ↵Nanang Izzuddin
test whether it can use H263-1998 packetization). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3801 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Close #1381:Nanang Izzuddin
- Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values. - Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3795 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-29Closed #1361: codec API change. Details:Benny Prijono
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode() - codec has new "packing" setting - updated stream, aviplay, codec-test, and stream-util due to above - minor doxygen documentation fixes here and there git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Disabled H.264 codec [re #1320/Misc]Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3734 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Fixed #1348:Nanang Izzuddin
- updated the year in all copyright texts with 2011 - put copyright text into newly added files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3715 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Fixed #1271: protected all video features with PJMEDIA_HAS_VIDEO macro setting.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3667 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-22Re #1200: updated IPP codecs to support IPP v7.0 on MSVC, only include ↵Nanang Izzuddin
"ippsr.lib" in auto link when IPP major version is 6 or below. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3417 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-18Fix #1199:Nanang Izzuddin
- Modified G722 frame time to 10ms (was 20ms) and frame per packet to 2 (was 1). - Updated the detection mechanism of remote G722 frame-length in the stream to be flexible to any G722 frame length setting (was assumed to be always 20ms). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3416 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-03Misc (re #1151): fixed the compile time switch to use iLBC codec on iPhoneBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3362 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Fix #1112: fixed IPP G.729 codec to update the application regarding VAD ↵Nanang Izzuddin
status, disabled/off, after receiving 'fmtp:18 annexb=no' in the SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3288 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Re #1106: Reverted back the IPP codec APIs ↵Nanang Izzuddin
pjmedia_codec_ipp_set/get_config() as currently to set PCM signal level adjustment can be done using the existing G722.1 API pjmedia_codec_g7221_set_pcm_shift(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3263 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-10Fix #1106:Nanang Izzuddin
- Added PCM signal adjustment in IPP G722.1 implementation. The default setting is configurable via (the existing compile-time config) PJMEDIA_G7221_DEFAULT_PCM_SHIFT. - Added new APIs to get and set IPP codecs settings: pjmedia_codec_ipp_set/get_config(). At run-time, the G722.1 PCM signal adjustment setting can be set using these functions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3261 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05Re #1072: fixed buffer overflow bugs introduced by r3202.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3250 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-11Close #1072:Nanang Izzuddin
- Added API pjmedia_codec_g722_set_pcm_shift() to enable configurable level-adjusment setting. - Also added macro PJMEDIA_G722_DEFAULT_PCM_SHIFT (default value is 2) to accomplish 14-16 bit PCM conversion for G722 input/output. - Added a feature in G722 to stop level-adjusment/PCM-shifting when clipping occured, compile-time configurable via PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3202 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-07Fix #1085:Nanang Izzuddin
- Added new codec G721, as alias for G726-32. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3199 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Misc (re #1068): AMR codec in IPP codecs should apply Change Mode Request ↵Nanang Izzuddin
(from AMR payload) only when it is different from current encoding mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3184 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1050, #1052, #1053, #1054 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98