<div dir="ltr">I am trying to decode a raw h264 video stream via a named pipe (created via `mkfifo -m 0660 in_pipe`), and output decoded RGB images to another named pipe. My command looks something like:<div><br></div><div><span id="gmail-docs-internal-guid-f18d68c4-7fff-4203-6b28-bc866e7c26a4"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">gst-launch-1.0 filesrc location=in_pipe ! h264parse ! vpudec ! glupload ! glcolorconvert ! gldownload ! video/x-raw,format=RGB ! filesink location=out_pipe.</span></span><br></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">I need the input pipe to remain open indefinitely, as I will continue to write video frame bytes to the pipe as they become available, and want them decoded as soon as possible. However, it appears that as soon as gstreamer completes the pipeline on the first input written to in_pipe, gstreamer gets an EOS signal, shuts down, and closes the input and output pipes.</span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">I have tried to do this with fdsrc as well, but see similar behavior.</span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">Any ideas what I can do to make something like this work?</span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">br</span></span></div></div>