summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec
AgeCommit message (Collapse)Author
2016-05-18Re #1920: Update how keyframe is detected on FFMpeg codec, since Riza Sulistyo
AVCodecContext.coded_frame is deprecated. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5305 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Re #1897: Updated ffmpeg_vid_codecs.c to support older ffmpeg.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5286 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-04Fixed #1904: Support for Opus codecLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5239 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-10Re #1897: Implement support to Ffmpeg 2.8.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5198 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-07Re #1882 (misc): Fixed possibly incorrect stream statsLiong Sauw Ming
When a codec is opened, it can modify its param (such as iLBC can normalize its frame ptime based on remote SDP), so the stream stats has to be updated accordingly. Also in this fix is to increase the log level which shows the info of iLBC mode opened. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5187 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-28Fix #1887: Feed only one PCM input frame at a time to iOS iLBC encoder.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5182 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07Re #1843 (misc): Fixed wrong calculation of timestamp in L16 codec (should ↵Liong Sauw Ming
be multiplied by samples per frame instead of frame size). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5153 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-01Misc (re #1843): Register fmt matching callbak for AMR-WB in opencore-amr ↵Riza Sulistyo
implementation. Thanks to Alexander Traud for the initial patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5122 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-05Misc (re #1843): Best effort fix for compile warning of pointer-integer cast ↵Nanang Izzuddin
in SILK codec wrapper (thanks Alexander Traud for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5085 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-10Misc (re #1782): Suppress compile warnings on MSVC.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5060 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-09Re #1794:Nanang Izzuddin
- Updated G7221, the bitrate can also be set via param.info.avg_bps, this is applicable only when param.setting.dec_fmtp doesn't contain bitrate info. - Fixed failing codec vector test in pjmedia-test due to wrong G7221 bitrate setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5058 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-06Misc (re #1782): Fixed various compile warnings on MacOS & iOS.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5046 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-06Misc (re #1782): Fixed various compile warnings on MSVC.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5045 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27Re #1828: Fixed misc compile warnings (on iOS).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5035 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22Misc (re #1782): Update default OpenH264 video size for Android platforms to ↵Nanang Izzuddin
352x288. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5015 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-03Fixed #1818: Fixed destruction of locked mutex (thanks to Denis Poltorak for ↵Liong Sauw Ming
the Helgrind report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4987 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24Re #1794: Also fixed pjmedia_codec_g7221_set_mode() not updating endpoint ↵Nanang Izzuddin
codec list after enabling/disabling a mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4931 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24Fix #1794: Fixed assertion or garbled audio in call using G.722.1:Nanang Izzuddin
- Updated stream info to use pjmedia_sdp_neg_fmt_match() for matching formats in SDP, so it will call codec specific match function, e.g: for G.722.1 it will match the bitrate too. - Workaround for 'stream uses wrong codec param for opening G.722.1' issue, it is the G.722.1 codec that check the SDP fmtp for fetching bitrate setting (instead of using avg_bps/max_bps fields in codec param). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4930 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-25Re #1758: update default OpenH264 video size for iPhone device to 352x288 ↵Nanang Izzuddin
(on 4S, 720x480 seems to be too heavy for the CPU). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4904 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-13Misc (re #1751): Bad typo on passthrough codec (thanks Peter Koletzki for ↵Nanang Izzuddin
the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4886 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-11Closed #1758: use OpenH264 lib version 1.0.0 release instead of the latest ↵Benny Prijono
git version which is still changing git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4873 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02Re #1758: updated with the latest OpenH264 to fix compilation error with ↵Benny Prijono
bsi->eOutuptFrameType and missing int32_t type on Windows git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4867 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-26Re #1758: updated wrapper with Visual Studio specific settings, also added ↵Nanang Izzuddin
the wrapper to VS project. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4864 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-23Re #1758: Updated with the latest OpenH264 to fix compilation error and ↵Benny Prijono
codec initialization error for packing mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4863 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-25More #1758: updated to the latest OpenH264 codeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4827 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-10Re #1758: Initial implementation of OpenH264 wrapper. Supports:Benny Prijono
- library detection via autoconf - CBP - packetization modes: 0, 1 - key frame request and indication - obey remote's fmtp Also added video codec test in samples (similar to the one in pjmedia test though). And there are some fixes here and there too (e.g. in vid_codec_util.c). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4815 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-17Misc (re #1630): replaced htons() with ntohs() in l16_decode() on little ↵Nanang Izzuddin
endian platforms. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4621 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23Re #1630: fixed various warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4487 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19Misc (re #1630): set default frames per packet for AMR codec to 1 (from 2) ↵Benny Prijono
because it yields lower and more consistent CPU utilization on BB10 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4481 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-14Re #1608: Fixed array size calculation of amr bitrates array.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4348 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-31Re #1608: Try to store the number of frames in the packet in case ↵Liong Sauw Ming
SKP_Silk_SDK_get_TOC() couldn't return the correct number of frames during decode This was reported to happen in SILK ARM version (thanks to Marcus for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4339 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29Re #1608: Fixed the way codec is initialized, enumerated, and deinit since ↵Liong Sauw Ming
both NB and WB use the same factory git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4335 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23Re #1608: Add support for OpenCORE AMR-WBLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4331 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23Re #1586: Fixed samples_per_frame calculationLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4328 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-20Misc (re #1562): Update ffmpeg version check regarding 'AVCodec::encode' ↵Nanang Izzuddin
removal (see also r4277). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4311 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-03Re #1586: Fixed useInBandFEC setting and default value setting in ↵Liong Sauw Ming
pjmedia_codec_silk_set_config() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4293 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-05Re #1586: Add support for SILK multiple frames per packetLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4278 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04Misc (re #1562): Fixed ffmpeg codec wrapper compile error of undefined ↵Nanang Izzuddin
'AVCodec::encode' (removed in the recent ffmpeg version). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4277 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01Re #1586: Implement SILK config setting and fixed decoding fmtpLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4272 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-24Re #1586: Initial version of SILK wrapper.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4264 74dad513-b988-da41-8d7b-12977e46ad98
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