#8598: Drawtext displays incorrect timecode -------------------------------------+------------------------------------- Reporter: aalexgabi | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: drawtext, | Blocked By: timecode | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by aalexgabi): As a workaround I use this instead: {{{ ffmpeg -filter_complex "testsrc=size=200x100:r=1000/70[testsrc];[testsrc]drawtext=text=%{pts}:fontsize=27:y=4:x=w-tw-30:font=monospace:fontcolor=white:borderw=1[timecode];[timecode]drawtext=text=%{eif\\\:n+1\\\:d}:fontsize=27:y=40:x=w-tw-126:font=monospace:borderw=1:fontcolor=white[timecode2];sine=frequency=1000[audio]" -map '[timecode2]' -map '[audio]' -pix_fmt yuv420p -t 15 -y testsrc- timecode-200x100@1000รท70-15s-sine.mp4 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/8598#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker