<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If I’m not mistaken it is<div class=""><br class=""><div class="">g_object_set (G_OBJECT(enc), "tune", 0x0004, NULL);<br class=""></div><div class=""><br class=""></div><div class="">gst-inspect x264enc just to be sure of the exact hex value</div><div class=""><br class=""></div><div class="">Sérgio</div><br class=""><blockquote type="cite" class="">On 29 Nov 2014, at 12:40, Ian Davidson <<a href="mailto:id012c3076@blueyonder.co.uk" class="">id012c3076@blueyonder.co.uk</a>> wrote:<br class=""><br class="">How do I set "tune=zerolatency" onto the x264enc element in a C program?<br class=""><br class="">I tried g_object_set (G_OBJECT(enc), "tune", "zerolatency", NULL) which compiled OK but failed at runtime with a "value is out of range for property" message.<br class=""><br class="">I have tried to download the source of x264enc (so that I can see what is expected) - but I have not fathomed out how to do it.<br class=""><br class="">I have looked at the unit test for x264enc - but that does not seem to reference "tune".<br class=""><br class="">Ian<br class=""><br class="">On 28/11/2014 17:26, Ian Davidson wrote:<br class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Thanks Nicolas,<br class=""><br class="">That worked with that pipeline on my development machine.<br class=""><br class="">Ian<br class=""><br class="">On 28/11/2014 17:09, Nicolas Dufresne wrote:<br class=""><blockquote type="cite" class=""><br class="">Le 2014-11-28 11:48, Ian Davidson a écrit :<br class=""><blockquote type="cite" class=""><br class="">What should I do to, either, find out what is going wrong, or fix the pipeline so that it does what I want? <br class=""></blockquote><br class="">Looks like some latency issue. This pipeline can't hold all the latency introduced by x264enc. A simple way forward is to use x264enc tune=zerolatency.<br class=""><br class="">Nicolas<br class="">_______________________________________________ <br class=""></blockquote></blockquote><br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></blockquote><br class=""></div></body></html>