Bug: incorrect framerate shown for 24fps footage

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Aszazin
Blank Cone
Blank Cone
Posts: 11
Joined: 07 Dec 2007 17:31

Bug: incorrect framerate shown for 24fps footage

Postby Aszazin » 13 Mar 2011 14:12

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Bug: incorrect framerate shown for 24fps footage

Postby Jean-Baptiste Kempf » 13 Mar 2011 16:42

Please share the file.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Peet
New Cone
New Cone
Posts: 1
Joined: 04 Apr 2012 08:45

Re: Bug: incorrect framerate shown for 24fps footage

Postby Peet » 04 Apr 2012 08:56

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 104 guests