[FFmpeg-trac] #4834(ffmpeg:new): Potential enhancement for -drawtext timecode
FFmpeg
trac at avcodec.org
Mon Sep 7 06:14:37 CEST 2015
#4834: Potential enhancement for -drawtext timecode
-------------------------------------+-------------------------------------
Reporter: Chuckles32 | Type:
Status: new | enhancement
Component: ffmpeg | Priority: minor
Keywords: filter | Version:
drawtext timecode | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Not a bug, but a feature request/enhancement.
Using the drawtext filter to overlay a timecode to a video, the only
option is to display hh:mm:ss.ff. For many applications, it's not
necessary to display the hh or ff. It would be nice to use the drawtext
filter with timecode to display just mm:ss, or just ss.
{{{
-vf drawtext="fontsize=15:fontfile=/Library/Fonts/DroidSansMono.ttf:\
timecode='00\:00\:00\:00':rate=25:text='TCR\:':fontsize=72:fontcolor='white':\
boxcolor=0x000000AA:box=1:x=860-text_w/2:y=960"
}}}
Would be nice to be able to control which parts of the timecode are
displayed. The example below would only overlay the hh:mm text of the
timecode.
{{{
-vf drawtext="fontsize=15:fontfile=/Library/Fonts/DroidSansMono.ttf:\
timecode='xx\:00\:00\:xx':rate=25:text='TCR\:':fontsize=72:fontcolor='white':\
boxcolor=0x000000AA:box=1:x=860-text_w/2:y=960"
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4834>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list