title: Get all bytes of stream from webcam after being compressed by codec with ffmpeg?
body: <p>I need to capture every single byte of the video stream from webcam  -after using commandline-ffmpeg to compress it with codec.</p>
  
  <p>So can you please light me up with somewhat the ffmpeg commandline look like and the strategy to get the output stream into my program written by VB6 or VB.net ? (I need to manipulate with every single byte!) Highly appreciate any suggestion.</p>
  
  <hr>
  
  <p><strong>Update</strong> : I wonder if it's possible to save the output as "avi" file on hard disk and at the same time use my program to read content of the saving file. Can I playback the "part of avi file" that I retrieve while the file is being saved (appended) ? Is there any better file format for writting &amp; reading (recording &amp; playing) at the same time other than "avi" ?</p>
  
  <p>Or any better/faster solution?</p>