Revision 3bcbf04c

View differences:

chunker_streamer/chunker_streamer.c
321 321
	// frames per second 
322 322
	pCodecCtxEnc->time_base= pCodecCtx->time_base;//(AVRational){1,25};
323 323
	pCodecCtxEnc->gop_size = 12; // emit one intra frame every ten frames 
324
	//pCodecCtxEnc->max_b_frames=1;
324
	pCodecCtxEnc->max_b_frames=1;
325 325
	pCodecCtxEnc->pix_fmt = PIX_FMT_YUV420P;
326 326

  
327 327
	pCodecCtxEnc->bit_rate_tolerance = video_bitrate*50;
......
356 356
	//printf("pCodecCtx->time_base=%d/%d\n", pCodecCtx->time_base.num, pCodecCtx->time_base.den);
357 357
	pCodecCtxEnc->time_base= (AVRational){1,25};
358 358
	pCodecCtxEnc->gop_size = 12; // emit one intra frame every twelve frames 
359
	//pCodecCtxEnc->max_b_frames=1;
359
	pCodecCtxEnc->max_b_frames=1;
360 360
	pCodecCtxEnc->pix_fmt = PIX_FMT_YUV420P;
361 361
	pCodecCtxEnc->flags = CODEC_FLAG_PSNR;
362 362
	//~ pCodecCtxEnc->flags |= CODEC_FLAG_QSCALE;

Also available in: Unified diff