View Bug Details

IDProjectCategoryView StatusLast Update
0002155DCP-o-maticBugspublic2023-09-01 21:51
Reporterrobn Assigned Tocarl  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Target Version2.16.0 
Summary0002155: Wrong floating point notation for fps number
Description

I noticed that the fps while making a DCP was shown as "3e+01" fps.
It is probably better to not use the mantissa/exponent notation and just use something like "30.4" instead.

(observed with DOM 2.15.180 on Linux Fedora 35)

See attached screenshot!

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredUndecided

Activities

robn

2021-12-26 17:25

reporter  

wrong_fps_notation.png (27,572 bytes)   
wrong_fps_notation.png (27,572 bytes)   

robn

2021-12-26 19:47

reporter   ~0004736

Half reading the source code I suspect it has something to do with
using a "; %1 fps" formatting string instead of "; %.1f fps" ?

My example was a fast repacking of an MXF (no JP2000 encoding) with high fps.
I noticed in other encoding runs that there is no decimal in the fps number:
for example just "7" instead of the more interesting "7.3".

robn

2021-12-27 15:26

reporter   ~0004737

It does also happen with encode jobs (not only with repacking).
When the fps gets higher than 10 it switches to "1e+01".

carl

2021-12-28 22:58

administrator   ~0004738

Thanks for the report! This should be fixed in 88e41b59802a41aaeddd17667da33532280d1e31 (main branch) and ad05b0289e6f11bb0541ec8413748e855d7add77 in v2.16.x.

These commits will appear in 2.15.181 and above.

Bug History

Date Modified Username Field Change
2021-12-26 17:25 robn New Bug
2021-12-26 17:25 robn File Added: wrong_fps_notation.png
2021-12-26 19:47 robn Note Added: 0004736
2021-12-27 15:26 robn Note Added: 0004737
2021-12-27 19:52 carl Status new => acknowledged
2021-12-27 19:52 carl Target Version => 2.16.0
2021-12-27 19:52 carl Estimated work required => Undecided
2021-12-28 22:58 carl Assigned To => carl
2021-12-28 22:58 carl Status acknowledged => resolved
2021-12-28 22:58 carl Resolution open => fixed
2021-12-28 22:58 carl Note Added: 0004738
2023-09-01 21:51 carl Status resolved => closed