SysAssertf((__pCodecCtx == null && __pCodec == null), " Already Constructed .");
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_decoder(CODEC_ID_AAC);
SysTryReturnResult(NID_MEDIA, __pCodecCtx == null, E_INVALID_STATE, "already constructed");
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_encoder(CODEC_ID_AAC);
SysAssertf((__pCodecCtx == null && __pCodec == null), " Already Constructed .");\r
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_decoder(CODEC_ID_AMR_NB);
SysTryReturnResult(NID_MEDIA, pOption != null, E_INVALID_ARG, "pOtion is null");
SysTryReturnResult(NID_MEDIA, __type >= G711_ALAW && __type <= G711_MULAW, E_INVALID_ARG, "__type is invalid:%d", __type);
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
AVCodecID codecId = (__type == G711_ALAW) ? CODEC_ID_PCM_ALAW : CODEC_ID_PCM_MULAW;
SysAssertf((__pCodecCtx == null && __pCodec == null), " Already Constructed .");\r
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_decoder(CODEC_ID_H263);
SysTryReturnResult(NID_MEDIA, __pCodecCtx == null, E_INVALID_STATE, "already constructed");
- //avcodec_init();
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_encoder(CODEC_ID_H263P);
__pCodecCtx->qmax = MAX_QP;
__pCodecCtx->mpeg_quant = 0;
__pCodecCtx->profile = 0;
- //__pCodecCtx->rtp_payload_size = 1024;
__pCodecCtx->mb_decision = FF_MB_DECISION_BITS;
if (pOption != null)
{
}
}
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_decoder(CODEC_ID_H264);
SysAssertf((__pCodecCtx == null && __pCodec == null), " Already Constructed .");\r
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_decoder(CODEC_ID_MP3);
SysAssertf((__pCodecCtx == null && __pCodec == null), " Already Constructed .");\r
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_decoder(CODEC_ID_MPEG4);
SysTryReturnResult(NID_MEDIA, __pCodecCtx == null, E_INVALID_STATE, "already constructed");
- //avcodec_init();
+ av_log_set_level (AV_LOG_QUIET);
avcodec_register_all();
__pCodec = avcodec_find_encoder(AV_CODEC_ID_MPEG4);