<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>My application use appsrc to push GiGE Vision buffer in a live pipeline.<br></div>I want now to record the stream in h264 ts mux.<br></div>With vaapi element : appsrc -> queue -> tee ->queue ->vaapipostproc -> vaapiencode_h264 -> mpegtsmux -> filesink<br><br></div>The link failed with :<br><br>

<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:09.020442330 22324      0x2407a30 INFO    <span style="font-weight:600">          GST_STATES gstbin.c:2243:gst_bin_element_set_state:<vaapipostproc0></span> current READY pending VOID_PENDING, desired next PAUSED</span></p><span style="color:rgb(0,0,0)">
</span><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:09.020497466 22324      0x2407a30 INFO<span style="background-color:rgb(255,255,255)">    <span style="font-weight:600">            GST_PADS gstpad.c:1254:gst_pad_activate_mode:<vaapipostproc0:sink></span></span> failed to activate in push mode</span></p><span style="color:rgb(0,0,0)">
</span><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:09.020507734 22324      0x2407a30 <span style="font-weight:600">WARN   </span> <span style="font-weight:600;background-color:rgb(170,0,0)">            <span style="background-color:rgb(255,255,255)">GST_PADS gstpad.c:1098:gst_pad_set_active:<vaapipostproc0:sink></span></span> Failed to activate pad</span></p><span style="color:rgb(0,0,0)">
</span><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:09.020514770 22324      0x2407a30 INFO    <span style="font-weight:600">          GST_STATES gstelement.c:2611:gst_element_change_state:<vaapipostproc0></span> have FAILURE change_state return</span></p><span style="color:rgb(0,0,0)">
</span><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:09.020532552 22324      0x2407a30 INFO    <span style="font-weight:600">          GST_STATES gstelement.c:2205:gst_element_abort_state:<vaapipostproc0></span> aborting state from READY to PAUSED</span></p><span style="color:rgb(0,0,0)">
</span><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:09.020540775 22324      0x2407a30 INFO    <span style="font-weight:600">          GST_STATES gstbin.c:2723:gst_bin_change_state_func:<sinkbin1></span> child 'vaapipostproc0' failed to go to state 3(PAUSED)</span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">my question is : is vaapi available in GstBuffer push modeĀ  ?<br></span></p><br></div>