- Timestamp:
- Apr 11, 2011 8:04:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
r3502 r3522 261 261 {{"QCIF",4}, {"1",1}}, } }, 262 262 }, 263 /* 264 { 265 {PJMEDIA_FORMAT_H263, PJMEDIA_RTP_PT_H263, {"H263",4}}, 266 PJMEDIA_FORMAT_H263, 1000000, 2000000, 267 &h263_packetize, &h263_unpacketize, &h263_preopen, NULL, NULL, 268 {2, { {{"CIF",3}, {"1",1}}, 269 {{"QCIF",4}, {"1",1}}, } }, 270 }, 271 */ 263 272 { 264 273 {PJMEDIA_FORMAT_H263, PJMEDIA_RTP_PT_H263, {"H263",4}}, … … 351 360 ctx->me_range = 16; 352 361 ctx->max_qdiff = 4; 353 ctx->qmin = 10;354 ctx->qmax = 51;362 ctx->qmin = 20; 363 ctx->qmax = 32; 355 364 ctx->qcompress = 0.6f; 365 366 ctx->rtp_payload_size = ff->param.enc_mtu; 356 367 } 357 368 … … 789 800 /* Decoded format */ 790 801 pjmedia_format_init_video(&attr->dec_fmt, desc->info.dec_fmt_id[0], 791 352, 288, 30000, 1001); 802 //352, 288, 30000, 1001); 803 720, 576, 30000, 1001); 792 804 793 805 /* Decoding fmtp */ … … 1249 1261 1250 1262 avcodec_get_frame_defaults(&avframe); 1263 1264 // Let ffmpeg manage the timestamps 1265 /* 1251 1266 src_timebase.num = 1; 1252 1267 src_timebase.den = ff->desc->info.clock_rate; 1253 1268 avframe.pts = av_rescale_q(input->timestamp.u64, src_timebase, 1254 1269 ff->enc_ctx->time_base); 1270 */ 1255 1271 1256 1272 for (i[0] = 0; i[0] < ff->enc_vfi->plane_cnt; ++i[0]) {
Note: See TracChangeset
for help on using the changeset viewer.