title: Can I do some kind of real-time media decoding with JavaScript?
body: <p>I have implemented an MJPEG/AVI1 parser which extracts JPEG-formatted frames from a MJPEG file.</p>
  
  <p>I can draw an image with extracted JPEG file on DOM with &lt;canvas&gt; element and I can also export image pixel data from it with context.getImageData.</p>
  
  <p>Can I make some kind of video stream and append those extracted data in real-time so that user can play it without long delay? I know I can manually make an &lt;video&gt;-like UI with &lt;canvas&gt; element, but I found that <strong>Media Source Extensions</strong> currently allows native &lt;video&gt; tag receive encoded byte stream format. I'm curious if I can do that with raw pixel data.</p>