<div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<b>I'm capturing a stream from a camera H264, output:</b></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<div>Stream "rtsp://<a href="http://192.168.0.93/live1.sdp/" target="_blank" style="color:rgb(17,85,204)">192.168.0.93/live1.sdp/</a>"; audio/G726-32:<span style="white-space:pre-wrap">     </span>Received 1000 bytes.<span style="white-space:pre-wrap">    </span>Presentation time: 1378214178.942223!</div>
<div>Stream "rtsp://<a href="http://192.168.0.93/live1.sdp/" target="_blank" style="color:rgb(17,85,204)">192.168.0.93/live1.sdp/</a>"; video/H264:<span style="white-space:pre-wrap">        </span>Received 9263 bytes.<span style="white-space:pre-wrap">    </span>Presentation time: 1378214179.640553!</div>
<div>Stream "rtsp://<a href="http://192.168.0.93/live1.sdp/" target="_blank" style="color:rgb(17,85,204)">192.168.0.93/live1.sdp/</a>"; video/H264:<span style="white-space:pre-wrap">        </span>Received 9119 bytes.<span style="white-space:pre-wrap">    </span>Presentation time: 1378214179.678553!</div>
<div>Stream "rtsp://<a href="http://192.168.0.93/live1.sdp/" target="_blank" style="color:rgb(17,85,204)">192.168.0.93/live1.sdp/</a>"; video/H264:<span style="white-space:pre-wrap">        </span>Received 7007 bytes.<span style="white-space:pre-wrap">    </span>Presentation time: 1378214179.718553!</div>
<div>Stream "rtsp://<a href="http://192.168.0.93/live1.sdp/" target="_blank" style="color:rgb(17,85,204)">192.168.0.93/live1.sdp/</a>"; video/H264:<span style="white-space:pre-wrap">        </span>Received 9193 bytes.<span style="white-space:pre-wrap">    </span>Presentation time: 1378214179.758553!</div>
<div><br></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<span style="font-size:small"><b>VLC does not play this generated file, what should I do?</b></span><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<div>    FILE *pFile;</div><div><br></div><div>    pFile = fopen("../video.mp4", "ab");</div><div><br></div><div>    fwrite(fReceiveBuffer, 1, frameSize, pFile);</div><div><br></div><div>    fclose(pFile);</div>
</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<div>What should I do with <b>fReceiverBuffe</b>r:<br></div><div><font face="arial, sans-serif">Any suggestions?<br><br></font></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
Thanks</div></div>