title: Xuggler H264 FPS encoding issue
body: <p>I'm trying to encode a series of images into an MP4 video with xuggler. However, trying to wrap my head around the timebase/framerate issues is driving me insane! I can't seem to get a decent video encoded. 
  Using the <code>Converter.java</code> example, I have </p>
  
  <pre><code>IRational num = IRational.make(24, 1);
  outStreamCoder.setFrameRate(num);
  outStreamCoder.setTimeBase(IRational.make(num.getDenominator(),  num.getNumerator()));
  
  ...
  
  long tsOffset = 0;
  if (outStream.getStartTime() != Global.NO_PTS &amp;&amp; outStream.getStartTime() &gt; 0
              &amp;&amp; outStream.getTimeBase() != null)
  {
          IRational defTimeBase = IRational.make(1, (int) Global.DEFAULT_PTS_PER_SECOND);
          tsOffset = defTimeBase.rescale(outStream.getStartTime(), outStream.getTimeBase());
  }
  
  ....
  
  long timeStamp = (3600 * count); // experimenting
  IVideoPicture outFrame = converter.toPicture(worksWithXugglerBufferedImage, timeStamp);
  if (outFrame.getTimeStamp() != Global.NO_PTS)
      outFrame.setTimeStamp(outFrame.getTimeStamp() - tsOffset);
  </code></pre>
  
  <p>For 30 images, the encoded duration is far less than 1s. I'd expect it to be just over a second. Can anyone please help me, this has had me perplexed for some time now!</p>