<div dir="ltr">Hi gstreamers<div><br><div>I can to list the properties of a any object,  for example x264enc using gst-inspect-1.0 + "element name", but when i use the g_object_set(), for set the especific properties for a object, i got(using x264enc):</div><div><br></div><div><br></div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,0,0)">g_object_set</span><span style="color:rgb(0,0,0)">(</span><span style="color:rgb(128,128,0)">this</span><span style="color:rgb(0,0,0)">-></span><span style="color:rgb(128,0,0)">x264enc</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"bitrate"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">10000</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"key-int-max"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">60</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"bframes"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">0</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"byte-stream"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">false</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"aud"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">true</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"tune"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"zerolatency"</span><span style="color:rgb(0,0,0)">,</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">                 </span><span style="color:rgb(0,128,0)">"threads"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">0</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"speed-preset"</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">2</span><span style="color:rgb(0,0,0)">);</span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,0)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px">###################errors ########################################</pre><pre style="margin-top:0px;margin-bottom:0px"><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)">(gstvideo:20027): GLib-GObject-WARNING **: value "((GstX264EncTune) Still image | Fast decode | 4267832)" of type 'GstX264EncTune' is invalid or out of range for property 'tune' of type 'GstX264EncTune'</span></p>
<p style="margin:0px;font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></p>
<p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)">(gstvideo:20027): GLib-GObject-WARNING **: g_object_set_valist: object class 'GstX264Enc' has no property named '_ZNK8QVariant5toIntEPb'</span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)">####################################################################</span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)">but with gst-inspect-1.0:</span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p><p style="margin:0px"><font color="#f54b4b">  tune                : Preset name for non-psychovisual tuning options
                        flags: readable, writable
                        Flags "GstX264EncTune" Default: 0x00000000, "(none)"
                           (0x00000001): stillimage       - Still image
                           (0x00000002): fastdecode       - Fast decode
                           (0x00000004): zerolatency      - Zero latency<span style="font-size:9pt"><br></span></font></p><p style="margin:0px"><font color="#f54b4b"><br></font></p><p style="margin:0px"><font color="#f54b4b">is equivalent the gst-inspect values and propertis with valist in the c code?</font></p><p style="margin:0px"><font color="#f54b4b"><br></font></p><p style="margin:0px"><font color="#f54b4b"><br></font></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p><p style="margin:0px"><span style="font-family:monospace;font-size:9pt;color:rgb(245,75,75)"><br></span></p></pre></div></div></div>