<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br><blockquote type="cite">So is there a way to have more buffering going on so at each fwrite call writes more than 188 bytes at a time to /dev/my_device ??</blockquote><div><br></div><div>Yes, one solution would be to insert another pipe - between your modified "testH264VideoToTransportStream" code, and your output device.</div><div><br></div><div>I.e., modify your code again, changing "outputFileName" from "/dev/my_device" to "stdout".</div><div><br></div><div>Then run</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>./openRTSP -v <a href="rtsp://192.168.1.214/stream/profile1=u">rtsp://192.168.1.214/stream/profile1=u</a> | ./yourModifiedTestH264VideoToTransportStreamApplication | cat - > /dev/my_device</div><div><br></div><div>(You could also try</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>./openRTSP -v <a href="rtsp://192.168.1.214/stream/profile1=u">rtsp://192.168.1.214/stream/profile1=u</a> | ./yourModifiedTestH264VideoToTransportStreamApplication > /dev/my_device</div><div>but I don't think that will create a pipe.)</div></div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>