[FFmpeg-trac] #9164(undetermined:new): Blackdetect filter PTS return limited to six digits
FFmpeg
trac at avcodec.org
Sat Mar 27 18:36:43 EET 2021
#9164: Blackdetect filter PTS return limited to six digits
-------------------------------------+-------------------------------------
Reporter: | Owner:
livingroomg3 |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by livingroomg3):
Thanks Balling!
Yesterday I applied the change I mentioned above to
https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/timestamp.h
The returns from detectblack and "select='gt(scene,0.1)',showinfo" (using
these in my current project) are now frame accurate due to the retained
six digits of precision throughout the program.
The truncation of precision digits to 3, 2, and eventually 1 or zero as
timestamps increment in the current code does not return frame accurate
results.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9164#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list