On 09/12/2010 10:07, Lorenzo Mattiussi wrote:
Il 06/12/2010 10:36, Mark Kenna ha scritto:
Hi Guys

I'm looking for some direction on how to get the best speed whilst encoding, I have been playing with the settings in AVCodecContext but so far I have to read around 4-5 frames before I start to get output from the encoder. Here are my settings:

                encContext->me_range = 5;
                encContext->max_qdiff = 5;
                encContext->qmin = 20;
                encContext->qmax = 30;
                encContext->qcompress = 0.6f;
                encContext->qblur = 0.1f;
                encContext->gop_size = 3;
                encContext->max_b_frames = 1;
                encContext->flags = CODEC_FLAG_LOW_DELAY;

                encCodec = avcodec_find_encoder(CodecID::CODEC_ID_H264);

Speed is more important than quality, if anyone has any suggestions I would appreciate it.

Thanks,
Mark.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
I have the same problem...nobody has any suggestion?!?!
For my application is very important having immediately a compressed frame from webcam (it 's a real time video application)

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
For the time being I have removed everything apart from I-frames, this does speed it up but at a small performance penalty.

Hope it helps,
Mark.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to