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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to