Opened 12 years ago

Closed 12 years ago

#1044 closed enhancement (fixed)

libavfilter -drawtext

Reported by: Dan Lita Owned by:
Priority: normal Component: avfilter
Version: unspecified Keywords: timecode
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


On actual drawtext filter there is a small bug.
If you set the timecode='23\:59\:00\:00' or any hour less than 24 hour, you will notice that the timecode does not reset after 23:59:59:24 to 00:00:00:00 but will continue over 24:00:00:00

That is not common; most of the broadcast video equipment I've seen so far, keeps the hour counter onto: 00-23 domain.

Another drawtext related issue is how can one set timecode as system clock with frame count HH:MM:SS:FF (FF frames count)? or more explicitely how to set exact frame on the time of the day system clock which is meant to be burned-in video ?

Change History (1)

comment:1 by Clément Bœsch, 12 years ago

Component: undeterminedavfilter
Keywords: timecode added
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Type: defectenhancement

With recent the update (281e29b2), you can now specify tc24hmax=1 in the drawtext option to wrap the timecode to 24 hours. I'll document it slightly soon/later.

If I understand your second concern well, it is not supported (there is no clock to timecode internals). Please open different issues for different features and bug requests; so please open a another issue if you want that feature. Please be specific about the kind of usage you expect.

Note: See TracTickets for help on using tickets.