title: Can ffmpeg set pts values of the output frames
body: <p>Is it possible to make ffmpeg set the output pts values of frames?  What I want to do is re-encode a source but maintain the original pts values.</p>
  
  <p>I have tried various filters but the result is always new pts values on the output.</p>
  
  <pre><code>ffmpeg -i source_sample.ts -filter_complex "[0:v] setpts=PTS" -c:v libx264 -b:v 1000k -preset fast -crf 22  -f mpegts /tmp/sample.ts
  </code></pre>
  
  <p>The above command only affects the input stream not output.</p>
  
  <p>Any suggestions welcome...</p>
  
  <p>Thanks</p>