[Libav-user] av_opt_set, x264
Denis
info at denisgottardello.it
Thu Dec 13 15:53:08 CET 2012
In order to reduce the latency of a live x264 video stream I have tested these rows:
if (pAVStreamVideo->codec->codec_id== CODEC_ID_H264) {
qDebug() << "CODEC_ID_H264";
av_opt_set(pAVFormatContext->priv_data, "preset", "veryfast", 0);
av_opt_set(pAVFormatContext->priv_data, "tune", "zerolatency", 0);
av_opt_set(pAVFormatContext->priv_data, "x264opts", "no-mbtree:sliced-threads:sync-lookahead=0", 0);
}
Without any effect. Is there another way for pass a parameter or must I use another api?
Regards.
--
www.denisgottardello.it
Skype: mrdebug
Videosurveillance and home automation!
http://www.denisgottardello.it/DomusBoss/DomusBossIndice.php
More information about the Libav-user
mailing list