title: Generate PCR from PTS
body: <p>I am trying to create PCR from PTS as follows.</p>
  
  <pre><code>        S64 nPcr = nPts * 9 / 100;  
          pTsBuf[4] = 7 + nStuffyingBytes;  
          pTsBuf[5] = 0x10;   /* flags */  
          pTsBuf[6] = ( nPcr &gt;&gt; 25 )&amp;0xff;  
          pTsBuf[7] = ( nPcr &gt;&gt; 17 )&amp;0xff;  
          pTsBuf[8] = ( nPcr &gt;&gt; 9  )&amp;0xff;  
          pTsBuf[9] = ( nPcr &gt;&gt; 1  )&amp;0xff;  
          pTsBuf[10]= ( nPcr &lt;&lt; 7  )&amp;0x80;  
          pTsBuf[11]= 0; 
  </code></pre>
  
  <p>But the problem is VLC is playing only first frame and not playing any other frames.
  and I am getting the warning "early picture skipped".</p>
  
  <p>Could any one help me in converting from PTS to PCR..</p>