[FFmpeg-trac] #8598(undetermined:new): Drawtext displays incorrect timecode
FFmpeg
trac at avcodec.org
Fri Apr 3 12:58:54 EEST 2020
#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 at 1000รท70-15s-sine.mp4
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8598#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list