On Thu, 2009-07-23 at 09:09 -0500, David G. Mackay wrote:
> So what's with the frame selection?  At 29.97 FPS 1:10.804 should be
> frame 2122 not 2901.
> 
> I'm using transcode 1.1.1 on Fedora 11.

OK, I've had a look at the source for transcode 1.1.3.  The problem is
libtc/framecode.c normalize_fc_time.  The calculation of range->stf on
line 268 is wrong.  You end up adding the fractional seconds as a whole
number to the frame count, as does the calculation for range->etf on
line 281.  I believe that you really need to handle the seconds as a
float.  As it is, a value of 00:01:25.5 will compute to the same as
00:01:25.005.

I'd be happy to take a shot at changing things to handle the seconds as
a float, if you'd like.

Also, it would be nice to document that a number range of 2122-6048
would be interpreted as frame counts with the -t option.

Dave


Reply via email to