Talk:ShowFrameNumber
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (ShowSMPTE: fps argument) |
Raffriff42 (Talk | contribs) m (reply) |
||
Line 13: | Line 13: | ||
ShowSMPTE ## time is wrong | ShowSMPTE ## time is wrong | ||
[[User:Raffriff42|Raffriff42]] 04:08, 29 December 2015 (CET) | [[User:Raffriff42|Raffriff42]] 04:08, 29 December 2015 (CET) | ||
+ | :Inserted a warning re: non-integral frame rates with ShowSMPTE -- [[User:Raffriff42|Raffriff42]] 06:28, 1 January 2016 (CET) | ||
=====ShowSMPTE: fps argument===== | =====ShowSMPTE: fps argument===== | ||
I don't quite get the '''fps''' argument; is it to force a different framerate for timecode display purposes? For example, to show 24fps film frames on a 30fps video clip?<br> | I don't quite get the '''fps''' argument; is it to force a different framerate for timecode display purposes? For example, to show 24fps film frames on a 30fps video clip?<br> | ||
[[User:Raffriff42|Raffriff42]] 04:17, 29 December 2015 (CET) | [[User:Raffriff42|Raffriff42]] 04:17, 29 December 2015 (CET) | ||
+ | :On testing, it seems the frame rate is overridden, throwing off the real time reading. Would not be useful in the above scenario. | ||
+ | :Inserted an "unclear" tag, like this: roses are blue<sup>[[(unclear)]]</sup> -- [[User:Raffriff42|Raffriff42]] 06:28, 1 January 2016 (CET) | ||
[[Category:Talk]] | [[Category:Talk]] |
Revision as of 06:28, 1 January 2016
ShowSMPTE: integral or drop-frame framerates only
On reading text-overlay.cpp ShowSMPTE::ShowSMPTE
, it looks like the framerate must be an integer (±0.001) or be in drop-frame range (eg, 23.975 - 23.977); framerates like 24.25 will be rounded to int(24.25+0.5)==24.0
and the time calculation will be off. This can't be right!
## (source 24fps) ShowTime(y=50) ## top center ShowSMPTE ## time is correct
AssumeFPS(24000, 1001) ShowTime(y=50) ShowSMPTE ## time is correct
AssumeFPS(24.25) ## any number not an integer ±0.001 or listed in drop-frame table ShowTime(y=50) ShowSMPTE ## time is wrong
Raffriff42 04:08, 29 December 2015 (CET)
- Inserted a warning re: non-integral frame rates with ShowSMPTE -- Raffriff42 06:28, 1 January 2016 (CET)
ShowSMPTE: fps argument
I don't quite get the fps argument; is it to force a different framerate for timecode display purposes? For example, to show 24fps film frames on a 30fps video clip?
Raffriff42 04:17, 29 December 2015 (CET)
- On testing, it seems the frame rate is overridden, throwing off the real time reading. Would not be useful in the above scenario.
- Inserted an "unclear" tag, like this: roses are blue(unclear) -- Raffriff42 06:28, 1 January 2016 (CET)