<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hello all,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am trying to output raw video (from file or device) </div><div dir="ltr" data-setdir="false">packets to stdin so that they can be picked up by </div><div dir="ltr" data-setdir="false">another program running on my system.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Any suggestions on how to do this?</div><div dir="ltr" data-setdir="false">For example, can I relate to stdin like a filename and just </div><div dir="ltr" data-setdir="false">use avformat_alloc_output_context2 and avio_open</div><div dir="ltr" data-setdir="false">like I would when recording to a file?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I there some code reference which deals with this scenario?</div><div dir="ltr" data-setdir="false">Thanks!</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Hillel</div></div></body></html>