Page 1 of 1

Bug: incorrect framerate shown for 24fps footage

Posted: 13 Mar 2011 14:12
by Aszazin
VLC's codec information shows 24.000384fps for 24.00000000fps footage (real 24p video, not the 24/1.001fps aka 23.976fps)

It should just show 24fps, which made rise to a lot of confusion among users thinking there's something wrong with their footage... (or thinking a Nikon D90 shoots at a 'strange' framerate)

probably it's a math fault in converting the framelength in ms (41.66666666... for 24p footage) to the framerate in fps... (although not sure, as I can find why it could display 24.000192fps, but not why it should show 24.000384fps)

VLC is the only one that ever comes up with this number, I'm not aware of any existing standard, even less an existing consumer-standard using 24.000384fps, so it's for sure a bug.

Re: Bug: incorrect framerate shown for 24fps footage

Posted: 13 Mar 2011 16:42
by Jean-Baptiste Kempf
Please share the file.

Re: Bug: incorrect framerate shown for 24fps footage

Posted: 04 Apr 2012 08:56
by Peet
I have the same issue as you, but I don't follow how you weren't able to get the math to work. I did the math just as you said and I came up with 24.000384.

1000 / 24 = 41.6 repeating (repeating as far as I can tell)
41.6 repeating truncated to 3 digits after the decimal point = 41.666 (not rounded which would be 41.667)
1000 / 41.666 = 24.000384006144098305572889166227 or 24.000384 truncated or rounded.

Now I'm curious as to how you got 192 as I couldn't reproduce that, and I tried for half an hour.

So two questions, where is VLC making the error with FPS that it gets 24.000384, and how did you get 24.000192? The OCD in me is legitimately curious about both.